Вниз
Скачать: CL | DM;

TrayIcon PopupEx   Найти похожие ветки 

 
Jon ©   (2007-12-07 20:58) [0]

I have a hidden applet that uses a trayicon with a menu.
If I PopupEx the menu, the applet becomes visible in the taskbar.
The applet is then hidden again when menu disappears.
How can I use PopupEx without showing the applet in the taskbar?


 
Дмитрий К ©   (2007-12-08 15:25) [1]

Use Popup. To avoid the bug when menu doesn"t disappear add SetForegroundWindow(Menu.Owner.Handle) before Menu.Popup


 
Jon ©   (2007-12-08 15:29) [2]

Thank you. That was the solution that I used.

 SetForegroundWindow(Applet.Handle);
 GetCursorPos(Point);
 TrayMenu.Popup(Point.X,Point.Y);
 PostMessage(Applet.Handle,WM_NULL,0,0);

But should PopupEx never be used?



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.008 c
15-1228831528
Вова
2008-12-09 17:05
2009.02.01
запрос


2-1229722211
otecmaldun
2008-12-20 00:30
2009.02.01
Что надо добавить.


15-1228487682
Jeer
2008-12-05 17:34
2009.02.01
Алексий II отошел в мир иной, однако


15-1228848341
Керк
2008-12-09 21:45
2009.02.01
SSL и Apache


2-1229465866
Lelik
2008-12-17 01:17
2009.02.01
Поиск записи в запросе




   Наверх