Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removing system tray icons
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
01001782
Message ID:
01001884
Vues:
31
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform