Главная страница
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.012 c
2-1229794609
pashokq
2008-12-20 20:36
2009.02.01
Возведение в степень


2-1229535561
smartleds
2008-12-17 20:39
2009.02.01
Ошибка при сохранении файла


15-1228751555
Тыщ
2008-12-08 18:52
2009.02.01
Исходники TPC.EXE v7.0


11-1197059646
Сергей
2007-12-07 23:34
2009.02.01
Скрол для KOLGrushPanel


15-1228686048
{RASkov}
2008-12-08 00:40
2009.02.01
Догадливая Win