Partager via


CMFCPopupMenu::IsRightAlign

Indicates whether the menu is right-aligned or left-aligned.

BOOL IsRightAlign() const;

Return Value

TRUE if the menu is right-aligned; FALSE if the menu left-aligned.

Remarks

You can use CMFCPopupMenu::SetRightAlign to set the menu alignment. By default, pop-up menus use left-alignment.

Menu alignment is not a global setting and can vary between pop-up menus.

Requirements

Header: afxpopupmenu.h

See Also

Reference

CMFCPopupMenu Class

Hierarchy Chart

CMFCPopupMenu::SetRightAlign