Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2009.02.01;
Скачать: 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 вся ветка

Текущий архив: 2009.02.01;
Скачать: CL | DM;

Наверх




Память: 0.46 MB
Время: 0.017 c
15-1228732709
1234567
2008-12-08 13:38
2009.02.01
mwEdit


2-1229446936
smartleds
2008-12-16 20:02
2009.02.01
Подскажите плз как корректно отказаться от открытия файла


2-1229431664
Zilog
2008-12-16 15:47
2009.02.01
Как правильно сделать паузу по времени?


3-1214304824
umbra
2008-06-24 14:53
2009.02.01
как правильно перенести базу?


2-1229502902
zorik
2008-12-17 11:35
2009.02.01
перевод каретки