|
Prev: issues in float division a/b
Next: C++ utility calling "delete this" fails with exception on 2008
From: doublemaster007 on 23 Apr 2008 01:59 Hi.. My UI less COM exe now needs a message handler to recieve WM messages. So i want to make any one class to derive from Window..how do i proceed? How to create a new hidden window instead sublassing and handling messages????
From: Ulrich Eckhardt on 23 Apr 2008 04:27 doublemaster007(a)gmail.com wrote: > My UI less COM exe now needs a message handler to recieve WM messages. > So i want to make any one class to derive from Window..how do i > proceed? > How to create a new hidden window instead sublassing and handling > messages???? Just create a window and omit the WS_VISIBLE attribute (I think that's what it is called). Uli -- C++ FAQ: http://parashift.com/c++-faq-lite Sator Laser GmbH Geschäftsführer: Michael Wöhrmann, Amtsgericht Hamburg HR B62 932
From: Alex Blekhman on 23 Apr 2008 05:50 <doublemaster007(a)gmail.com> wrote: > My UI less COM exe now needs a message handler to recieve WM > messages. So i want to make any one class to derive from > Window..how do i proceed? > How to create a new hidden window instead sublassing and > handling messages???? You can create message-only window for that. Message-only windows are invisible lightweight objects that exist only for dispatching messages. Specify `HWND_MESSAGE' constant as a parent window when creating new window. HTH Alex
|
Pages: 1 Prev: issues in float division a/b Next: C++ utility calling "delete this" fails with exception on 2008 |