Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Restore default cursor
Message
De
08/08/1997 18:55:32
 
 
À
08/08/1997 12:25:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00043737
Message ID:
00043819
Vues:
47
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform