Advertisement

06.12.2008 at 12:55PM PDT, ID: 23480880
[x]
Attachment Details

not showing dialogbox, only shows controls where dialog box should be

Asked by bowen303 in Windows ATL / WTL / COM Programming, C++ Programming Language

Tags: Microsoft, Visual Studio, 2008, native dialog application, visual c++, only controls showing

I am having problem creating a new dialogbox.  It is being created from another dialog and that is not generating any error, but I can only see the controls that should be on the dialog.  (2 edit controls and 2 buttons).    This is the code I am using to create the dialogs.

DialogBox(hInst,MAKEINTRESOURCE(IDD_DLG_EDIT),hDlg,(DLGPROC)DLGEditProc);

The dialog picture shows controls behind what should be the dialog.  The greyed out edit controls and buttons just sit on top of that.  Hopefully something simple is wrong, I have tried changing options in the properties of both the dialog resouce and the main dialog which is my primary form.

ThanksStart Free Trial
Attachments:
 
This is what the dialog looks like.
This is what the dialog looks like.
 
 
 
[+][-]06.12.2008 at 01:16PM PDT, ID: 21773302

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Windows ATL / WTL / COM Programming, C++ Programming Language
Tags: Microsoft, Visual Studio, 2008, native dialog application, visual c++, only controls showing
Sign Up Now!
Solution Provided By: jkr
Participating Experts: 1
Solution Grade: A
 
 
[+][-]06.12.2008 at 01:44PM PDT, ID: 21773532

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.12.2008 at 01:49PM PDT, ID: 21773580

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628