samer
07-19-2000, 05:31 AM
Hi,
i know that all windows controls are derived from CWnd, and so they should
be able to catch messages such as WM_RBUTTONDOWN, WM_MOVE, bla bla bla. the
button control for example in the classwizard doesn't show but the BN_CLICKED
and BN_DBCLICKED how can i define handlers for the other messages.
I read that we may use subclassing to create custom controls from the standard
windows controls and define our message handlers.....but didn't know how
to implement
NB: i use VC++ (MFC)
hlp plz!
i know that all windows controls are derived from CWnd, and so they should
be able to catch messages such as WM_RBUTTONDOWN, WM_MOVE, bla bla bla. the
button control for example in the classwizard doesn't show but the BN_CLICKED
and BN_DBCLICKED how can i define handlers for the other messages.
I read that we may use subclassing to create custom controls from the standard
windows controls and define our message handlers.....but didn't know how
to implement
NB: i use VC++ (MFC)
hlp plz!