How to change tab event of property sheet
-
Override :: MSVC > Class View > Properties > Override > OnKillActive , OnSetActive /*Dialog ( in sheet page ) */ virtual BOOL OnKillActive(); virtual BOOL OnSetActive(); /*exit page*/ BOOL CMyPropertyPage1::OnKillActive() { TRACE(_T("OnKillActive\n")); return CMFCPropertyPage::OnKillActive(); } /* entrance page*/ BOOL CMyPropertyPage1::OnSetActive() { TRACE(_T("OnSetActive\n")); return CMFCPropertyPage::OnSetActive(); }
Visual C
-
Override :: MSVC > Class View > Properties > Override > OnKillActive , OnSetActive /*Dialog ( in sheet page ) */ virtual BOOL OnKillActive(); virtual BOOL OnSetActive(); /*exit page*/ BOOL CMyPropertyPage1::OnKillActive() { TRACE(_T("OnKillActive\n")); return CMFCPropertyPage::OnKillActive(); } /* entrance page*/ BOOL CMyPropertyPage1::OnSetActive() { TRACE(_T("OnSetActive\n")); return CMFCPropertyPage::OnSetActive(); }
Visual C
Do you have a specific question, or are you just posting random code? :confused:
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
-
Override :: MSVC > Class View > Properties > Override > OnKillActive , OnSetActive /*Dialog ( in sheet page ) */ virtual BOOL OnKillActive(); virtual BOOL OnSetActive(); /*exit page*/ BOOL CMyPropertyPage1::OnKillActive() { TRACE(_T("OnKillActive\n")); return CMFCPropertyPage::OnKillActive(); } /* entrance page*/ BOOL CMyPropertyPage1::OnSetActive() { TRACE(_T("OnSetActive\n")); return CMFCPropertyPage::OnSetActive(); }
Visual C
What is the question? Please go through the guidelines HOW-TO-ASK-A-QUESTION[^] before posting the question.
[Delegates] [Virtual Desktop] [Tray Me !]
-Malli...! :rose:**** -
Override :: MSVC > Class View > Properties > Override > OnKillActive , OnSetActive /*Dialog ( in sheet page ) */ virtual BOOL OnKillActive(); virtual BOOL OnSetActive(); /*exit page*/ BOOL CMyPropertyPage1::OnKillActive() { TRACE(_T("OnKillActive\n")); return CMFCPropertyPage::OnKillActive(); } /* entrance page*/ BOOL CMyPropertyPage1::OnSetActive() { TRACE(_T("OnSetActive\n")); return CMFCPropertyPage::OnSetActive(); }
Visual C
Hi, You should be getting a CPropertyPage::OnKillActive [^]call when you tab to the next page. If this is not working... then the way to debug this would be checking the CWnd::OnNotify[^] handler and make sure your WM_NOTIFY is not consuming the PSN_KILLACTIVE notification code[^]. Best Wishes, -David Delaune