COleControl::SetAppearance

Sets the stock Appearance property value of your control.

void SetAppearance ( 
   short sAppearance  
);

Parameters

  • sAppearance
    A short (VT_I2) value to be used for the appearance of your control. A value of zero sets the control's appearance to flat and a value of 1 sets the control's appearance to 3D.

Remarks

For more about stock properties, see ActiveX Controls: Properties.

Requirements

Header: afxctl.h

See Also

Reference

COleControl Class

Hierarchy Chart

COleControl::GetAppearance

COleControl::OnAppearanceChanged