>>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.