Compartilhar via


COleControl::GetAppearance

Implements the Get function of your control's stock Appearance property.

short GetAppearance ( );

Return Value

The return value specifies the current appearance setting as a short (VT_I2) value, if successful. This value is zero if the control's appearance is flat and 1 if the control's appearance is 3D.

Requirements

Header: afxctl.h

See Also

Reference

COleControl Class

Hierarchy Chart

COleControl::SetAppearance

COleControl::OnAppearanceChanged