SetDrawingStyle method


Available for Window and Picture objects.

Prototype

SetDrawingStyle Proto hWnd:HWND, lStyle:LONG

Syntax

Invoke SetDrawingStyle, hWnd, lStyle

Function

Sets the DrawingStyle property for an object.

Parameters

hWnd

Handle to the object.

lStyle

A LONG value specifying the new pen style for the object. It can be one of the following values:

0 ecSolid
1 ecDash
2 ecDot
3 ecDashDot
4 ecDashDotDot
5 ecNull
6 ecInsideFrame

Return value

Eax returns TRUE if succesful, or FALSE if not.


REMARKS
: The pen style will be used for drawing in the
Circle and Line methods.