Sets system cursor.

Namespace:  Greatis.Nostalgia
Assembly:  Greatis.Nostalgia (in Greatis.Nostalgia.dll)

Syntax

Visual Basic (Declaration)
Public Shared Function SetCursor ( _
	cursorToReplace As SystemCursors, _
	newCursorHandle As IntPtr _
) As Boolean
C#
public static bool SetCursor(
	SystemCursors cursorToReplace,
	IntPtr newCursorHandle
)
Visual C++
public:
static bool SetCursor(
	SystemCursors cursorToReplace, 
	IntPtr newCursorHandle
)
JavaScript
Greatis.Nostalgia.SystemCursor.setCursor = function(cursorToReplace, newCursorHandle);

Parameters

cursorToReplace
Type: Greatis.Nostalgia..::.SystemCursors
System cursor type.
newCursorHandle
Type: System..::.IntPtr
New cursor.

Return Value

True when success, otherwise false.

See Also