Property page dialog box
The class CSatellite: public CPropertyPage
A modal dialog box
The class CTrackDataList: public CDialogEx
Property page dialog box to invoke a modal dialog box appears above the ghosting, could you tell me how to solve?
void CSatellite: : OnBnClickedorbit ()//button event pop-up non-modal dialog
{
//TODO: add the control notification handler code
CTrackDataList * trackdatalist_=new CTrackDataList (this);
If (trackdatalist_ - & gt; GetSafeHwnd ()==0)
{
Trackdatalist_ - & gt; Create (IDD_TRACKDATA_LIST);
}
Trackdatalist_ - & gt; ShowWindow (SW_SHOW);
}
CodePudding user response:
Should be another CPropertyPage CTrackDataListCodePudding user response: