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:
01001935
Vues:
25
Here's a kludge deluxe solution. It scrolls the mouse over the task notification area - lol!
FOR I = 1 to 200 STEP 5
  MOUSE AT SYSMETRIC(2)-90, SYSMETRIC(1)-I PIXELS
NEXT
Hey, I said it was a kludge ;)




>Hi Jos,
>
>You may try to send a message to the system tray window making it to redraw itself or some of its children.
>DECLARE INTEGER SendMessage IN user32;
>	INTEGER hWnd,;
>	INTEGER Msg,;
>	INTEGER wParam,;
>	INTEGER lParam
>
>At this point I'm not sure what message (or messages) to send: WM_PAINT, WM_SHOWWINDOW or some others.
>
>The question is how to find hWnd for the system tray window. This is easy. The window has a very distinctive class name -- Shell_TrayWnd:
>hTrayWindow = FindWindow("Shell_TrayWnd", Null)
>
>On this page http://www.news2news.com/vfp/?example=336 take a look at a picture in comments, a fragment of Visual Studion Spy++ screen. It gives you an idea about the windows hierarchy inside the Tray Window.
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