How to handle notify message in both reflect way and normal way?
C / C++ / MFC
4
Posts
2
Posters
0
Views
1
Watching
-
CMyListCtrl::OnClick(NMHDR* pNMHDR, LRESULT* pResult)
And the parent window need to handel NM_CLICK from the list ctrl too. Now only the handler in
CMyListCtrl
will be executed. How to let both handlers work? Thanks.MFC's global message handler will always use the first handler found. That means you have to forward the message to the parent window yourself.
Don't try it, just do it! ;-)
-
MFC's global message handler will always use the first handler found. That means you have to forward the message to the parent window yourself.
Don't try it, just do it! ;-)
-
MFC's global message handler will always use the first handler found. That means you have to forward the message to the parent window yourself.
Don't try it, just do it! ;-)