COleControl::AmbientAppearance

Retrieves the current appearance setting for the control object.

short AmbientAppearance( );

Return Value

The appearance of the control:

  • 0   Flat appearance

  • 1   3D appearance

Remarks

Call this function to retrieve the current value of the DISPID_AMBIENT_APPEARANCE property for the control.

Requirements

Header: afxctl.h

See Also

Concepts

COleControl Class

COleControl Members

Hierarchy Chart