Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
NTWS & .CUR files
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00335316
Message ID:
00335394
Vues:
17
>>Alex & George - so I see what my problem is, the cursors are stored in a DLL, so the functions I need to store/restore a mousepointer (LoadCursorFromFile & SetSystemCursor) - apparently will not work with the DLL. Anyone have any other ideas for accomplishing this task in NT?
>>
>>What I need is something like GetSystemCursor, but no such thing exists...
>
>Use LoadCursor(). You'll need to get the instance handle of the application (from GetClassLong() with the window handle and GCL_HMODULE -16).

I've tried that (but probably not correctly). I was getting values from the registry, but they do not seem to exist in NT. Um, can you give me a clue how to use the GetClassLong? Where it fits in with these calls:

nCursorHandle = LoadCursor(0,nWhatGoesHereforNT?)

nError = SetSystemCursor(nCursorHandle,nWhatGoesHereforNT?)

I'm only making things worse so far, besides some errors, I now have the Windows logo for my mousepointer everywhere :) All I really need to do is change a CUR back to an Ibeam...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform