I'm really out of my knowldedge with this problem:
I'm developing typical MFC application, using tray icon. Because of certain reasons, I'm creating and handling tray icon in separate thread (so tray icon actions are handled in other thread than the main application window is running). It works fine with one exception. When I click on tray icon, the tray menu appears, OK, I change focus to some other application and the tray menu doesn't disappear. I have tried many ways to do it but nothing has helped....
Has anybody any idea ???
Any suggestion will help.