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

C / C++ / MFC

 
AnswerRe: How to ignored CTRL+ALT+DEL Pin
Rajesh R Subramanian14-Apr-07 7:40
professionalRajesh R Subramanian14-Apr-07 7:40 
GeneralRe: How to ignored CTRL+ALT+DEL Pin
Joan M14-Apr-07 9:55
professionalJoan M14-Apr-07 9:55 
AnswerRe: How to ignored CTRL+ALT+DEL Pin
John R. Shaw14-Apr-07 15:11
John R. Shaw14-Apr-07 15:11 
GeneralRe: How to ignored CTRL+ALT+DEL Pin
Max.Payne15-Apr-07 16:15
Max.Payne15-Apr-07 16:15 
QuestionDestroying a DoModal dialog Pin
Super Hornet14-Apr-07 5:13
Super Hornet14-Apr-07 5:13 
AnswerRe: Destroying a DoModal dialog Pin
Joan M14-Apr-07 7:36
professionalJoan M14-Apr-07 7:36 
AnswerRe: Destroying a DoModal dialog Pin
Rajesh R Subramanian14-Apr-07 7:42
professionalRajesh R Subramanian14-Apr-07 7:42 
AnswerRe: Destroying a DoModal dialog Pin
Mark Salsbery14-Apr-07 7:42
Mark Salsbery14-Apr-07 7:42 
Super Hornet wrote:
my question is on invoking DoModal dialog Dlg3, can we destroy Dlg2??


Doing it FROM Dlg3 kinda goes against the grain for the concept of "modal".

An alternative is, when the button is clicked in a modal dialog that should make that dialog go
away, do something like -
In Dlg2, call EndDialog(some_return_code) in response to the button click.
In Dlg1, check the return code from DoModal for Dlg2
If the return code is "some_return_code" then create a Dlg3 and call its DoModal.

Mark


"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder

GeneralRe: Destroying a DoModal dialog Pin
Super Hornet14-Apr-07 7:55
Super Hornet14-Apr-07 7:55 
Questionabout adapter Pin
prathuraj14-Apr-07 4:19
prathuraj14-Apr-07 4:19 
AnswerRe: about adapter Pin
Hamid_RT14-Apr-07 6:36
Hamid_RT14-Apr-07 6:36 
QuestionHow to know whether still connected or not Pin
Kiran Pinjala14-Apr-07 3:19
Kiran Pinjala14-Apr-07 3:19 
AnswerRe: How to know whether still connected or not Pin
Dmitry Khudorozhkov14-Apr-07 7:53
Dmitry Khudorozhkov14-Apr-07 7:53 
Questionclasses in a mfc extended dll, one use another. Pin
eat_union14-Apr-07 2:42
eat_union14-Apr-07 2:42 
QuestionSet point's size Pin
Chen-XuNuo14-Apr-07 1:48
Chen-XuNuo14-Apr-07 1:48 
AnswerRe: Set point's size Pin
Hamid_RT14-Apr-07 6:14
Hamid_RT14-Apr-07 6:14 
QuestionRe: Set point's size Pin
Mark Salsbery14-Apr-07 7:45
Mark Salsbery14-Apr-07 7:45 
AnswerRe: Set point's size Pin
bob1697214-Apr-07 8:30
bob1697214-Apr-07 8:30 
GeneralRe: Set point's size Pin
John R. Shaw14-Apr-07 15:21
John R. Shaw14-Apr-07 15:21 
GeneralRe: Set point's size Pin
bob1697214-Apr-07 16:19
bob1697214-Apr-07 16:19 
GeneralRe: Set point's size Pin
John R. Shaw14-Apr-07 16:54
John R. Shaw14-Apr-07 16:54 
GeneralRe: Set point's size Pin
Chen-XuNuo14-Apr-07 22:05
Chen-XuNuo14-Apr-07 22:05 
GeneralRe: Set point's size Pin
Mark Salsbery15-Apr-07 14:02
Mark Salsbery15-Apr-07 14:02 
QuestionRegarding Error, Please help. Pin
dhavalshah12314-Apr-07 1:00
dhavalshah12314-Apr-07 1:00 
AnswerRe: Regarding Error, Please help. Pin
Hamid_RT14-Apr-07 6:24
Hamid_RT14-Apr-07 6:24 

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.