NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

IToolboxService.SetCursor

This sets the current application's cursor to a cursor that represents the currently selected tool. If no tool is selected this will default to the standard Windows cursor.

[Visual Basic]
Function SetCursor() As Boolean
[C#]
bool SetCursor();
[C++]
bool SetCursor() = 0;
[JScript]
function SetCursor() : Boolean;

Return Value

This will return true if the cursor was set to the currently selected tool, or false if there is no tool selected and the cursor was set to the standard windows cursor.

See Also

IToolboxService Interface | IToolboxService Members | System.WinForms.Design Namespace