Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Hidden window

1 view
Skip to first unread message

doublem...@gmail.com

unread,
Apr 23, 2008, 1:59:48 AM4/23/08
to
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????

Ulrich Eckhardt

unread,
Apr 23, 2008, 4:27:56 AM4/23/08
to

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

Alex Blekhman

unread,
Apr 23, 2008, 5:50:59 AM4/23/08
to

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


0 new messages