Share via


CMFCCaptionBar::GetAlignment

Returns the alignment of the specified element.

BarElementAlignment GetAlignment(
   BarElement elem 
);

Parameters

  • [in] elem
    A caption bar element for which to retrieve alignment.

Return Value

The alignment of an element, such as a button, a bitmap, text, or an icon.

Remarks

The alignment of the element can be one of the following values:

  • ALIGN_INVALID

  • ALIGN_LEFT

  • ALIGN_RIGHT

  • ALIGN_CENTER

Requirements

Header: afxcaptionbar.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCCaptionBar Class