Property Page OnNotify question
-
I construct a propery page which I added OnActive() and OnKillActive() by class wizard. When I added OnNotify() to the class, I have not received message to trigger OnActive() and OnKillActive() anymore. Is there anyway to both functions triggered even I use OnNotify()?
-
I construct a propery page which I added OnActive() and OnKillActive() by class wizard. When I added OnNotify() to the class, I have not received message to trigger OnActive() and OnKillActive() anymore. Is there anyway to both functions triggered even I use OnNotify()?
-
What messages does the program process in OnNotify()? I suspect that the message gets destroy inside OnNotify(). Kuphryn
All I did is I tried to detect right mouse click on richedit control located on my property page. It shoudn't intercept both OnSetActive() and OnKillActive() messages. Please let me know if I did something wrong here. BOOL CPropertyPage::OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult) { MSGFILTER * lpMsgFilter = (MSGFILTER *)lParam; if ((wParam == IDC_RICHEDIT1) && (lpMsgFilter->nmhdr.code == EN_MSGFILTER)&& (lpMsgFilter->msg == WM_RBUTTONDOWN)) { . . . . } return CDialog::OnNotify(wParam, lParam, pResult); }