Q: Start App hidden 
Author Message
 Q: Start App hidden

Hi,

i generated a dialog based MFC app. I want to hide the window first and open
it on a special event. How do i accomplish this (running it hidden) ?

thx in advance Tobias

--
Please remove [antispam] from reply address.



Thu, 12 Oct 2000 03:00:00 GMT  
 Q: Start App hidden


Fri, 19 Jun 1992 00:00:00 GMT  
 Q: Start App hidden

dialog boxes dont really do SW_HIDE.
you have to MoveWindow them off the screen.
I usually move them to some negative x position.
- - - - - - - - - - - - - - - - - - - - - - -
Joe Shapiro
contract programmer

http://www.shapiro-usa.com

Quote:

>Hi,

>i generated a dialog based mfc app. I want to hide the window first and
open
>it on a special event. How do i accomplish this (running it hidden) ?

>thx in advance Tobias

>--
>Please remove [antispam] from reply address.



Thu, 12 Oct 2000 03:00:00 GMT  
 Q: Start App hidden

In  your apps InitInstance,
add/alter

 // The main window has been initialized, so show and update it.
 pMainFrame->ShowWindow(SW_HIDE);
 pMainFrame->UpdateWindow();

Andy

Quote:

>Hi,

>i generated a dialog based mfc app. I want to hide the window first and
open
>it on a special event. How do i accomplish this (running it hidden) ?

>thx in advance Tobias

>--
>Please remove [antispam] from reply address.



Fri, 13 Oct 2000 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Can I start my SDI app hidden?

2. How to Start Dialog App Hidden?

3. Help: Starting MFC app with its window hidden

4. HOWTO: hide dialog when a dialog-based app starts

5. Starting app with hidden window

6. ? Start a Doc/view App as Hidden ?

7. Can I start a dialog app initially hidden?

8. A: How to start dialog-based app hidden

9. Q:How do I start a Dialog App in a HIDE state

10. Starting Doc/View app with hidden window

11. Starting app with hidden window

12. ? Start a Doc/View App as Hidden?

 

 
Powered by phpBB® Forum Software