From: doublemaster007 on
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
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
<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