Solved

How to hide mouse cursor?

Posted on 1997-10-13
2
292 Views
Last Modified: 2010-04-04
Systemwide or applicationwide - I dont' care. I just want the mouse cursor to disappear from the screen.
0
Comment
Question by:kolarb
2 Comments
 
LVL 1

Accepted Solution

by:
fsanchez earned 20 total points
ID: 1347419
SystemWide -> ShowCursor(True) increments the cursor display counter by one, and ShowCursor(False) decrements it. The cursor is only visible if the cursor display counter is >= 0

ApplicationWide -> Screen.Cursor := crNone hides the cursor, and Screen.Cursor := crDefault restores the normal state

WindowWide -> MyWindow.Cursor := crNone (like before)
0
 
LVL 2

Author Comment

by:kolarb
ID: 1347420
I knew it was simple but I forgot it :)
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
delphi exception 7 64
Best Firemonkey component pack 1 106
Virtuailstring tree add node to another virtuailstring tree list 4 115
enhance the following code 3 32
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question