Originally posted by: Richard Shide
In void CPropertyPageWithPropertySheet::DoDataExchange(CDataExchange* pDX)
the line
if(m_internal_sheet)
should read
if(m_internal_sheet.GetSafeHwnd())
since m_internal_sheet is not a ptr, and since it is a member of CPropertyPageWithPropertySheet, it will never be null when CPropertyPageWithPropertySheet is instantiated.
Reply
Originally posted by: Richard Shide
In void CPropertyPageWithPropertySheet::DoDataExchange(CDataExchange* pDX)
the line
if(m_internal_sheet)
should read
if(m_internal_sheet.GetSafeHwnd())
since m_internal_sheet is not a ptr, and since it is a member of CPropertyPageWithPropertySheet, it will never be null when CPropertyPageWithPropertySheet is instantiated.
This is also true for CPs_in_psDlg's m_page_with_sheet0 and m_page_with_sheet1.