Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning User's Mouse Pointer (vfp5)
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00043368
Message ID:
00043571
Views:
33
Thanks Bruce.
Bill

>>Hi Bruce,
>> Would you mind passing along a sample of the API code you're using to do that? I haven't had a lot of success with SetSystemCursor().
>>
>Okay, let's see what I can do to explain...let's suppose 2 column grid, where column1 uses link/hand but column2 does not.
>
>In form init:
>declare integer LoadCursorFromFile in win32api as NewCur string
>declare short SetSystemCursor in win32api integer, integer
>
>In column1 MouseMove:
>nCurHndl=NewCur("c:\vfp\samples\graphics\cursors\h_point.cur")
>nChangOK=SetSystemCursor(nCurHndl,32513)
>
>In column2 MouseMove:
>nCurHndl=NewCur("c:\windows\cursors\beam_m.cur")
>nChangOK=SetSystemCursor(nCurHndl,32513)
>
>That's the essence of it...
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Reply
Map
View

Click here to load this message in the networking platform