.NET
•  Greatis •  Security •  AppDatabase •  Utilities •  Delphi/CB • Visual Basic •  just4fun
.NET Software
.NET Components for Visual Studio .NET, Delphi 8, Delphi 2005 and Delphi 2006
See also
Related products
Nostalgia .NET new!
Print Suite .Net
Form Designer .Net
Gradient Controls .Net
iGrid Plotter
Convay's Life .Net

Related links
MegaDetailed.NET
Win32.hlp online version
Delphi Tips
Delphi to C#
just4fun

Special
Free Software Promotion
Offers for Resellers

Follow us
LinkedIn Blogspot Twitter Facebook

Share this page
Home Documentation License Download Order Support  
Nostalgia .NET - System Cursor
Class for tracking and controlling system cursor

This class allows to show, hide, track and change system cursor. Usually, you can control cursor only within your application, but SystemCursor class allows you to change cursor for entire system - you even can change default system cursors directly from your code. Just save original cursor:
  defaultCursor = SystemCursor.CopyCursor(SystemCursor.GetCursor(SystemCursors.Normal));
then replace standard arrow cursor by your own cursor:
  SystemCursor.SetCursor(SystemCursors.Normal, new Cursor(GetType(), "Arrow.cur"));
Later you can restore old cursor, if you want:
  SystemCursor.SetCursor(SystemCursors.Normal, defaultCursor);
or revert to deafult cursor settings:
  SystemCursor.RestoreSystemCursors();
At any time you can get handle of current cursor:
  IntPtr cursor = SystemCursor.GetCurrentCursor();
Demo project shows all the SystemCursor class' features:


System Cursor Demo


Evaluate Nostalgia .Net with free trial and order right now!

Must-have .Net Products
Nostalgia .Net Nostalgia .Net
Power of Win32 API in convenient .Net classes and components. The easiest way to expand your possibilities without Win32 skill. Full source codes incliuded. More »


Print Suite .Net Print Suite .Net
Set of components for easy printing texts, images and grids from your WinForms applications. Also Greatis Print Suite .Net offers the advanced DocumentDesigner component that allows creating complex print jobs from simple separated print content providers. More »


Greatis Software Greatis | Security | AppDatabase | Utilities | Delphi/CB | Visual Basic | .NET | just4fun

Contacts | Add to Favorites | Recommend to a Friend | Privacy Policy | Copyright © 1998-2012 Greatis Software

eXTReMe Tracker