Click here to Skip to main content
15,911,524 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: i can disable menu item but cannot gray it!!!!!!!! Pin
caykahve5-Aug-04 4:35
caykahve5-Aug-04 4:35 
GeneralRe: i can disable menu item but cannot gray it!!!!!!!! Pin
Jaime Stuardo5-Aug-04 5:03
Jaime Stuardo5-Aug-04 5:03 
GeneralRe: i can disable menu item but cannot gray it!!!!!!!! Pin
caykahve5-Aug-04 5:27
caykahve5-Aug-04 5:27 
GeneralRe: i can disable menu item but cannot gray it!!!!!!!! Pin
Jaime Stuardo5-Aug-04 6:06
Jaime Stuardo5-Aug-04 6:06 
Generalsolution! Pin
caykahve6-Aug-04 0:25
caykahve6-Aug-04 0:25 
QuestionHow to hide dialog box in MFC Pin
Rajesh_K_Sharma4-Aug-04 22:55
Rajesh_K_Sharma4-Aug-04 22:55 
AnswerRe: How to hide dialog box in MFC Pin
Brian Delahunty4-Aug-04 23:07
Brian Delahunty4-Aug-04 23:07 
GeneralRe: How to hide dialog box in MFC Pin
Rajesh_K_Sharma5-Aug-04 0:47
Rajesh_K_Sharma5-Aug-04 0:47 
Actually this is not working in my program.
I would like to explain my question.
I insert three dialog box(d1,d2 and d3) and also make their
classes for each dialog box(CD1,CD2 and CD3), derived from CDialog.
d1 contains two botton "Back and Next".On Clicking on the "Next" button, it calls d2(second dialog box).d2 also contains two button "Continue and Cancel".Again I press the "Continue" button, it calls d3(third dialog box).
Now I want to do that when I click on "Continue" button,it calls d3 and dismiss(hide) the both dialog box(d1 and d2)simultaneously.
I wrote code something like that:

void CD1::OnNext()
{
CD2 dlg2;
dlg2.DoModal();
}
............
..............
void CD2::OnContinue()
{
CD3 dlg3;
dlg3.DoModal();
}
Please help me
How to write code on the "Coninue" button so that d1 and d2 will be hide together?.






rajesh
GeneralRe: How to hide dialog box in MFC Pin
David Crow5-Aug-04 2:39
David Crow5-Aug-04 2:39 
QuestionDSW file format? Pin
Member 12782624-Aug-04 22:45
Member 12782624-Aug-04 22:45 
AnswerRe: DSW file format? Pin
David Crow5-Aug-04 2:42
David Crow5-Aug-04 2:42 
GeneralRe: DSW file format? Pin
Member 12782625-Aug-04 3:08
Member 12782625-Aug-04 3:08 
QuestionHow to write Custom GINA.dll Pin
anshums4-Aug-04 22:27
anshums4-Aug-04 22:27 
GeneralHai Pin
Asha Rams4-Aug-04 22:18
Asha Rams4-Aug-04 22:18 
GeneralRe: Hai Pin
David Crow5-Aug-04 2:44
David Crow5-Aug-04 2:44 
GeneralRe: Hai Pin
Anonymous9-Aug-04 0:17
Anonymous9-Aug-04 0:17 
GeneralRe: Hai Pin
David Crow9-Aug-04 2:18
David Crow9-Aug-04 2:18 
GeneralRe: Hai Pin
Asha Rams11-Aug-04 22:02
Asha Rams11-Aug-04 22:02 
GeneralRe: Hai Pin
David Crow12-Aug-04 2:52
David Crow12-Aug-04 2:52 
GeneralGetting HDN_ITEMDBLCLICK to work for ListCtrl Pin
Eldon Zacek4-Aug-04 21:51
Eldon Zacek4-Aug-04 21:51 
GeneralAdd encoding in xml file Pin
JensB4-Aug-04 21:31
JensB4-Aug-04 21:31 
QuestionHow to remove flickering of a window Pin
nnvidya4-Aug-04 21:09
nnvidya4-Aug-04 21:09 
AnswerRe: How to remove flickering of a window Pin
Antti Keskinen4-Aug-04 22:03
Antti Keskinen4-Aug-04 22:03 
AnswerRe: How to remove flickering of a window Pin
mickelliot5-Aug-04 5:58
mickelliot5-Aug-04 5:58 
Generalautomating CreateMsgService in MAPI Pin
kanetheterrible14-Aug-04 20:58
kanetheterrible14-Aug-04 20:58 

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.