Device.SetCursor Method

Language:

Sets the current cursor.

Definition

Visual Basic Public Sub SetCursor( _
    ByVal cursor As Cursor, _
    ByVal addWaterMark As Boolean _
)
C# public void SetCursor(
    Cursor cursor,
    bool addWaterMark
);
C++ public:
void SetCursor(
    Cursorcursor,
    bool addWaterMark
);
JScript public function SetCursor(
    cursor : Cursor,
    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


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center