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.