Click here to Skip to main content
15,921,793 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questiondialog to take over full screen??? Pin
joshfl10-Jan-03 5:03
joshfl10-Jan-03 5:03 
AnswerRe: dialog to take over full screen??? Pin
jmkhael10-Jan-03 5:21
jmkhael10-Jan-03 5:21 
AnswerRe: dialog to take over full screen??? Pin
joshfl10-Jan-03 5:25
joshfl10-Jan-03 5:25 
GeneralRe: dialog to take over full screen??? Pin
jmkhael10-Jan-03 5:53
jmkhael10-Jan-03 5:53 
GeneralRe: dialog to take over full screen??? Pin
joshfl10-Jan-03 7:11
joshfl10-Jan-03 7:11 
GeneralMaking the MDI framework be on top... Pin
ns10-Jan-03 4:46
ns10-Jan-03 4:46 
Generalresizing a CEDit Pin
ns10-Jan-03 4:42
ns10-Jan-03 4:42 
Generalsaving location, size, number info on exit Pin
ns10-Jan-03 4:39
ns10-Jan-03 4:39 
Hi,

I am familiar with registry saving functions. However I dont know what to save here:

The main app spawns any desired number of dialogs. THe user say spawns 6 windows, sizes them, and places them in some locations on the screen. When he exits and then later starts up the program he wants the UI to come up like he left it. WIth 6 dialogs spawned , in exactly the same locations and of the same sizes as he left them. What are the settings to save and how do we get them?

1. How to get locations on screen?

2. hOw to get sizes of the dialogs?

3. Initially you have to press a menu item "Create ViewBox" to spawn the window.one click - one window ...etc.

So when the app starts up again, this time the user isnt clicking the menu 6 times. They just magically show up.


How do we get these three things done? I can svae in the registry and read from the registry but dont know what I am saving. Also after I read the variables I have saved, how do I use them to magically create the 6 (or n) dialogs? These will be a class say CViewBox associated with an IDD_DIALOG1.

Appreciate your help,
ns
GeneralRe: saving location, size, number info on exit Pin
AlexO10-Jan-03 5:36
AlexO10-Jan-03 5:36 
GeneralRe: saving location, size, number info on exit Pin
ns10-Jan-03 5:44
ns10-Jan-03 5:44 
GeneralRe: saving location, size, number info on exit Pin
AlexO10-Jan-03 6:00
AlexO10-Jan-03 6:00 
GeneralMFC extension dll Pin
BORICUA10-Jan-03 4:27
BORICUA10-Jan-03 4:27 
GeneralRe: MFC extension dll Pin
Gary R. Wheeler12-Jan-03 3:39
Gary R. Wheeler12-Jan-03 3:39 
GeneralRe: MFC extension dll Pin
BORICUA12-Jan-03 18:03
BORICUA12-Jan-03 18:03 
GeneralFonts in bitmaps Pin
David Chamberlain10-Jan-03 4:08
David Chamberlain10-Jan-03 4:08 
GeneralRe: Fonts in bitmaps Pin
Davide Pizzolato11-Jan-03 9:11
Davide Pizzolato11-Jan-03 9:11 
GeneralGetting Windows XP Style/Theme programmatically Pin
Liam10-Jan-03 4:02
Liam10-Jan-03 4:02 
GeneralRe: Getting Windows XP Style/Theme programmatically Pin
andykkt13-Feb-10 2:59
andykkt13-Feb-10 2:59 
GeneralSimple stdin stuff Pin
Jon Hulatt10-Jan-03 3:34
Jon Hulatt10-Jan-03 3:34 
GeneralRe: Simple stdin stuff Pin
David Chamberlain10-Jan-03 4:12
David Chamberlain10-Jan-03 4:12 
QuestionHow to append two or more GSM wave files Pin
woonkop10-Jan-03 3:24
woonkop10-Jan-03 3:24 
GeneralRelated to image processing !! Pin
Sridhar Choudary10-Jan-03 3:16
Sridhar Choudary10-Jan-03 3:16 
GeneralRe: Related to image processing !! Pin
Gary Kirkham10-Jan-03 3:42
Gary Kirkham10-Jan-03 3:42 
GeneralRe: Related to image processing !! Pin
Sridhar Choudary10-Jan-03 3:57
Sridhar Choudary10-Jan-03 3:57 
GeneralRe: Related to image processing !! Pin
Gary Kirkham10-Jan-03 4:09
Gary Kirkham10-Jan-03 4:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.