Click here to Skip to main content
15,890,282 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Set desktop area size Pin
Michael Dunn24-Jan-07 9:21
sitebuilderMichael Dunn24-Jan-07 9:21 
GeneralRe: Set desktop area size Pin
dmitriyf24-Jan-07 9:33
dmitriyf24-Jan-07 9:33 
Questionmktime(), Daylight Saving Time in 2007 and Beyond... Pin
ricksonderfan24-Jan-07 7:00
ricksonderfan24-Jan-07 7:00 
AnswerRe: mktime(), Daylight Saving Time in 2007 and Beyond... Pin
David Crow24-Jan-07 7:06
David Crow24-Jan-07 7:06 
GeneralRe: mktime(), Daylight Saving Time in 2007 and Beyond... Pin
ricksonderfan24-Jan-07 9:35
ricksonderfan24-Jan-07 9:35 
QuestionAssertion failure in wincore.cpp Pin
Like2Byte24-Jan-07 6:03
Like2Byte24-Jan-07 6:03 
QuestionRe: Assertion failure in wincore.cpp Pin
David Crow24-Jan-07 6:13
David Crow24-Jan-07 6:13 
AnswerRe: Assertion failure in wincore.cpp Pin
Like2Byte24-Jan-07 6:43
Like2Byte24-Jan-07 6:43 
OK, here's what happening in the view class:

<br />
void CCEGUIView::OnOptionsSettings() <br />
{<br />
   CRecSetupDlg dlg;<br />
   // do some variable initialization<br />
   dlg.m_bMinutes = m_bMinutes; //m_bMinutes (T/F) obviously local var<br />
<br />
   int iResult = dlg.DoModal();<br />
   if(iResult == IDOK)<br />
   {<br />
       m_bMinutes = dlg.m_bMinutes;<br />
   }<br />
}<br />

EndDialog() is not being called in the CCEGUIView::OnOptionsSettings() function.

EndDialog() *is* being called in the CRecSetupDlg::OnOK() function.

In the CRecSetupDlg class, OnOK() is over-ridden and EndDialog(IDOK) is called as the last statement in the OnOK() function.

OnCancel() is not over-ridden - in fact, it's not displayed in the code - the default is being used. Pressing 'CANCEL' or 'OK' causes the assertion fault.
GeneralRe: Assertion failure in wincore.cpp Pin
David Crow24-Jan-07 7:10
David Crow24-Jan-07 7:10 
GeneralRe: Assertion failure in wincore.cpp Pin
Like2Byte24-Jan-07 7:28
Like2Byte24-Jan-07 7:28 
GeneralRe: Assertion failure in wincore.cpp Pin
David Crow24-Jan-07 8:18
David Crow24-Jan-07 8:18 
JokeRe: Assertion failure in wincore.cpp Pin
toxcct24-Jan-07 8:24
toxcct24-Jan-07 8:24 
GeneralRe: Assertion failure in wincore.cpp Pin
Like2Byte24-Jan-07 10:32
Like2Byte24-Jan-07 10:32 
GeneralRe: Assertion failure in wincore.cpp Pin
David Crow24-Jan-07 10:46
David Crow24-Jan-07 10:46 
GeneralRe: Assertion failure in wincore.cpp Pin
Like2Byte24-Jan-07 17:03
Like2Byte24-Jan-07 17:03 
GeneralRe: Assertion failure in wincore.cpp Pin
David Crow25-Jan-07 2:41
David Crow25-Jan-07 2:41 
QuestionRe: Assertion failure in wincore.cpp Pin
Mark Salsbery24-Jan-07 6:48
Mark Salsbery24-Jan-07 6:48 
AnswerRe: Assertion failure in wincore.cpp Pin
Like2Byte24-Jan-07 6:57
Like2Byte24-Jan-07 6:57 
GeneralRe: Assertion failure in wincore.cpp Pin
Mark Salsbery24-Jan-07 7:04
Mark Salsbery24-Jan-07 7:04 
GeneralRe: Assertion failure in wincore.cpp Pin
Like2Byte24-Jan-07 7:40
Like2Byte24-Jan-07 7:40 
QuestionQue. about Class Constructor &amp; Operator Overloading Pin
Andy Rama24-Jan-07 5:25
Andy Rama24-Jan-07 5:25 
AnswerRe: Que. about Class Constructor &amp; Operator Overloading Pin
Waldermort24-Jan-07 5:35
Waldermort24-Jan-07 5:35 
GeneralRe: Que. about Class Constructor &amp; Operator Overloading Pin
toxcct24-Jan-07 6:49
toxcct24-Jan-07 6:49 
GeneralRe: Que. about Class Constructor &amp; Operator Overloading Pin
Waldermort24-Jan-07 8:24
Waldermort24-Jan-07 8:24 
AnswerRe: Que. about Class Constructor &amp; Operator Overloading Pin
Roger Stoltz24-Jan-07 5:49
Roger Stoltz24-Jan-07 5:49 

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.