VFP: Hide mouse cursor

Hide Mouse Cursor in Visual Foxpro

Today I needed to hide the mouse cursor for a presentation program. Objects in VFP have a MousePointer property with which you can select the appearance of the cursor. 0 for default Windows behaviour, 1 to 17 for specific shapes like arrow (1) or hourglass (11) and 99 for Custom design. There is no “Hidden” appearance, No “MouseVisible” property. Shame.

What to do?

  1. Download the blank cursor.
  2. Next you select the forementioned 99 (custom) MousePointer value and
  3. last place the filename (Null.cur) in the MouseIcon field.

Leave a Reply

Your email address will not be published. Required fields are marked *