Microsoft DirectX 9.0 SDK Update (October 2004)

Device.SetCursor Method

Language:

Note: This documentation is preliminary and is subject to change.

Sets the current cursor.

Definition

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


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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