A | B | C |  D | E | F |  G | H | I |  J | K | L |  M | N | O |  P | Q | R |  S | T | U |  V | W | X |  Y | Z



GetCursor

The GetCursor function retrieves the handle of the current cursor.

VB4-32,5,6
Declare Function GetCursor Lib "user32" Alias "GetCursor" () As Long

VB.NET
System.Windows.Forms.Cursor.Current

Operating Systems Supported
Requires Windows NT 3.1 or later; Requires Windows 95 or later

Library
User32

Return Values
If the function succeeds, the return value is the handle of the current cursor.

If there is no cursor, the return value is NULL.

Last update: 07 April 2006