Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removing system tray icons
Message
De
07/04/2005 13:01:35
 
 
À
07/04/2005 12:19:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
01001782
Message ID:
01002356
Vues:
34
Hi Christian, thanks for the feedback.

I tried it but it does not seem to work although I am not sure that I am getting the right window handle to the task notification area (normally bottom right position, at the end of the task bar). I am using FindWindow() on "Shell_TrayWnd" and it is returning a window handle of 65658. I dont know if that is the correct handle though.

Thanks



>Hello,
>
>if a mousemove removes the invalid icons you may try to send a WM_MOUSEMOVE message to the systray
>
>#DEFINE WM_MOUSEMOVE 0x0200
>
>SendMessage(theHwnd,WM_MOUSEMOVE,0,0)
>
>or with mouse cursor coordinates :
>x = 1
>y = 1
>nCoord = BITOR(x,BITLSHIFT(y,16))
>SendMessage(theHwnd,WM_MOUSEMOVE,0,nCoord)
>
>Regards
>Christian
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