Solved

How to hide mouse cursor?

Posted on 1997-10-13
2
294 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…

827 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