CComControl::GetAmbientTextAlign

This method retrieves DISPID_AMBIENT_TEXTALIGN, the text alignment preferred by the container.

At a Glance

Header file: Atlctl.h
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

HRESULT GetAmbientTextAlign( short& nTextAlign );