I'm having trouble sensing the menu that the mouse is currently over. I have tried subclassing, but that locks up and doesn't seem to work. Any thoughts how I could do it WITHOUT subclassing?
BTW: Just in case you didn't know, menus have no hWnds!
Printable View
I'm having trouble sensing the menu that the mouse is currently over. I have tried subclassing, but that locks up and doesn't seem to work. Any thoughts how I could do it WITHOUT subclassing?
BTW: Just in case you didn't know, menus have no hWnds!
Actually, Menu's do have Handles. To retrieve it, use the GetMenu API.