
How do I add a right mouse callback to CCheckListBox
Quote:
>I am trying to add a right mouse callback to the CCheckListBox object
>but I am having problems. Looking at the available message callback
>in VS 6.0 it does not have a right mouse callback. But is it possible
>to create one without the wizard.
Gary,
Depending on what you want to achieve, you might want to handle the
WM_CONTEXTMENU message.
The Wizard facilities don't list every possibility - just the most
common ones. Sometimes you just have to add the handler manually.
Dave
--
MVP VC++ FAQ: http://www.mvps.org/vcfaq