I use CMenu class to invoke a context menu. Now when I select a menu
item, I do not want to close it, but want to handle this click without
closing the menu. How can I do it ?
I tried catching the WM_COMMAND in WindowProc, but it comes in too
late (after the menu is destroyed). WM_MENUSELECT also doesn't help in
this case.