Click here to Skip to main content
15,899,126 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Simple question Pin
Ravi Bhavnani14-Nov-03 6:07
professionalRavi Bhavnani14-Nov-03 6:07 
GeneralRe: Simple question Pin
Tim Smith14-Nov-03 6:19
Tim Smith14-Nov-03 6:19 
GeneralRe: Simple question Pin
Ravi Bhavnani14-Nov-03 6:25
professionalRavi Bhavnani14-Nov-03 6:25 
Generaldocument timing Pin
Tony Teveris14-Nov-03 4:41
Tony Teveris14-Nov-03 4:41 
GeneralRe: document timing Pin
Ravi Bhavnani14-Nov-03 4:52
professionalRavi Bhavnani14-Nov-03 4:52 
GeneralRe: document timing Pin
Joe Woodbury14-Nov-03 5:56
professionalJoe Woodbury14-Nov-03 5:56 
GeneralRe: document timing Pin
Roger Allen14-Nov-03 6:12
Roger Allen14-Nov-03 6:12 
GeneralI lose the messagebox and cant get it back! Pin
ns14-Nov-03 4:00
ns14-Nov-03 4:00 
My app starts off with a splash screen,
BOOL CSTrainApp::InitInstance()
{
	CWzdSplash wndSplash;
	wndSplash.Create(IDB_BITMAP4);
	wndSplash.UpdateWindow(); 


The next thing in my MDI app that shows up is the messagebox:

int nFresh = AfxMessageBox(" Revert to saved settings?", MB_YESNO);


Now when I run the app, if I click off the messagebox (without having selected Yes or No), the app gets minimized ( so far only the splashscreen and messagebox were showing). Now if I try to restore the icon, I just get the splash screen back and the messagebox is irretrievable. Even worse i can only terminate the app through the task manager. What can I do to make my messgaebox come back up when I restore the minimized app?
Thanks,
ns
GeneralRe: I lose the messagebox and cant get it back! Pin
Ravi Bhavnani14-Nov-03 4:48
professionalRavi Bhavnani14-Nov-03 4:48 
GeneralRe: I lose the messagebox and cant get it back! Pin
ns14-Nov-03 4:53
ns14-Nov-03 4:53 
GeneralRe: I lose the messagebox and cant get it back! Pin
Ravi Bhavnani14-Nov-03 4:59
professionalRavi Bhavnani14-Nov-03 4:59 
GeneralRe: I lose the messagebox and cant get it back! Pin
ns14-Nov-03 5:44
ns14-Nov-03 5:44 
GeneralRe: I lose the messagebox and cant get it back! Pin
Roger Allen14-Nov-03 6:19
Roger Allen14-Nov-03 6:19 
GeneralRe: I lose the messagebox and cant get it back! Pin
ns14-Nov-03 7:05
ns14-Nov-03 7:05 
GeneralOutlook events Pin
derzellner14-Nov-03 3:55
derzellner14-Nov-03 3:55 
GeneralRe: Outlook events Pin
Adam Gritt14-Nov-03 9:13
Adam Gritt14-Nov-03 9:13 
GeneralRe: Outlook events Pin
derzellner16-Nov-03 7:13
derzellner16-Nov-03 7:13 
GeneralRe: Outlook events Pin
Amit Dey23-Nov-03 14:36
Amit Dey23-Nov-03 14:36 
GeneralRe: Outlook events Pin
Anonymous24-Nov-03 5:34
Anonymous24-Nov-03 5:34 
QuestionHow to show my window above all non topmost windows? Pin
julych14-Nov-03 3:20
julych14-Nov-03 3:20 
AnswerRe: How to show my window above all non topmost windows? Pin
Ravi Bhavnani14-Nov-03 4:54
professionalRavi Bhavnani14-Nov-03 4:54 
Generalvs.net 2003 DoModal Pin
(Steven Hicks)n+114-Nov-03 3:13
(Steven Hicks)n+114-Nov-03 3:13 
GeneralFind Data Pin
Anonymous14-Nov-03 2:43
Anonymous14-Nov-03 2:43 
GeneralRe: Find Data Pin
Ravi Bhavnani14-Nov-03 3:02
professionalRavi Bhavnani14-Nov-03 3:02 
GeneralRe: Find Data Pin
Anonymous14-Nov-03 4:05
Anonymous14-Nov-03 4:05 

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.