Question : Make MFC app invisible on startup (Hide main dialog)

I've already tried setting the dialogs Visible property to False in the dialog editor with no luck.. how else can I make the dialog invisible on startup? i.e. when the program starts, no dialog shows up any where.

The dialog needs to be able to become visible later as well.

Thanks.

Answer : Make MFC app invisible on startup (Hide main dialog)

This question comes up occasionally (and experts always give several wrong answers... :-).  The solution took a lot of time to find, but the reason for the problem and the steps to solve it are described clearly here:

     http:/MFC/Q_20059930.html#189474

I also think that the idea at kiranvj's link http:#11742022 might work, and that manish_cg  has a good idea, but I did not try either.  If the Asker is not listening to accept this (my own) answer, I will recommend a split of points.

-- Dan
Random Solutions  
 
programming4us programming4us