COleControl::SetAppearance

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

Call this function to set the stock Appearance property value of your control. For more about stock properties, see ActiveX Controls: Properties in Visual C++ Programmer’s Guide.

COleControl OverviewClass MembersHierarchy Chart

See Also   COleControl::GetAppearance, COleControl::OnAppearanceChanged