About MFC non-primary internal control dialog definition
Time:09-23
Program objective is to need two dialog, I set up a tree in the main dialog box controls, if placed the tree control in the main dialog box, run after initialization is right, But if it is set in the main dialog box, and then display when there is a mistake, even can run cannot display in the tree control setting, the content of the The main dialog box with the corresponding button to jump to the main dialog box,
Home page to confirm below to jump to the main page The code is as follows: (DIALOG1 main dialog)
The following is the main dialog
The main tree controls within the dialog box is defined as follows:
Want to ask about the main the controls within the dialog cannot in OnInitDialog () function within the initialization? In order to realize implementation should do? Hope the great god directions
CodePudding user response:
Hope everyone more directions
CodePudding user response:
The Lord the controls within the dialog can be in the main dialog in OnInitDialog () function to initialize