![]() |
| ||
|
|
Новости |
Поиск |
FAQ |
Статьи |
Книги |
Новости VCL
| | Форумы ЧАТ |
Орешник |
|
| |||
| |||
« предыдущая ветвь | форум | следующая ветвь »
TrayIcon PopupEx
Jon © (2007-12-07 20:58:00)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?
Jon (2007-12-08 15:29:00) [1]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?
Дмитрий К (2007-12-08 15:25:00) [2]Use Popup. To avoid the bug when menu doesn't disappear add SetForegroundWindow(Menu.Owner.Handle) before Menu.Popup