Hi,
I'm an experienced programmer, but very inexperienced in programming the Win32API. I've created a context menu on a button (just for a test). I check the WM_CONTEXTMENU message to set TrackPopupMenuEx. That works great. However, when the menu pops up and I click on a command menuitem, nothing happens. Where do I trap the menu click? I tried WM_MENUSELECT and WM_COMMAND, but neither works. The funny thing is, when I change the context menu from the "button" to the main window... everything works correctly.
Any help will be appreciated... Gary.