|
-
January 19th, 2010, 06:09 PM
#1
How to make CComboBox response to WM_RBUTTONDOWN message?
I have a dialog based application with one CComboBox control defined. How can I use right mouse click to cancel the drop down list? I tried to subclass CComboBox and overload WindowProc(), it doesn't work. The comboBox control can only receive WM_RBUTTONDOWN message when the drop down list is hiding.
Left mouse click without selecting any item will cancel the list though.
Thanks for any help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|