Rizsanyi Zsolt rizsanyi@myrealbox.com writes:
Can somebody please point me to the point in code where I should put my deactivation (a code which is called on window deactivation), and also to the function by which I can deactivate the menu.
This is supposed to be done by the WM_CANCELMODE message that is sent from the FocusOut event handler. I'm not sure why it doesn't work in your case.