Compartilhar via


COleControl::AmbientTextAlign

Determines the ambient text alignment preferred by the control container.

short AmbientTextAlign( );

Return Value

The status of the container's ambient TextAlign property. If this property is not supported, this function returns 0.

The following is a list of valid return values:

Return value

Meaning

0

General alignment (numbers to the right, text to the left).

1

Left justify

2

Center

3

Right justify

Remarks

This property is available to all embedded controls and is defined by the container. Note that the container is not required to support this property.

Requirements

Header: afxctl.h

See Also

Reference

COleControl Class

Hierarchy Chart