Provides an opportunity to change the current mouse cursor.
Protected Overrides Sub OnSetCursor
protected override void OnSetCursor()
protected: virtual void OnSetCursor() override
abstract OnSetCursor : unit -> unit override OnSetCursor : unit -> unit
This method sets the mouse cursor according to the following rules: If the toolbox service has a tool selected, it allows the toolbox service to set the cursor. Otherwise, the mouse cursor is set to the default mouse cursor.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2