
Help: Starting MFC app with its window hidden
PostMessage a user-defined message and respond to it by hiding the window.
Note: if you want to eliminate the flash, in OnInitDialog, position the window off-screen,
then after you hide it, reposition it to be on-screen so when it becomes visible it is
actually seeable.
joe
Quote:
>Hi!
>I'm trying to have my MFC dialog-based application start with its main
>window hidden, but I can't seem to figure out how to do it. Can anyone give
>me a few pointers?
>Thanks!
Joseph M. Newcomer [MVP]
Web: http://www3.pgh.net/~newcomer
MVP Tips: http://www3.pgh.net/~newcomer/mvp_tips.htm