Click here to Skip to main content
15,917,862 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Resizing image right bottom? Pin
J. Dunlap21-Jul-03 9:47
J. Dunlap21-Jul-03 9:47 
GeneralRe: Resizing image right bottom? Pin
Dominik Reichl21-Jul-03 23:45
Dominik Reichl21-Jul-03 23:45 
AnswerRe: Resizing image right bottom? Pin
Bob Stanneveld21-Jul-03 9:17
Bob Stanneveld21-Jul-03 9:17 
GeneralRe: Resizing image right bottom? Pin
Dominik Reichl21-Jul-03 9:20
Dominik Reichl21-Jul-03 9:20 
GeneralProblem handling WM_NCPAINT using XP visual style Pin
khb21-Jul-03 7:12
khb21-Jul-03 7:12 
GeneralRe: Problem handling WM_NCPAINT using XP visual style Pin
Michael Dunn21-Jul-03 14:06
sitebuilderMichael Dunn21-Jul-03 14:06 
GeneralRe: Problem handling WM_NCPAINT using XP visual style Pin
khb21-Jul-03 20:33
khb21-Jul-03 20:33 
GeneralMultiple modal dialog boxes Pin
Deepak Samuel21-Jul-03 7:11
Deepak Samuel21-Jul-03 7:11 
Hi,
I need to create about three to four modal dialog boxes such that when a button is pressed in the first one it leads to the next and again when a button is pressed in this it leads to the next one and so on..I am a novice in this field and I need some help in this. I tried this:

void CNewoneDlg::OnOK()
{
CDialog aboutDlg(IDD_DIALOG1);

INT_PTR pRet=-1;

aboutDlg.DoModal();

//CDialog::OnOK(); (I tried taking this off...but didnt work either)
}

This works..it leads to the next dialog box on pressing ok..
but..

void CDialog1Dlg::OnOK()
{
CDialog aboutDlg(IDD_DIALOG2);

INT_PTR pRet=-1;

aboutDlg.DoModal();

//CDialog::OnOK();



}
This doesnt lead to the next dialog box on pressing ok..I am confused, since I have used the method in the earlier function..when that can work, why cant (isnt) this?

I desperately need a help..

THANKS




Deepak Samuel

Generala casting problem! Pin
safee ullah21-Jul-03 7:11
safee ullah21-Jul-03 7:11 
GeneralRe: a casting problem! Pin
Dominik Reichl21-Jul-03 7:19
Dominik Reichl21-Jul-03 7:19 
GeneralRe: a casting problem! Pin
Joaquín M López Muñoz21-Jul-03 7:28
Joaquín M López Muñoz21-Jul-03 7:28 
GeneralRe: a casting problem! Pin
safee ullah21-Jul-03 22:48
safee ullah21-Jul-03 22:48 
GeneralRe: a casting problem! Pin
Jens Doose21-Jul-03 22:25
Jens Doose21-Jul-03 22:25 
Generalstd::sort() passes invalid parameter to sorting callback function Pin
s_k21-Jul-03 7:02
s_k21-Jul-03 7:02 
GeneralRe: std::sort() passes invalid parameter to sorting callback function Pin
Joaquín M López Muñoz21-Jul-03 7:18
Joaquín M López Muñoz21-Jul-03 7:18 
GeneralRe: std::sort() passes invalid parameter to sorting callback function Pin
s_k22-Jul-03 2:30
s_k22-Jul-03 2:30 
QuestionDetect USB Port Version? Pin
nng3821-Jul-03 5:57
nng3821-Jul-03 5:57 
AnswerRe: Detect USB Port Version? Pin
John M. Drescher21-Jul-03 6:14
John M. Drescher21-Jul-03 6:14 
GeneralRe: Top Window Pin
Niall Barr21-Jul-03 6:20
professionalNiall Barr21-Jul-03 6:20 
Generalwriting to the registry Pin
si_6921-Jul-03 5:28
si_6921-Jul-03 5:28 
GeneralRe: writing to the registry Pin
John M. Drescher21-Jul-03 7:11
John M. Drescher21-Jul-03 7:11 
GeneralRe: writing to the registry Pin
Dominik Reichl21-Jul-03 7:12
Dominik Reichl21-Jul-03 7:12 
GeneralRe: writing to the registry Pin
Jens Doose21-Jul-03 22:30
Jens Doose21-Jul-03 22:30 
Generalprocessing video from a TV Tuner card Pin
Cyberizen21-Jul-03 5:18
Cyberizen21-Jul-03 5:18 
GeneralRe: processing video from a TV Tuner card Pin
Ryan Binns21-Jul-03 5:26
Ryan Binns21-Jul-03 5:26 

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.