SetDrawingWidth method


Available for Window and Picture objects.

Prototype

SetDrawingWidth Proto hWnd:HWND, lWidth:LONG

Syntax

Invoke SetDrawingWidth, hWnd, lWidth

Function

Sets the DrawingWidth property for an object.

Parameters

hWnd

Handle to the object.

lWidth

A LONG value specifying the new pen width, in pixels, for the object.

Return value

Eax returns TRUE if succesful, or FALSE if not.


REMARKS
: The pen width is always specified in pixels and it is used for drawing by the
Circle and Line methods.