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:
01001876
Views:
27
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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform