How do I add a right mouse callback to CCheckListBox 
Author Message
 How do I add a right mouse callback to CCheckListBox

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.

Thank you for your help.

Gary.



Fri, 28 Oct 2005 23:07:05 GMT  
 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



Sat, 29 Oct 2005 00:20:12 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Changing position of check boxes to right in CCheckListBox

2. Am I doing this right?

3. Window Classes: Am I doing this right?

4. _open not doing the right thing

5. CMutex - Am I doing this right?

6. CMutex - am I doing this right?

7. CommTimeouts - doing Overlapped I/O Right!

8. doing graphics in mem should be faster right?

9. Callback for user pressing X in upper right

10. CALLBACK, CALLBACK, CALLBACK?

11. Mouse Right Click

12. How to use the right and middle mouse buttons

 

 
Powered by phpBB® Forum Software