Click here to Skip to main content
16,007,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: handle to a child window Pin
Nishad S21-Aug-07 20:10
Nishad S21-Aug-07 20:10 
GeneralRe: handle to a child window Pin
radhika2821-Aug-07 20:32
radhika2821-Aug-07 20:32 
GeneralRe: handle to a child window Pin
Nishad S21-Aug-07 20:45
Nishad S21-Aug-07 20:45 
GeneralRe: handle to a child window Pin
radhika2821-Aug-07 21:14
radhika2821-Aug-07 21:14 
GeneralRe: handle to a child window Pin
Nishad S21-Aug-07 22:15
Nishad S21-Aug-07 22:15 
GeneralRe: handle to a child window Pin
radhika2821-Aug-07 22:18
radhika2821-Aug-07 22:18 
GeneralRe: handle to a child window Pin
Nishad S22-Aug-07 0:32
Nishad S22-Aug-07 0:32 
GeneralRe: handle to a child window Pin
Roger Broomfield21-Aug-07 22:33
Roger Broomfield21-Aug-07 22:33 
In my opinion your problem isn't in the main window. When you display a Modal Dialog from the main window, it will automatically apply the WS_DISABLED style to the main window (check it out using the Spy++ tool), so what you propose really won't make any difference. Your problem is in the handler for the tray menu, where you are allowing the selecting of the menu option to open another modal dialog even though the main window is disabled. Your tray menu handler should process WM_INITMENU and check whether or not the main window is disabled and enable menu options accordingly.
Questionregistry cleaner for window xp Pin
niki dutta21-Aug-07 19:32
niki dutta21-Aug-07 19:32 
AnswerRe: registry cleaner for window xp Pin
ThatsAlok21-Aug-07 22:56
ThatsAlok21-Aug-07 22:56 
GeneralRe: registry cleaner for window xp Pin
niki dutta21-Aug-07 23:15
niki dutta21-Aug-07 23:15 
QuestionGetting Default Action For FIle Type Pin
A Noteworthy Programmer21-Aug-07 19:06
A Noteworthy Programmer21-Aug-07 19:06 
AnswerRe: Getting Default Action For FIle Type Pin
Maxwell Chen21-Aug-07 19:15
Maxwell Chen21-Aug-07 19:15 
AnswerRe: Getting Default Action For FIle Type Pin
Waldermort21-Aug-07 19:20
Waldermort21-Aug-07 19:20 
GeneralRe: Getting Default Action For FIle Type Pin
A Noteworthy Programmer21-Aug-07 20:01
A Noteworthy Programmer21-Aug-07 20:01 
AnswerRe: Getting Default Action For FIle Type Pin
KarstenK21-Aug-07 21:15
mveKarstenK21-Aug-07 21:15 
AnswerRe: Getting Default Action For FIle Type Pin
Nelek22-Aug-07 1:57
protectorNelek22-Aug-07 1:57 
QuestionRe: Getting Default Action For FIle Type Pin
David Crow22-Aug-07 2:45
David Crow22-Aug-07 2:45 
AnswerRe: Getting Default Action For FIle Type Pin
A Noteworthy Programmer22-Aug-07 3:30
A Noteworthy Programmer22-Aug-07 3:30 
GeneralRe: Getting Default Action For FIle Type Pin
David Crow22-Aug-07 3:39
David Crow22-Aug-07 3:39 
QuestionRegSetValueEx Pin
George_George21-Aug-07 17:13
George_George21-Aug-07 17:13 
AnswerRe: RegSetValueEx Pin
ThatsAlok21-Aug-07 23:55
ThatsAlok21-Aug-07 23:55 
GeneralRe: RegSetValueEx Pin
George_George22-Aug-07 0:11
George_George22-Aug-07 0:11 
QuestionRe: RegSetValueEx Pin
David Crow22-Aug-07 2:47
David Crow22-Aug-07 2:47 
AnswerRe: RegSetValueEx Pin
George_George22-Aug-07 3:13
George_George22-Aug-07 3:13 

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.