Click here to Skip to main content
15,913,669 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Close modeless dialog during OnInitDialog() Pin
Doug Allen13-Mar-06 13:15
Doug Allen13-Mar-06 13:15 
GeneralRe: Close modeless dialog during OnInitDialog() Pin
Stephen Hewitt13-Mar-06 16:04
Stephen Hewitt13-Mar-06 16:04 
GeneralRe: Close modeless dialog during OnInitDialog() Pin
Doug Allen14-Mar-06 2:34
Doug Allen14-Mar-06 2:34 
GeneralRe: Close modeless dialog during OnInitDialog() Pin
Stephen Hewitt14-Mar-06 17:42
Stephen Hewitt14-Mar-06 17:42 
GeneralRe: Close modeless dialog during OnInitDialog() Pin
Doug Allen15-Mar-06 2:53
Doug Allen15-Mar-06 2:53 
GeneralRe: Close modeless dialog during OnInitDialog() Pin
Ryan Binns13-Mar-06 17:13
Ryan Binns13-Mar-06 17:13 
GeneralRe: Close modeless dialog during OnInitDialog() Pin
Doug Allen14-Mar-06 2:44
Doug Allen14-Mar-06 2:44 
GeneralRe: Close modeless dialog during OnInitDialog() Pin
Ryan Binns14-Mar-06 2:53
Ryan Binns14-Mar-06 2:53 
No, I didn't think it was clear where the assertions were. You can step into and out of DestroyWindow() without getting any assertions? Are you calling any other methods on the window after the call to DestroyWindow()?

In any case, calling EndDialog() on a modeless dialog is a perfectly valid way of closing it.

Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

GeneralRe: Close modeless dialog during OnInitDialog() Pin
Doug Allen14-Mar-06 3:07
Doug Allen14-Mar-06 3:07 
QuestionReferring to class method in report Pin
J-Dogg30613-Mar-06 9:41
J-Dogg30613-Mar-06 9:41 
AnswerRe: Referring to class method in report Pin
David Crow13-Mar-06 9:48
David Crow13-Mar-06 9:48 
GeneralRe: Referring to class method in report Pin
J-Dogg30613-Mar-06 10:29
J-Dogg30613-Mar-06 10:29 
GeneralRe: Referring to class method in report Pin
David Crow13-Mar-06 10:56
David Crow13-Mar-06 10:56 
Questionreconize a shorcut or hypertext on file Pin
mk_le13-Mar-06 9:14
mk_le13-Mar-06 9:14 
QuestionRe: reconize a shorcut or hypertext on file Pin
David Crow13-Mar-06 9:37
David Crow13-Mar-06 9:37 
AnswerRe: reconize a shorcut or hypertext on file Pin
mk_le13-Mar-06 9:59
mk_le13-Mar-06 9:59 
QuestionRe: reconize a shorcut or hypertext on file Pin
David Crow13-Mar-06 10:06
David Crow13-Mar-06 10:06 
QuestionModifying DMI Information - I REALLY NEED THAT!!!! Pin
honae13-Mar-06 8:25
honae13-Mar-06 8:25 
AnswerRe: Modifying DMI Information - I REALLY NEED THAT!!!! Pin
David Crow13-Mar-06 8:27
David Crow13-Mar-06 8:27 
GeneralRe: Modifying DMI Information - I REALLY NEED THAT!!!! Pin
Colin Angus Mackay13-Mar-06 8:52
Colin Angus Mackay13-Mar-06 8:52 
Questionc++ problem (Urgent) Pin
head dezee13-Mar-06 8:01
head dezee13-Mar-06 8:01 
AnswerRe: c++ problem Pin
Maximilien13-Mar-06 8:18
Maximilien13-Mar-06 8:18 
QuestionRe: c++ problem (Urgent) Pin
David Crow13-Mar-06 8:25
David Crow13-Mar-06 8:25 
AnswerRe: c++ problem (Urgent) Pin
head dezee13-Mar-06 8:29
head dezee13-Mar-06 8:29 
QuestionRe: c++ problem (Urgent) Pin
David Crow13-Mar-06 8:48
David Crow13-Mar-06 8:48 

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.