Condividi tramite


CMFCButton::m_nAlignStyle

Specifies the alignment of the button text.

AlignStyle m_nAlignStyle;

Remarks

Use one of the following CMFCButton::AlignStyle enumeration values to specify the alignment of the button text:

Value

Description

ALIGN_CENTER

(Default) Aligns the button text to the center of the button.

ALIGN_LEFT

Aligns the button text to the left side of the button.

ALIGN_RIGHT

Aligns the button text to the right side of the button.

The CMFCButton constructor initializes this member to ALIGN_CENTER.

Requirements

Header: afxbutton.h

See Also

Reference

CMFCButton Class

Hierarchy Chart