Tech Support > Microsoft Windows > Development Resources > Create non-visible window?
Create non-visible window?
Posted by Planaria on June 25th, 2003



Is it possible:

1. create a widow that is initially non-visible
2. make some modifications to it
3. then make it visible

It's step #1 I need help with.

Mark


Posted by John Carson on June 25th, 2003


"Planaria" <a@b.c> wrote in message news:NykKa.17105$XG4.14615@rwcrnsc53
Yes. In fact it is quite normal. Just make sure that the window does not
have the WS_VISIBLE style. You can then make it visible with
ShowWindow(...).


--
John Carson
1. To reply to email address, remove donald
2. Don't reply to email address (post here instead)


Posted by Luca on June 25th, 2003


In article <NykKa.17105$XG4.14615@rwcrnsc53>, a@b.c says...
Just handle WM_CREATE/WM_INITDIALOG inside the window procedure doing
your stuff. Both of them are posted after window creation, but before
window visualization.

Luca


Similar Posts