Click here to Skip to main content
15,914,109 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Getting current logged in user Pin
Blake Miller20-Nov-07 6:34
Blake Miller20-Nov-07 6:34 
Questionshowing dialog box and progress bar... Pin
neha.agarwal2729-Oct-07 20:03
neha.agarwal2729-Oct-07 20:03 
AnswerRe: showing dialog box and progress bar... Pin
Hamid_RT29-Oct-07 20:08
Hamid_RT29-Oct-07 20:08 
GeneralRe: showing dialog box and progress bar... Pin
neha.agarwal2729-Oct-07 20:22
neha.agarwal2729-Oct-07 20:22 
GeneralRe: showing dialog box and progress bar... Pin
Hamid_RT29-Oct-07 20:36
Hamid_RT29-Oct-07 20:36 
AnswerRe: showing dialog box and progress bar... Pin
JudyL_MD30-Oct-07 2:45
JudyL_MD30-Oct-07 2:45 
AnswerRe: showing dialog box and progress bar... Pin
David Crow30-Oct-07 3:33
David Crow30-Oct-07 3:33 
QuestionDoModal() problem, completed confused! Pin
fantasy121529-Oct-07 19:56
fantasy121529-Oct-07 19:56 
when I click button A want it to display a dialog;
so I fire this button with click event,
ON_BN_CLICKED(IDC_A, OnClickedA)
void CMainDlg::OnClickedA(void)
{
<BREAK1>    COtherDlg dlg(this);
           dlg.DoModal();
}

BOOL COtherDlg::OnInitDialog()
{
<BREAK2>    CDialog::OnInitDialog();
           //My initialization
           return TRUE;
}

Above are the important areas of my codes, <BREAK> means I set breakpoint there, But when I press F5 to debug, vs stop at <BREAK1> but don't enter <BREAK2> at all, I am so confused, it is so simple a program, and other button to show dialog works fine.
And when I check the COtherDlg class, enum {IDD = IDD_OTHERDLG}; IDD_OTHERDLG is the same as I set in the dialog editor, I cannot find where it is wrong, is there any aspect I don't think about? DO HELP ME!
QuestionRe: DoModal() problem, completed confused! Pin
Hamid_RT29-Oct-07 20:06
Hamid_RT29-Oct-07 20:06 
GeneralRe: DoModal() problem, completed confused! Pin
fantasy121529-Oct-07 20:17
fantasy121529-Oct-07 20:17 
GeneralRe: DoModal() problem, completed confused! Pin
Hamid_RT29-Oct-07 20:42
Hamid_RT29-Oct-07 20:42 
AnswerRe: DoModal() problem, completed confused! Pin
Neo Andreson29-Oct-07 20:28
Neo Andreson29-Oct-07 20:28 
GeneralRe: DoModal() problem, completed confused! Pin
fantasy121529-Oct-07 20:40
fantasy121529-Oct-07 20:40 
GeneralRe: DoModal() problem, completed confused! Pin
Neo Andreson29-Oct-07 21:24
Neo Andreson29-Oct-07 21:24 
QuestionRe: DoModal() problem, completed confused! Pin
David Crow30-Oct-07 3:36
David Crow30-Oct-07 3:36 
AnswerRe: DoModal() problem, completed confused! Pin
Neo Andreson30-Oct-07 20:26
Neo Andreson30-Oct-07 20:26 
QuestionRe: DoModal() problem, completed confused! Pin
David Crow31-Oct-07 2:24
David Crow31-Oct-07 2:24 
AnswerRe: DoModal() problem, completed confused! Pin
Cedric Moonen29-Oct-07 21:17
Cedric Moonen29-Oct-07 21:17 
QuestionRe: DoModal() problem, completed confused! Pin
fantasy121529-Oct-07 23:15
fantasy121529-Oct-07 23:15 
AnswerRe: DoModal() problem, completed confused! Pin
JudyL_MD30-Oct-07 2:48
JudyL_MD30-Oct-07 2:48 
GeneralRe: DoModal() problem, completed confused! Pin
fantasy121530-Oct-07 17:41
fantasy121530-Oct-07 17:41 
QuestionLarge number of iterations in MFC/SQL application Pin
CodingLover29-Oct-07 19:47
CodingLover29-Oct-07 19:47 
AnswerRe: Large number of iterations in MFC/SQL application Pin
sheshidar30-Oct-07 0:41
sheshidar30-Oct-07 0:41 
GeneralRe: Large number of iterations in MFC/SQL application Pin
CodingLover30-Oct-07 0:52
CodingLover30-Oct-07 0:52 
QuestionCan`t run my C++ application without Microsoft Visual C++ Redistributable Pin
Yanshof29-Oct-07 19:43
Yanshof29-Oct-07 19:43 

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.