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

C / C++ / MFC

 
GeneralRe: Html help files Pin
includeh106-Dec-04 10:07
includeh106-Dec-04 10:07 
GeneralSelecting Region of Interest(ROI) in images Pin
ashsri4-Dec-04 16:06
ashsri4-Dec-04 16:06 
GeneralRe: Selecting Region of Interest(ROI) in images [modified] Pin
qilujo20-Jul-09 2:13
qilujo20-Jul-09 2:13 
Generalvc60.pdb Pin
Andy H4-Dec-04 11:14
Andy H4-Dec-04 11:14 
GeneralRe: vc60.pdb Pin
ashsri4-Dec-04 15:57
ashsri4-Dec-04 15:57 
GeneralRe: vc60.pdb Pin
Andy H4-Dec-04 22:17
Andy H4-Dec-04 22:17 
GeneralRe: vc60.pdb Pin
Gary R. Wheeler5-Dec-04 10:06
Gary R. Wheeler5-Dec-04 10:06 
Generalinterchanging between two dialog boxes Pin
haseeb_saeed4-Dec-04 10:34
haseeb_saeed4-Dec-04 10:34 
hi!

i have made an application in visual c++ which contains two dialog boxes each with different contents.... i have also added a menu which interchanges the two dialog boxes... in the menu i have added two tabs one named normal and the other named special.... the two dialog boxes have the id's IDD_NORMAL AND IDD_SPECIAL....for normal tab i have added text

EndDialog(IDD_SPECIAL);
int result=IDD_NORMAL;
CDialog dlg(result);
result=dlg.DoModal();

and approximately the same code for Special tab....

the problem is that for the first time the dialog box works fine ie it interchanges but when again i wish to change the dialog , the other one remains and doesn't end.... wat should i do and yeah as i have written the code with the help of somebody ... i don't know the meaning of the statement
CDialog dlg(result)
please do explain

thankyou


haseeb
GeneralRe: interchanging between two dialog boxes Pin
John R. Shaw4-Dec-04 11:35
John R. Shaw4-Dec-04 11:35 
Questionhow to control program execution speed Pin
Mohammad A Gdeisat4-Dec-04 9:16
Mohammad A Gdeisat4-Dec-04 9:16 
AnswerRe: how to control program execution speed Pin
Stanciu Vlad4-Dec-04 9:37
Stanciu Vlad4-Dec-04 9:37 
AnswerRe: how to control program execution speed Pin
John R. Shaw4-Dec-04 10:34
John R. Shaw4-Dec-04 10:34 
GeneralRe: how to control program execution speed Pin
Mohammad A Gdeisat5-Dec-04 5:43
Mohammad A Gdeisat5-Dec-04 5:43 
GeneralRe: how to control program execution speed Pin
David Crow6-Dec-04 3:08
David Crow6-Dec-04 3:08 
GeneralRe: how to control program execution speed Pin
Mohammad A Gdeisat6-Dec-04 9:31
Mohammad A Gdeisat6-Dec-04 9:31 
GeneralRe: how to control program execution speed Pin
David Crow6-Dec-04 9:39
David Crow6-Dec-04 9:39 
GeneralRegistering file type and icon Pin
SloanCode4-Dec-04 7:40
SloanCode4-Dec-04 7:40 
GeneralRe: Registering file type and icon Pin
Michael Dunn4-Dec-04 9:01
sitebuilderMichael Dunn4-Dec-04 9:01 
GeneralUser Interface - Advice Required Pin
Imtiaz Murtaza4-Dec-04 7:27
Imtiaz Murtaza4-Dec-04 7:27 
GeneralRe: User Interface - Advice Required Pin
Maximilien4-Dec-04 8:49
Maximilien4-Dec-04 8:49 
GeneralRe: User Interface - Advice Required Pin
toddbrooks4-Dec-04 9:37
toddbrooks4-Dec-04 9:37 
GeneralRe: User Interface - Advice Required Pin
peterchen5-Dec-04 0:36
peterchen5-Dec-04 0:36 
GeneralRe: User Interface - Advice Required Pin
Tareq Ahmed Siraj5-Dec-04 5:26
Tareq Ahmed Siraj5-Dec-04 5:26 
GeneralRe: User Interface - Advice Required Pin
Henry miller6-Dec-04 6:50
Henry miller6-Dec-04 6:50 
GeneralOninitUpdate Pin
jimjake4-Dec-04 4:01
jimjake4-Dec-04 4:01 

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.