Thanks in advance!
Call CreateWindow as normal, but don't specify WS_VISIBLE, and don't call
ShowWindow.
If you're creating windows on more than one thread in a process, be very
careful about inter-thread communication: it's very easy to deadlock in a
situation with more than one UI thread.
General guidelines:
1) Only ever create or use windows from one thread
2) Otherwise, only ever communicate between threads using PostMessage: no
SendMessage or other API calls that take an HWND
--
Tim Robinson (MVP, Windows SDK)
http://mobius.sourceforge.net/