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!

ControlPaint.DrawFocusRectangle (Graphics, Rectangle)

Draws a focus rectangle. A focus rectangle is a dotted rectangle that Windows uses to indicate what control has the current keyboard focus.

[Visual Basic]
Overloads Public Shared Sub DrawFocusRectangle( _
   ByVal g As Graphics, _
   ByVal r As Rectangle _
)
[C#]
public static void DrawFocusRectangle(
   Graphics g,
   Rectangle r
);
[C++]
public: static void DrawFocusRectangle(
   Graphics* g,
   Rectangle r
);
[JScript]
public static function DrawFocusRectangle(
   g : Graphics,
   r : Rectangle
);

Parameters

g
The graphics to draw the focus rectangle on.
r
The rectangle to draw.

See Also

ControlPaint Class | ControlPaint Members | System.WinForms Namespace | ControlPaint.DrawFocusRectangle Overload List