Главная страница
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.013 c
2-1229785294
buzb
2008-12-20 18:01
2009.02.01
Как сделать listbox полосатым


11-1196724955
Koss
2007-12-04 02:35
2009.02.01
при запуске открывает Form2 ???


15-1222413251
Василий Жогарев
2008-09-26 11:14
2009.02.01
PostgreSQL, MySQL, IB, FB


15-1228477841
Артур Пирожков
2008-12-05 14:50
2009.02.01
Если нет Офиса, а нужно открыть Аксесовский файл?


15-1227341190
Gydvin
2008-11-22 11:06
2009.02.01
Создание битмап в цветовом пространстве CMYK