Share via


CComControlBase::GetAmbientTopToBottom

Retrieves DISPID_AMBIENT_TOPTOBOTTOM, the direction in which content is displayed by the container.

HRESULT GetAmbientTopToBottom(
   BOOL& bTopToBottom 
);

Parameters

  • bTopToBottom
    The property DISPID_AMBIENT_TOPTOBOTTOM. Set to TRUE if text is displayed top to bottom, FALSE if it is displayed bottom to top.

Return Value

Returns S_OK on success, or an error HRESULT on failure.

Requirements

Header: atlctl.h

See Also

Reference

CComControlBase Class

Other Resources

CComControlBase Members

CComControlBase Members