
Another wonderful newbie question
Thanks for helping me, I got it to work without calling the SetParent or SetOwner.
- J Woltman
Quote:
>> SetParent(hNormalWindow, hHiddenWindow);
>> SendMessage(hHiddenWindow, SW_HIDE, 0, 0);
>>But when I tell hHiddenWindow to hide then hNormalWindow hides too.
>Try SetOwner instead of SetParent.
>To hide a window, you'd normally use ShowWindow( SW_HIDE ), but you
>should be able to skip that step by creating the window hidden (by not
>specifying the WS_VISIBLE style).
>Dave
>----
>My address is altered to discourage junk mail.
>Please post responses to the newsgroup thread,
>there's no need for follow-up email copies.
-----------------** -- Posted from CodeGuru -- **-----------------
http://www.codeguru.com/ The website for Visual C++ programmers.