|
-
August 12th, 2004, 12:17 PM
#1
Full screen dialog window
how to display a dialog based window on full screen?
-
August 12th, 2004, 12:29 PM
#2
Do you just need maximize it or do you want it to NOT show the caption bar etc. ?
-
August 12th, 2004, 12:33 PM
#3
full screen
title bar, task bar etc also should be removed
-
August 12th, 2004, 03:07 PM
#4
You would have to calculate rectangle of the full dialog assuming that client rectangle is equal to a screen size and move dialog slightly off the screen. Upper left corner will have negative coordinates.
Also handle WM_GETMINMAXINFO setting ptMaxSize ptMaxTrackSize members of the MINMAXINFO structure to size larger than screen size.
You do not have to remove anything.
There are only 10 types of people in the world:
Those who understand binary and those who do not.
-
August 12th, 2004, 05:04 PM
#5
Is that OK that you make the Title Bar property as FALSE during the design time and in OnInitDialog () you can make,
ShowWindow(SW_MAXIMIZE);
Or do you want remove the title bart etc in runtime??
"Dont Forget to rate if it helped"
-
August 13th, 2004, 06:24 AM
#6
ShowWindow(SW_MAXIMIZE) will show window maximized and that does not fill the whole screen. Also this would require removing title bar, status and toolbar.
There are only 10 types of people in the world:
Those who understand binary and those who do not.
-
August 13th, 2004, 06:29 AM
#7
-
August 13th, 2004, 10:16 AM
#8
You have to do as JohnCz says. Additionally, you may want to add a button to come out of full screen mode to the previous size.
Also, it may be tricky. But what should happen when user hits ESC in full screen mode ? Do you need to handle that specially to come out of full screen mode ?
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
|