Weak weak ask questions on MFC dialog control to use
Time:09-27
In VS a MFC project, to generate a window, the system will automatically generate the CPP was associated with the window with a header file
But if alone in resource view, create a new window,
That how to build that is associated with the window of the CPP and header files?
MFC on how to control this separate window? MFC ultra small white for guidance,
CodePudding user response:
Add MFC class, the base class to choose CDialog (or CDialogEx), fill in the name of the class, ID, etc
CodePudding user response:
Class wizard in the project menu to add the corresponding function, class, variable, etc., of course the selected controls, then right-click the same,
CodePudding user response:
Double-click on the dialog resource editor pops out requirements input dialog window class name, used to dialog class resources associated with the window up,
CodePudding user response:
Double-click the dialog box directly, also can pop up to let you binding classes