Click here to Skip to main content
16,005,080 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Microsoft Systems Journal recent issues Pin
sawerr20-Nov-06 4:58
sawerr20-Nov-06 4:58 
GeneralRe: Microsoft Systems Journal recent issues Pin
David Crow20-Nov-06 5:08
David Crow20-Nov-06 5:08 
QuestionWNetAddConnection2 Pin
Kiran Pinjala19-Nov-06 23:08
Kiran Pinjala19-Nov-06 23:08 
QuestionRe: WNetAddConnection2 Pin
David Crow20-Nov-06 2:52
David Crow20-Nov-06 2:52 
QuestionRe: WNetAddConnection2 Pin
Mila02520-Nov-06 2:57
Mila02520-Nov-06 2:57 
AnswerRe: WNetAddConnection2 Pin
Kiran Pinjala20-Nov-06 18:29
Kiran Pinjala20-Nov-06 18:29 
AnswerRe: WNetAddConnection2 Pin
Mila02520-Nov-06 20:16
Mila02520-Nov-06 20:16 
QuestionHow to handle modeless popups in main window iconic state? Pin
petekurki19-Nov-06 22:57
petekurki19-Nov-06 22:57 
Hi there!

I'm working on an alarm monitoring app, which may show modeless popup dialogs when needed. All this works fine except when the main application window is iconic (== minimized). When the main window is iconic and a popup dialog is displayed, the popup dialog sort of becomes the main window of the application.

This is quite confusing, since when the user clicks on the application icon in the Start menu only the recent popup is displayed, but the main window is not restored. Right-clicking the start menu icon and selecting "Restore" does the trick, but is not too user-firendly.

Does anyone have ideas about how to handle the creation/display if the popups correctly? I've tried sending the dialogs a WM_SHOWWINDOW message with "parent closing" info, right after creation, but this doesn't seem to help.

Of course I could prevent showing these popups when the app is minimized, but that's not really the way to handle it. What I'm after is to have the popups behave like they do when there are popups when minimizing the main window; the popups are hidden when minimized and redisplayed when the main window is opened again.

Any ideas on this are greatly appreciated!

-Pete
AnswerRe: How to handle modeless popups in main window iconic state? Pin
Michael Dunn19-Nov-06 23:05
sitebuilderMichael Dunn19-Nov-06 23:05 
GeneralRe: How to handle modeless popups in main window iconic state? Pin
petekurki19-Nov-06 23:13
petekurki19-Nov-06 23:13 
Questionhow to get the length (duration) of a wave file Pin
singersinger19-Nov-06 22:17
singersinger19-Nov-06 22:17 
QuestionFinding if a pc has n/w connection Pin
Smith#19-Nov-06 22:13
Smith#19-Nov-06 22:13 
AnswerRe: Finding if a pc has n/w connection Pin
Michael Dunn19-Nov-06 22:34
sitebuilderMichael Dunn19-Nov-06 22:34 
QuestionRe: Finding if a pc has n/w connection Pin
Smith#19-Nov-06 23:08
Smith#19-Nov-06 23:08 
QuestionHiding private members of Class with DLLs Pin
uusheikh19-Nov-06 22:10
uusheikh19-Nov-06 22:10 
AnswerRe: Hiding private members of Class with DLLs Pin
Cedric Moonen19-Nov-06 22:50
Cedric Moonen19-Nov-06 22:50 
AnswerRe: Hiding private members of Class with DLLs Pin
Mr.Brainley19-Nov-06 23:28
Mr.Brainley19-Nov-06 23:28 
AnswerRe: Hiding private members of Class with DLLs Pin
Maximilien20-Nov-06 1:49
Maximilien20-Nov-06 1:49 
AnswerRe: Hiding private members of Class with DLLs [modified] Pin
cmk20-Nov-06 3:39
cmk20-Nov-06 3:39 
GeneralRe: Hiding private members of Class with DLLs Pin
uusheikh20-Nov-06 22:55
uusheikh20-Nov-06 22:55 
GeneralConvert Date to COleDateTime Pin
Monty219-Nov-06 21:51
Monty219-Nov-06 21:51 
GeneralAnd the answer is .. Pin
Monty219-Nov-06 21:54
Monty219-Nov-06 21:54 
QuestionAdding treeviewCtrl to a combobox Pin
Nagaraju_Focus19-Nov-06 21:33
Nagaraju_Focus19-Nov-06 21:33 
AnswerRe: Adding treeviewCtrl to a combobox Pin
Steve Echols19-Nov-06 21:52
Steve Echols19-Nov-06 21:52 
QuestionScoket. Pin
Abbas Murad19-Nov-06 21:11
Abbas Murad19-Nov-06 21:11 

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.