Вниз
Скачать: 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.007 c
2-1229861533
flunkkkk
2008-12-21 15:12
2009.02.01
доработка в программе


2-1229374412
bit
2008-12-15 23:53
2009.02.01
TListView get item


2-1229694301
Дмитрий
2008-12-19 16:45
2009.02.01
Передать события в качестве параметров


2-1229811012
kritika
2008-12-21 01:10
2009.02.01
очереди, стеки, деревья


2-1229423980
Андрей Ал.
2008-12-16 13:39
2009.02.01
Снова таблицы!




   Наверх