I'm developing an application using MFC. I'm using Visual Studio 2003 for that. In my application there are two dialog boxes. By click on a menu item in the first dialog box(main dialog) I can connect to the second dialog (Property dialog)box.
I inserted a combo box in my property dialog box. Then I created a object of property dialog class in the main dialog class.
The problem is when I run the program, although the object of the property dialog is created, the main dialog class doesn't identify the combo box of the property dialog class.
I think the reason is, at the moment the object is creating, mapping of the combo box ID and its variable is not happened. (It's happen in the DoDataExchange method in the property dialog class)
Please let me know a way to initialize the combo box variable in the main class.
Thank You
I inserted a combo box in my property dialog box. Then I created a object of property dialog class in the main dialog class.
The problem is when I run the program, although the object of the property dialog is created, the main dialog class doesn't identify the combo box of the property dialog class.
I think the reason is, at the moment the object is creating, mapping of the combo box ID and its variable is not happened. (It's happen in the DoDataExchange method in the property dialog class)
Please let me know a way to initialize the combo box variable in the main class.
Thank You
Comment