From: Robert M. <rob...@us...> - 2007-07-29 14:59:31
|
On 29/07/07, Jan Dubois <ja...@ac...> wrote: > PS: Please let me know if you happen to know a mechanism to create a > message-only window on 98/NT (a window that is not top-level and > will not receive broadcast messages). If this were possible, then we > could get rid of PostThreadMessage() completely. I can't speak for WinNT, as I don't have it available, but on Win98, using HWD_MESSAGE as the parent window to CreateWindowEx() appears to work fine (despite what MSDN says). Using it I end up with a window that is a child of a hidden system window. The window is not top level, not visible, and I can't make it receive a broadcast message. As soon as I can get back in front of a Win2K box I'll look to see if the implementation looks the same there. Regards, Rob. |