I haven't tried this so I'm not sure it'll work, but try to define the _WIN32_WINNT macro as 0x0400 or later in stdafx right at the begining, before any other lines.
I
Ionut L
@Ionut L
Posts
-
C2065 Compiler error. -
change dialog captionThere is more than way to do that. The easyest one I think is SetWindowText(). Search the MSDN for this function, you'll find the details. johnnyl
-
how to respond to keyboard message in the dialog applicationKEYDOWN works with dialogs. You can try it with an epty dialog (no controls on it, not even OK and Cancel) and see the function gets called. But if you place any controls on the dialog the messege doesn't get sent to the dialog no more, it gets sent to a control on the dialog. That's why your function doesn't get called. PreTranslateMessage works fine, I don't think it's odd. But if you find a better way please share ;). johnnyl