Hiding a rich edit caret
Fri, 11 Jul 2008 20:12:00 -0400
I'm trying to use a read-only rich edit control to display some formatted
text. Is there a way to get the rich edit control to hide the input caret?
Thanks.
David Liebtag
...
|
control painting, text messages and headaches
Thu, 10 Jul 2008 17:36:45 +0100
Hello Guys,
In my application I have a simple static control that can display text with
any color, font, etc. I have derived a class from CWnd, I handle the
WM_PAINT message in my own OnPaint(), and I have put a Text Control onto my
application in the designer (and then I put the DDX_Control macro to link
...
|
Extract icon from resource file
Thu, 10 Jul 2008 17:56:46 +0200
Hi, my question is:
How can I extract an icon from my resource file and create an *.ico file
from the data?
I want to do this programmatically (Win32). Do you have a brief example?
...
|
PeekMessage
Tue, 8 Jul 2008 17:52:50 +0100
Hi, according to the documentation, PeekMessage(...) always retrieves
WM_QUIT messages. In the case of a WM_QUIT message being retrieved, will
PeekMessage(...) return a nonzero value? Also, how do I handle the WM_QUIT
message - perhaps I could call PostQuitMessage(...)?
TIA
Nic.
...
|
Problems with owner/owned windows.
Mon, 7 Jul 2008 10:50:07 -0700
Iâ??m attempting to use the concept of window ownership and Iâ??m having a few
problems.
To my understanding, a top-level window can specify another top-level window
as its owner. The owned window will then always be in front of the owner
window in the z-order, and the owned window will be hidden/shown when ...
|
Wrong TreeView node icon with index > 0xFFFF
Mon, 7 Jul 2008 07:29:48 -0700 (PDT)
Hi all,
What is a maximum size of ImageList and what is a maximum value of
icon index of TreeView node?
There is a TreeView control that uses ImageList. ImageList contains
about 80.000 pictures. When node with icon index > 0xFFFF is added to
TreeView it shows other icon. I think the reason is a WORD number
...
|
Is SetWindowHookEx reentrant (with MessageBox????) ??? or is it a
Mon, 7 Jul 2008 06:57:05 -0700
I am using Windows Hook (type = WH_GETMESSAGE) and it seems that it is
reentrant. I'd like to check, because I don't see this kind of information at
the documentation.
I make a test application that just call SetWindowsHookEx(..);
On my WindowProc(..) I call 3 times the PostMessage(..) function with wPara ...
|
|
|
Newbie WM_SETFONT Q
Fri, 4 Jul 2008 06:44:30 -0700 (PDT)
How do I use the WM_SETFONT message to set the font and size of a edit
box? ...
|
Restore a window WITHOUT activation
Fri, 4 Jul 2008 01:01:21 -0700 (PDT)
Hi all,
I need to restore a window from the minimized position without
restoring it (i.e. the window that currently has the focus should
retain it).
The window shows a virtual keyboard that should help the user enter
text without taking away the focus from the window he's currently
working with. It's in a ...
|
problem with simple dialogbox not showing up
Thu, 3 Jul 2008 20:41:49 -0700 (PDT)
Hello, I am trying to write a simple program on windows xp with visual
studio 6 (I know it's really old). However, when running the
application after creating a simple dialog resource, no dialog shows
up. (here is the source: http://simplesamples.info/Windows/DlgHello.php).
Now the interesting part, I found if ...
|