Home > Software engineering >  How to obtain a pointer to the general property page dialog box
How to obtain a pointer to the general property page dialog box

Time:12-25

My program main frame is design a lot of child dialog box, and then into the general property page dialog box,

 CDlgSysConfig * pDlg=(CDlgSysConfig *) AfxGetMainWnd ();//AfxGetMainWnd is used to capture the main dialog box, when CDlgSysConfig is 
//the general property page dialog box class, how should change?

CodePudding user response:

CDlgSysConfig * pDlg put in h

CodePudding user response:

A face of meng force, have what differentiation??????? But (CDlgSysConfig *) AfxGetMainWnd () this sentence?
  • Related