Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 671 Bytes

File metadata and controls

29 lines (20 loc) · 671 Bytes

Home

Hiding mouse cursor

Code:

DECLARE INTEGER ShowCursor IN user32 INTEGER bShow

PROCEDURE _hide
	DO WHILE ShowCursor(0) >= -1
		DOEVENTS
	ENDDO

PROCEDURE _show
	DO WHILE ShowCursor(1) < 0
		DOEVENTS
	ENDDO  

Listed functions:

ShowCursor

Comment:

In Visual FoxPro the SET MOUSE setting is ignored. VFP8 often restores hidden mouse cursor automatically. So this API function may not be useful. The MousePointer property, that applies to many VFP controls including the Form, hides the pointer when set to 13