I have a dialogbar with a slider control in it. Using ClassWizard, I added
handlers for the notification messages I was interested in.
I want those notifications to be handled by the CMainframe class owning the CDialogbar.
None of the notifications messages are dispatched for CsliderCtrl controls. Also, I noticed that Windows is sending for example a WM_SETFOCUS message and not a NM_SETFOCUS message. And even if it's a WM_SETFOCUS message, I can't trap it.
Do I need to add something to my code in order to ensure that the
notification messages are actually sent? Or do I need to add something to
the message map to handle the WM_ messages being sent to the control? I would like to be able to trap WM_HSCROLL too wenever the user slides the track bar.