///////////////////////////////////////////////////////////////////////////// // COXContextHelpPropertyPage message handlers BOOL COXContextHelpPropertyPage::OnInitDialog() { CPropertyPage::OnInitDialog(); SetupToolTips(); return TRUE; // return TRUE unless you set the focus to a control // EXCEPTION: OCX Property Pages should return FALSE }
BOOL COXContextHelpDialog::OnInitDialog() { CDialog::OnInitDialog(); // Deriving from this class only makes sense if the extended style WS_EX_CONTEXTHELP // was used to create this dialog ASSERT((::GetWindowLongPtr(m_hWnd, GWL_EXSTYLE) & WS_EX_CONTEXTHELP) == WS_EX_CONTEXTHELP); VERIFY(SetupToolTips()); return TRUE; // return TRUE unless you set the focus to a control // EXCEPTION: OCX Property Pages should return FALSE }