|
-
August 10th, 2001, 12:45 PM
#1
Minimize/Maximize programatically
How would I go about minimizing or maximizing my dialog programatically?
Thanx
-
August 10th, 2001, 12:55 PM
#2
Re: Minimize/Maximize programatically
ShowWindow(SW_MINIMIZE);
Best Regards
Agha Shujaa Khan
-
August 10th, 2001, 12:56 PM
#3
Re: Minimize/Maximize programatically
-
August 10th, 2001, 12:56 PM
#4
Re: Minimize/Maximize programatically
use this code:
CMydialog dlg;
dlg.ShowWindow(SW_MINIMIZE);
// to restore:
dlg.ShowWindow(SW_RESTORE);
HTH,
Jan
Please let me know if I helped...
-
August 10th, 2001, 01:09 PM
#5
Re: Minimize/Maximize programatically
Ok, I have another one for ya. I need to be able to programatically check if the window is already maximized, but I cannot find a property/method for it in MSDN. Help?
-
August 10th, 2001, 01:13 PM
#6
Re: Minimize/Maximize programatically
Perfect! Although now I need a property or function that will tell me if the dialog is currently maximized. I cant find one in MSDN. Ideas?
-
August 10th, 2001, 01:14 PM
#7
Re: Minimize/Maximize programatically
Look at :
IsIconic()
IsZoomed()
-
August 10th, 2001, 01:22 PM
#8
Re: Minimize/Maximize programatically
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|