PM_QS_PAINT question.
-
Michael Liu wrote: PM_QS_PAINT or some other values to specify that only certain message should be processed. Never heard of it. Are you sure it's not an example of a user defined message ? Michael Liu wrote: I got compile warning:'AllowSetForegroundWindow' undefined I have never heard of this either. MSDN says it's defined for Windows ME and 2000 only ( I presume XP has it as well ). This means that any code that uses it will not run on W95/98/98SE/NT and also means you'll need to download the platform SDK ( about 500 MB, also available on CD ) in order to use it. Christian I am completely intolerant of stupidity. Stupidity is, of course, anything that doesn't conform to my way of thinking. - Jamie Hale - 29/05/2002
PM_QS_PAINT : MSDN give us four values to specify that only certain message should be processed. Do you know how to specify those values? 1. PM_QS_INPUT Windows 98/Me, Windows 2000/XP: Process mouse and keyboard messages. 2. PM_QS_PAINT Windows 98/Me, Windows 2000/XP: Process paint messages. 3. PM_QS_POSTMESSAGE Windows 98/Me, Windows 2000/XP: Process all posted messages, including timers and hotkeys. 4. PM_QS_SENDMESSAGE Windows 98/Me, Windows 2000/XP: Process all sent messages. AllowSetForegroundWindow(): But I can use SetForegroundWindow(). This function needs the same requirements as AllowSetForegroundWindow(). Thx. mIchAel Liu
-
PM_QS_PAINT : MSDN give us four values to specify that only certain message should be processed. Do you know how to specify those values? 1. PM_QS_INPUT Windows 98/Me, Windows 2000/XP: Process mouse and keyboard messages. 2. PM_QS_PAINT Windows 98/Me, Windows 2000/XP: Process paint messages. 3. PM_QS_POSTMESSAGE Windows 98/Me, Windows 2000/XP: Process all posted messages, including timers and hotkeys. 4. PM_QS_SENDMESSAGE Windows 98/Me, Windows 2000/XP: Process all sent messages. AllowSetForegroundWindow(): But I can use SetForegroundWindow(). This function needs the same requirements as AllowSetForegroundWindow(). Thx. mIchAel Liu
Michael Liu wrote: PM_QS_PAINT Ah.. I did not know about it because I've never used it. Apart from GDI+ and transparent windows, I don't think I've ever used anything that requires the SDK. Look at the requirements you just posted and you'll realise I've answered your question. You need the SDK. Michael Liu wrote: But I can use SetForegroundWindow(). This function needs the same requirements as AllowSetForegroundWindow(). Not true. "Minimum operating systems Included in Windows 95, Windows NT 3. " Christian I am completely intolerant of stupidity. Stupidity is, of course, anything that doesn't conform to my way of thinking. - Jamie Hale - 29/05/2002
-
PM_QS_PAINT : MSDN give us four values to specify that only certain message should be processed. Do you know how to specify those values? 1. PM_QS_INPUT Windows 98/Me, Windows 2000/XP: Process mouse and keyboard messages. 2. PM_QS_PAINT Windows 98/Me, Windows 2000/XP: Process paint messages. 3. PM_QS_POSTMESSAGE Windows 98/Me, Windows 2000/XP: Process all posted messages, including timers and hotkeys. 4. PM_QS_SENDMESSAGE Windows 98/Me, Windows 2000/XP: Process all sent messages. AllowSetForegroundWindow(): But I can use SetForegroundWindow(). This function needs the same requirements as AllowSetForegroundWindow(). Thx. mIchAel Liu
Michael Liu wrote: AllowSetForegroundWindow(): But I can use SetForegroundWindow(). This function needs the same requirements as AllowSetForegroundWindow(). It looks like AllowSetForegroundWindow is a newer function. Have you got the latest platform SDK or are you still using the headers that came with VC6? Michael :-) Look, try and use your intelligence, man, even if you are a politician. - The Doctor
-
Michael Liu wrote: AllowSetForegroundWindow(): But I can use SetForegroundWindow(). This function needs the same requirements as AllowSetForegroundWindow(). It looks like AllowSetForegroundWindow is a newer function. Have you got the latest platform SDK or are you still using the headers that came with VC6? Michael :-) Look, try and use your intelligence, man, even if you are a politician. - The Doctor
I'm using the headers that comes with VC6(sp5). I have MSDN(Jan. 2002). Is the SDK in that CD? Thx. mIchAel Liu
-
Michael Liu wrote: PM_QS_PAINT Ah.. I did not know about it because I've never used it. Apart from GDI+ and transparent windows, I don't think I've ever used anything that requires the SDK. Look at the requirements you just posted and you'll realise I've answered your question. You need the SDK. Michael Liu wrote: But I can use SetForegroundWindow(). This function needs the same requirements as AllowSetForegroundWindow(). Not true. "Minimum operating systems Included in Windows 95, Windows NT 3. " Christian I am completely intolerant of stupidity. Stupidity is, of course, anything that doesn't conform to my way of thinking. - Jamie Hale - 29/05/2002
Thx. mIchAel Liu
-
I'm using the headers that comes with VC6(sp5). I have MSDN(Jan. 2002). Is the SDK in that CD? Thx. mIchAel Liu
If you have an MSDN subscription other than the Library, you should have a CD with the platform SDK. If you only have a library subscription you'll need to obtain the platform SDK from the MSDN site. Michael :-) Look, try and use your intelligence, man, even if you are a politician. - The Doctor
-
If you have an MSDN subscription other than the Library, you should have a CD with the platform SDK. If you only have a library subscription you'll need to obtain the platform SDK from the MSDN site. Michael :-) Look, try and use your intelligence, man, even if you are a politician. - The Doctor
Thx. mIchAel Liu
-
If you have an MSDN subscription other than the Library, you should have a CD with the platform SDK. If you only have a library subscription you'll need to obtain the platform SDK from the MSDN site. Michael :-) Look, try and use your intelligence, man, even if you are a politician. - The Doctor
I've installed the latest SDK, how can I updated the vc6 include file? Just copy those files? Thx. mIchAel Liu
-
Michael Liu wrote: PM_QS_PAINT Ah.. I did not know about it because I've never used it. Apart from GDI+ and transparent windows, I don't think I've ever used anything that requires the SDK. Look at the requirements you just posted and you'll realise I've answered your question. You need the SDK. Michael Liu wrote: But I can use SetForegroundWindow(). This function needs the same requirements as AllowSetForegroundWindow(). Not true. "Minimum operating systems Included in Windows 95, Windows NT 3. " Christian I am completely intolerant of stupidity. Stupidity is, of course, anything that doesn't conform to my way of thinking. - Jamie Hale - 29/05/2002
I've installed the latest SDK. How can I use the latest SDK with VC6? Thx. mIchAel Liu
-
I've installed the latest SDK. How can I use the latest SDK with VC6? Thx. mIchAel Liu
Wow - you must have an MSDN subscription. The SDK should set up it's paths so that it is automatically integrated with VC. Christian I am completely intolerant of stupidity. Stupidity is, of course, anything that doesn't conform to my way of thinking. - Jamie Hale - 29/05/2002