I use a custom CProperySheet to catch the Tab SelChange Message. Eerything no problem, but how can I bypass it to the parent CDialog? I use attached code in the sublcass CPropertySheet.
Do I have to work with Reflect messages?
BOOL CResizablePropertySheet::OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult)
NMHDR* pNMHDR = (LPNMHDR) lParam;
// The sheet resizes the page whenever it is activated
// so we need to resize it to what we want
if (pNMHDR->code == TCN_SELCHANGE)
// user-defined message needs to be posted, not sent, because
// page must be resized after TCN_SELCHANGE has been processed.
return CPropertySheet::OnNotify(wParam, lParam, pResult);