Because of the need in Main_win. CPP event pop-up window by pressing the button, so in Main_win. H contains Create_win. H,
Want to pass parameters between father and son window again, child Windows need to invoke the parent window data members, so Create_win. H contains Main_win. J h,
Compile times wrong below:
May I ask which step is wrong?
CodePudding user response:
Line error is in Main_win. H defines the child window of the dialog box in a pointerCodePudding user response:
The class XXX; A prerequisite for the class declarationCodePudding user response:
PostMessage and SendMessage to know,CodePudding user response:
You can try custom message, through the message parameter you want to transfer data