Dialog controls not showing up on a child dialog
-
I am rewriting an old application in VS2010 that was developed in vc++6.0. I am trying to keep the basic structure of the GUI the same which consists of a main Dialog in which I have multiple child dialogs. All the child dialogs except one are simple with no border, title bar or system menu. This works fine in VC++6.0, but on VS2010, none of the controls that I have in those child dialogs show up when I run the program. Am I missing something simple here that I am not aware of? thanks
PKNT
-
I am rewriting an old application in VS2010 that was developed in vc++6.0. I am trying to keep the basic structure of the GUI the same which consists of a main Dialog in which I have multiple child dialogs. All the child dialogs except one are simple with no border, title bar or system menu. This works fine in VC++6.0, but on VS2010, none of the controls that I have in those child dialogs show up when I run the program. Am I missing something simple here that I am not aware of? thanks
PKNT
-
I am rewriting an old application in VS2010 that was developed in vc++6.0. I am trying to keep the basic structure of the GUI the same which consists of a main Dialog in which I have multiple child dialogs. All the child dialogs except one are simple with no border, title bar or system menu. This works fine in VC++6.0, but on VS2010, none of the controls that I have in those child dialogs show up when I run the program. Am I missing something simple here that I am not aware of? thanks
PKNT
Did you remember to include your dialog template resources in the build? The code will (probably) compile happily without them, but fail to initialize the dialog controls.
-
Kiran Satish wrote:
Am I missing something simple
Yes, some more detail. Is this MFC or basic Win32? How are the dialogs created, how are they displayed? etc.
Its a MFC dialog based application. Main dialog is created when the application is created using "New Project" wizard and the child dialog is created by inserting a "Insert Dialog" in resource view and then adding dialog controls to it.
PKNT