Export (0) Print
Expand All
Expand Minimize


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

BOOL IsRightAlign() const;

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

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.

Header: afxpopupmenu.h

© 2014 Microsoft