Click here to Skip to main content
15,884,099 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: size of buffer for OpenFileName Dlg? Pin
PJ Arends26-Feb-06 10:30
professionalPJ Arends26-Feb-06 10:30 
AnswerRe: size of buffer for OpenFileName Dlg? Pin
David Crow27-Feb-06 3:19
David Crow27-Feb-06 3:19 
QuestionFile Handle - Serialization Pin
BlitzPackage26-Feb-06 7:54
BlitzPackage26-Feb-06 7:54 
AnswerRe: File Handle - Serialization Pin
Michael Dunn26-Feb-06 8:48
sitebuilderMichael Dunn26-Feb-06 8:48 
GeneralRe: File Handle - Serialization Pin
BlitzPackage26-Feb-06 16:23
BlitzPackage26-Feb-06 16:23 
GeneralRe: File Handle - Serialization Pin
BlitzPackage26-Feb-06 17:09
BlitzPackage26-Feb-06 17:09 
GeneralRe: File Handle - Serialization Pin
Cool Ju26-Feb-06 17:26
Cool Ju26-Feb-06 17:26 
Questionbasic question about c++ Pin
DanYELL26-Feb-06 7:42
DanYELL26-Feb-06 7:42 
I have a popup dialog. The user selects 1 of 3 checkboxes.
I want to transfer which checkbox the user selected back
to the point where I popup the dialog.

I have this:

CExampleDlg dlg;
if (dlg.DoModal())
{
int num = dlg.GetNum();
}

But I get an error ASSERT(::IsWindow(m_hWnd)) on the
dlg.GetNum() command which is:

int GetNum()
{
if (c_check1.GetCheck())
return 1;
else
return 0;
}

The error is on the line if (c_check1.GetCheck()). The
control c_check1 almost doesnt exist anymore.

Any idea what Im doing wrong. Please, any response any
one can give me will be greatly appreciated.

Sincerely,
Danielle (an overworked graduate student)
AnswerRe: basic question about c++ Pin
BlitzPackage26-Feb-06 7:57
BlitzPackage26-Feb-06 7:57 
GeneralRe: basic question about c++ Pin
DanYELL26-Feb-06 8:48
DanYELL26-Feb-06 8:48 
AnswerRe: basic question about c++ Pin
Michael Dunn26-Feb-06 8:54
sitebuilderMichael Dunn26-Feb-06 8:54 
AnswerRe: basic question about c++ Pin
Hamid_RT26-Feb-06 17:44
Hamid_RT26-Feb-06 17:44 
AnswerRe: basic question about c++ Pin
David Crow27-Feb-06 3:22
David Crow27-Feb-06 3:22 
QuestionDAO in .NET application Pin
Ahmed Al-Lakani26-Feb-06 7:26
Ahmed Al-Lakani26-Feb-06 7:26 
AnswerRe: DAO in .NET application Pin
Ryan Binns26-Feb-06 17:12
Ryan Binns26-Feb-06 17:12 
GeneralRe: DAO in .NET application Pin
Ahmed Al-Lakani27-Feb-06 0:02
Ahmed Al-Lakani27-Feb-06 0:02 
GeneralRe: DAO in .NET application Pin
Ryan Binns27-Feb-06 2:27
Ryan Binns27-Feb-06 2:27 
GeneralRe: DAO in .NET application Pin
Ahmed Al-Lakani27-Feb-06 5:35
Ahmed Al-Lakani27-Feb-06 5:35 
Questionhow to fill round rectangle with gradient color? Pin
Tarek Jabri26-Feb-06 7:07
Tarek Jabri26-Feb-06 7:07 
AnswerRe: how to fill round rectangle with gradient color? Pin
Stephen Hewitt26-Feb-06 11:16
Stephen Hewitt26-Feb-06 11:16 
QuestionHorizontal scroll and vertical scroll--difference ? Pin
BeakX26-Feb-06 5:49
BeakX26-Feb-06 5:49 
AnswerRe: Horizontal scroll and vertical scroll--difference ? Pin
EXTEIDE26-Feb-06 6:29
EXTEIDE26-Feb-06 6:29 
GeneralRe: Horizontal scroll and vertical scroll--difference ? Pin
BeakX26-Feb-06 14:43
BeakX26-Feb-06 14:43 
GeneralRe: Horizontal scroll and vertical scroll--difference ? Pin
EXTEIDE26-Feb-06 20:19
EXTEIDE26-Feb-06 20:19 
Questionerror C2801: 'operator =' must be a member Pin
Mahhouraaaaaa26-Feb-06 5:03
Mahhouraaaaaa26-Feb-06 5:03 

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.