|
After creating a non-modal dialog box, I set a button that requires a member function of the View class to be called after clicking this button. It is reasonable to add the header file of the View class to this dialog class, and then build the View class object in the dialog class. (Or pointer) to call its member functions, but (probably a larger system developed by many people) After adding the header file of the View class, a lot of errors occurred: <Compiled successfully before, but it failed to compile: <
I would like to ask: if you do not add the View class header file, can you make a custom member function of the View class respond to the message of clicking in a modeless dialog box? Thank you for your suggestion! |
|