Click here to Skip to main content
15,883,731 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Windows 7 VS 2008 fatal error LNK1168: cannot open file.exe for writing Pin
Luc Pattyn27-Oct-10 17:57
sitebuilderLuc Pattyn27-Oct-10 17:57 
Questionhow to simultaneously show 2 dialogs Pin
Krauze27-Oct-10 16:53
Krauze27-Oct-10 16:53 
AnswerRe: how to simultaneously show 2 dialogs Pin
transoft27-Oct-10 17:19
transoft27-Oct-10 17:19 
AnswerRe: how to simultaneously show 2 dialogs Pin
Luc Pattyn27-Oct-10 17:24
sitebuilderLuc Pattyn27-Oct-10 17:24 
GeneralRe: how to simultaneously show 2 dialogs Pin
Stephen Hewitt27-Oct-10 18:47
Stephen Hewitt27-Oct-10 18:47 
GeneralRe: how to simultaneously show 2 dialogs Pin
Luc Pattyn28-Oct-10 1:35
sitebuilderLuc Pattyn28-Oct-10 1:35 
AnswerRe: how to simultaneously show 2 dialogs [modified] Pin
Xie Jinghui27-Oct-10 21:11
Xie Jinghui27-Oct-10 21:11 
GeneralRe: how to simultaneously show 2 dialogs Pin
Stephen Hewitt28-Oct-10 0:32
Stephen Hewitt28-Oct-10 0:32 
Why bother using new and delete and the pointer m_pDlg2? In general I'd lose the new and delete (and in this case the OnDestroy handler too) and embed CDlg2 directly:
class CDlg1 : /* Stuff removed */
{
// ... Stuff removed ...
   CDlg2 m_Dlg2;
// ... Stuff removed ...
};
 
BOOL CDlg1::OnShowOtherDialog()
{
   // ...
   m_Dlg2.Create(IDD_DIALOG2, this);
   m_Dlg2.ShowWindow(SW_SHOW);
   // ...
}

 
Steve

GeneralRe: how to simultaneously show 2 dialogs Pin
Xie Jinghui28-Oct-10 15:47
Xie Jinghui28-Oct-10 15:47 
GeneralRe: how to simultaneously show 2 dialogs Pin
Stephen Hewitt29-Oct-10 23:57
Stephen Hewitt29-Oct-10 23:57 
AnswerRe: how to simultaneously show 2 dialogs Pin
federico.strati28-Oct-10 2:57
federico.strati28-Oct-10 2:57 
QuestionRatio color bar for an MFC-based application Pin
marc ochsenmeier27-Oct-10 9:42
marc ochsenmeier27-Oct-10 9:42 
AnswerRe: Ratio color bar for an MFC-based application Pin
Code-o-mat27-Oct-10 11:31
Code-o-mat27-Oct-10 11:31 
GeneralRe: Ratio color bar for an MFC-based application Pin
«_Superman_»27-Oct-10 12:16
professional«_Superman_»27-Oct-10 12:16 
GeneralRe: Ratio color bar for an MFC-based application Pin
marc ochsenmeier27-Oct-10 19:39
marc ochsenmeier27-Oct-10 19:39 
GeneralRe: Ratio color bar for an MFC-based application Pin
marc ochsenmeier27-Oct-10 20:10
marc ochsenmeier27-Oct-10 20:10 
GeneralRe: Ratio color bar for an MFC-based application Pin
Code-o-mat27-Oct-10 21:52
Code-o-mat27-Oct-10 21:52 
GeneralRe: Ratio color bar for an MFC-based application [modified] Pin
marc ochsenmeier27-Oct-10 19:38
marc ochsenmeier27-Oct-10 19:38 
QuestionCImage and transparency Pin
Craig Longman27-Oct-10 7:39
Craig Longman27-Oct-10 7:39 
AnswerRe: CImage and transparency Pin
Code-o-mat27-Oct-10 7:47
Code-o-mat27-Oct-10 7:47 
GeneralRe: CImage and transparency Pin
Craig Longman27-Oct-10 8:13
Craig Longman27-Oct-10 8:13 
GeneralRe: CImage and transparency Pin
Craig Longman27-Oct-10 8:27
Craig Longman27-Oct-10 8:27 
GeneralRe: CImage and transparency Pin
Code-o-mat27-Oct-10 8:52
Code-o-mat27-Oct-10 8:52 
AnswerRe: CImage and transparency Pin
Alain Rist27-Oct-10 8:30
Alain Rist27-Oct-10 8:30 
GeneralRe: CImage and transparency Pin
transoft27-Oct-10 17:23
transoft27-Oct-10 17:23 

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.