Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Removing system tray icons
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
01001782
Message ID:
01001884
Views:
24
Unfortunately not. The vfp main window apears to flash briefly but thats about it :(


>May be try this code as well, if it can remove invalid icons:
>#DEFINE TRAYWINDOW_CLASS "Shell_TrayWnd"
>#DEFINE SW_SHOW 5
>#DEFINE SW_SHOWNA 8
>#DEFINE SW_SHOWDEFAULT 10
>
>DECLARE INTEGER FindWindow IN user32;
>	STRING lpClassName, STRING lpWindowName
>
>DECLARE INTEGER ShowWindow IN user32 AS ShowWindowA;
>	INTEGER hWindow, INTEGER nCmdShow
>
>hTray = FindWindow(TRAYWINDOW_CLASS, Null)
>= ShowWindowA(hTray, SW_SHOWNA)
>
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform