I have an ownerdrawn button (class derived from CButton). I want to pop up
a menu on the WM_LBUTTONDOWN, in this case the user would be able to select the menu item by releasing the mouse button. The problem is: when I press the mouse button down the menu pops up, but when I release the mouse button - nothing happens when i select on any item from the menu. How do i solve this problem ?