Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Restore default cursor
Message
De
12/08/1997 08:06:55
 
 
À
08/08/1997 18:55:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00043737
Message ID:
00044174
Vues:
37
Hi Vlad,
Thanks for the information.
Bill


>SetSystemCursor is declared like that:
>
>BOOL SetSystemCursor ( HCURSOR hcur, DWORD id)
>
>and replaces the standard cursor identified by the id with your cursor identified by hcur.
>
>That means that if you want to replace the hourglass cursor with your "wait" cursor, you should:
>
>SetSystemCursor( HandleToMyCursor, OCR_WAIT)
>
>So, you already know which is the standard cursor, because it is you the one who replaced it. In the previous example, it's OCR_WAIT.
>
>HTH,
>Vlad
>
>>Hi Bruce,
>> I'm fiddling with the SetSystemCursor function and as always I have to mess things up a few times before getting them right :-). Is there a simple way to restore a cursor to its default startup state?
>>
>>Thanks,
>>Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform