8.8. BorderStyle Property

Description

BorderStyle - returns or sets a value that determines the border style.

Syntax

HRESULT put_BorderStyle(HANDLE handle, LONG Val);
HRESULT get_BorderStyle(HANDLE handle, LONG* pVal);

Remarks

Use BorderStyle property to specify the border style. This property is set by using one of the BorderStyle enumeration values:

Table 8.3. Border Styles

Constant Value Description
mbxBorderStyleNone 0 No border lines
mbxBorderStyleSolid 1 Solid line
mbxBorderStyleDash 2 Dash line
mbxBorderStyleDot 3 Dot line
mbxBorderStyleDashDot 4 Dash dot line
mbxBorderStyleDashDotDot 5 Dash dot dot line

See Also

Section 8.7, “BorderColor Property”

Section 8.9, “BorderWidth Property”