nStyle

Flag that indicates the style of the border. Possible values are:

Value

Meaning

BORDER_STYLE_TRANSPARENT

[0] The border is transparent. Therefore, the bitmap itself shows through as the border.

BORDER_STYLE_OPAQUE

[1] Use a single color to create the border. The color used is crGradientStart.

BORDER_STYLE_GRADIENT

[2] The border contains a color gradient from crGradientStart to crGradientEnd.

BORDER_STYLE_TILES

[3] The border is taken from the bitmap referenced by the TileBitmap parameter.