Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to hide mouse when selecting by key in drop down com
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows NT
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00961998
Message ID:
00962746
Views:
7
Well, try this code. If this does not work -- I'm out of ideas :):
DECLARE INTEGER ClipCursor IN user32 STRING lpRect
	
PROCEDURE ClipCursor  && locks and hides mouse cursor
	= INKEY(0.1)
	= ClipCursor(REPLICATE(CHR(0),16))

PROCEDURE ReleaseCursor  && releases locked cursor
	= INKEY(0.1)
	= ClipCursor(REPLICATE(CHR(0),8)+REPLICATE(CHR(0xff),8))
Try to call ClipCursor in GotFocus event for that ComboBox and ReleaseCursor in LostFocus for it.
Previous
Reply
Map
View

Click here to load this message in the networking platform