StatusIcon popup menu



Hi,
I wrote a windows application which has a StatusIcon.
upon pressing right click on it, I pop up a menu. my problem is that when I click outside the menu I expect the menu to be closed (like most win32 applications), but, unfortunately it does not happen. only if I click on the application window, the menu is closed. I tried to connect to "focus_out_event" signal, but clicking outside the menu does not emit this signal (again, only clicking on the application window emit this signal).
If someone has an idea, I'll be happy to try anything.
Thanks a lot,
Roei


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]