Click here to Skip to main content
15,909,605 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: question about my project....... Pin
Reagan Conservative27-Jan-09 11:09
Reagan Conservative27-Jan-09 11:09 
AnswerRe: question about my project....... Pin
Garth J Lancaster27-Jan-09 11:17
professionalGarth J Lancaster27-Jan-09 11:17 
QuestionUAC - Showing fake Shield icon on the Exe Pin
WindowsPistha27-Jan-09 7:34
WindowsPistha27-Jan-09 7:34 
QuestionRe: UAC - Showing fake Shield icon on the Exe Pin
bob1697227-Jan-09 14:12
bob1697227-Jan-09 14:12 
AnswerRe: UAC - Showing fake Shield icon on the Exe Pin
WindowsPistha29-Jan-09 18:08
WindowsPistha29-Jan-09 18:08 
QuestionMFC GUI Pin
bhanu_850927-Jan-09 2:31
bhanu_850927-Jan-09 2:31 
QuestionRe: MFC GUI Pin
Nishad S27-Jan-09 2:50
Nishad S27-Jan-09 2:50 
AnswerRe: MFC GUI Pin
bhanu_850927-Jan-09 3:12
bhanu_850927-Jan-09 3:12 
I have four buttons in my dialog, totally four dialogs for four buttons, when I click a button1 it will load the appropriate dialog1 (dlg1->DoModal()). If I click button2 then it will load the dialog2 (dlg2->Modal). Code snippet is :

<br />
//in button1<br />
Dialog1 dlg1 = new Dialog1();<br />
OnCancel();//to close the current dialog<br />
dlg1->DoModal();<br />
<br />
//in button2<br />
Dialog2 dlg2 = new Dialog2();<br />
OnCancel();//to close the current dialog<br />
dlg2->DoModal();<br />
<br />
<br />
//in button3<br />
Dialog3 dlg3 = new Dialog3();<br />
OnCancel();//to close the current dialog<br />
dlg3->DoModal();<br />
<br />
<br />
//in button4<br />
Dialog4 dlg4 = new Dialog4();<br />
OnCancel();//to close the current dialog<br />
dlg4->DoModal();<br />
<br />

GeneralRe: MFC GUI Pin
Nishad S27-Jan-09 3:24
Nishad S27-Jan-09 3:24 
GeneralRe: MFC GUI Pin
bhanu_850927-Jan-09 3:28
bhanu_850927-Jan-09 3:28 
GeneralRe: MFC GUI Pin
Nishad S27-Jan-09 3:51
Nishad S27-Jan-09 3:51 
GeneralRe: MFC GUI [modified] Pin
Iain Clarke, Warrior Programmer27-Jan-09 3:30
Iain Clarke, Warrior Programmer27-Jan-09 3:30 
AnswerRe: MFC GUI Pin
Maximilien27-Jan-09 3:29
Maximilien27-Jan-09 3:29 
GeneralRe: MFC GUI Pin
bhanu_850927-Jan-09 3:38
bhanu_850927-Jan-09 3:38 
QuestionChange selection in CListCtrl with keys? Pin
bosfan27-Jan-09 0:45
bosfan27-Jan-09 0:45 
AnswerRe: Change selection in CListCtrl with keys? Pin
Nishad S27-Jan-09 2:51
Nishad S27-Jan-09 2:51 
GeneralRe: Change selection in CListCtrl with keys? Pin
bosfan27-Jan-09 3:23
bosfan27-Jan-09 3:23 
AnswerRe: Change selection in CListCtrl with keys? Pin
Naveen27-Jan-09 2:56
Naveen27-Jan-09 2:56 
GeneralRe: Change selection in CListCtrl with keys? [modified] Pin
bosfan27-Jan-09 3:55
bosfan27-Jan-09 3:55 
GeneralRe: Change selection in CListCtrl with keys? Pin
Nishad S27-Jan-09 4:05
Nishad S27-Jan-09 4:05 
GeneralRe: Change selection in CListCtrl with keys? Pin
Naveen27-Jan-09 4:07
Naveen27-Jan-09 4:07 
GeneralRe: Change selection in CListCtrl with keys? Pin
bosfan27-Jan-09 4:49
bosfan27-Jan-09 4:49 
JokeRe: Change selection in CListCtrl with keys? Pin
Nishad S27-Jan-09 18:01
Nishad S27-Jan-09 18:01 
QuestionMSMQ - Opening a Private Queue through windows service Pin
Md Saleem Navalur27-Jan-09 0:27
Md Saleem Navalur27-Jan-09 0:27 
QuestionRe: MSMQ - Opening a Private Queue through windows service Pin
led mike27-Jan-09 4:44
led mike27-Jan-09 4:44 

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.