Device.SetCursor(Cursor,Boolean) Method (Microsoft.DirectX.Direct3D)

Sets the current cursor.

Definition

Visual Basic Public Sub SetCursor( _
    ByVal cursor As CursorLeave Site, _
    ByVal addWaterMark As Boolean _
)
C# public void SetCursor(
    CursorLeave Site cursor,
    bool addWaterMark
);
C++ public:
void SetCursor(
    CursorLeave Sitecursor,
    bool addWaterMark
);
JScript public function SetCursor(
    cursor : CursorLeave Site,
    addWaterMark : boolean
);

Parameters

cursor System.Windows.Forms.Cursor
Handle to the cursor.
addWaterMark System.Boolean
Set to true to add small grey characters that read "D3D" to the upper-left corner of the cursor image.

See Also