COleControl::SetBorderStyle

Sets the stock BorderStyle property value of your control.

void SetBorderStyle(
   short sBorderStyle 
);

Parameters

  • sBorderStyle
    The new border style for the control; 0 indicates no border and 1 indicates a normal border.

Remarks

The control window will then be re-created and OnBorderStyleChanged called.

Requirements

Header: afxctl.h

See Also

Concepts

COleControl Class

COleControl Members

Hierarchy Chart

COleControl::GetBorderStyle

COleControl::OnBorderStyleChanged