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

C / C++ / MFC

 
GeneralUpgrade from MS C V7.0 to VC++ 6.0 Pin
Jerome Conus19-Nov-01 21:53
Jerome Conus19-Nov-01 21:53 
GeneralRe: Upgrade from MS C V7.0 to VC++ 6.0 Pin
Michael P Butler19-Nov-01 22:04
Michael P Butler19-Nov-01 22:04 
GeneralRe: Upgrade from MS C V7.0 to VC++ 6.0 Pin
Jerome Conus19-Nov-01 22:14
Jerome Conus19-Nov-01 22:14 
GeneralRe: Upgrade from MS C V7.0 to VC++ 6.0 Pin
Claudius Mokler19-Nov-01 22:46
Claudius Mokler19-Nov-01 22:46 
GeneralRe: Upgrade from MS C V7.0 to VC++ 6.0 Pin
Rassman20-Nov-01 3:08
Rassman20-Nov-01 3:08 
GeneralRe: Upgrade from MS C V7.0 to VC++ 6.0 Pin
Jerome Conus20-Nov-01 3:30
Jerome Conus20-Nov-01 3:30 
GeneralRe: Upgrade from MS C V7.0 to VC++ 6.0 Pin
20-Nov-01 4:06
suss20-Nov-01 4:06 
GeneralChild Dialog Box Pin
mvworld19-Nov-01 21:45
mvworld19-Nov-01 21:45 
If I have a main dialog box, and On the click of a button I want a child dialog box to appear...what do I do?

I created a dialog box (with type child) and in the BNClicked method of the button I wrote.

void CMainDlg::OnAddChild()
{
CChildDlg* ChildBox = new CChildDlg;
ChildBox->DoModal();
}

But the images of the Main and the Child dialog boxes got superimposed (and got mixed up) during runtime. So someone suggested the following, but it still does not work!

void CMainDlg::OnAddChild()
{
CChildDlg* ChildBox = new CChildDlg;
if(!::IsWindow(GetSafeHwnd())) ChildBox->Create(IDD_AJOUT, this);
ChildBox->ShowWindow(SW_SHOW);
}


Please tell me how do I get my child dialog box to show properly?
GeneralRe: Child Dialog Box Pin
Christian Graus20-Nov-01 10:22
protectorChristian Graus20-Nov-01 10:22 
GeneralProblems using MFC dll's Pin
Nevidimka19-Nov-01 20:26
Nevidimka19-Nov-01 20:26 
GeneralRe: Problems using MFC dll's Pin
Michael Dunn19-Nov-01 20:49
sitebuilderMichael Dunn19-Nov-01 20:49 
GeneralHUGE THANKS!!! Pin
Nevidimka19-Nov-01 21:25
Nevidimka19-Nov-01 21:25 
Generalvoice recording Pin
Djibril19-Nov-01 15:16
professionalDjibril19-Nov-01 15:16 
GeneralRe: voice recording Pin
Mukkie21-Nov-01 7:20
Mukkie21-Nov-01 7:20 
GeneralCListCtrl & Report Style Pin
Matt Newman19-Nov-01 15:05
Matt Newman19-Nov-01 15:05 
GeneralRe: CListCtrl & Report Style Pin
Nish Nishant19-Nov-01 15:33
sitebuilderNish Nishant19-Nov-01 15:33 
GeneralRe: CListCtrl & Report Style Pin
Matt Newman19-Nov-01 15:45
Matt Newman19-Nov-01 15:45 
GeneralRe: CListCtrl & Report Style Pin
Shog920-Nov-01 12:03
sitebuilderShog920-Nov-01 12:03 
GeneralRe: CListCtrl & Report Style Pin
Derek Waters20-Nov-01 13:39
Derek Waters20-Nov-01 13:39 
GeneralRe: CListCtrl & Report Style Pin
Matt Newman20-Nov-01 16:11
Matt Newman20-Nov-01 16:11 
GeneralRe: CListCtrl & Report Style Pin
Derek Waters20-Nov-01 16:15
Derek Waters20-Nov-01 16:15 
GeneralRe: CListCtrl & Report Style Pin
Matt Newman20-Nov-01 16:21
Matt Newman20-Nov-01 16:21 
GeneralRe: CListCtrl & Report Style Pin
Derek Waters20-Nov-01 16:28
Derek Waters20-Nov-01 16:28 
GeneralRe: CListCtrl & Report Style Pin
Matt Newman20-Nov-01 16:45
Matt Newman20-Nov-01 16:45 
GeneralRe: CListCtrl & Report Style Pin
Derek Waters20-Nov-01 16:47
Derek Waters20-Nov-01 16:47 

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.