Expand Minimize
This topic has not yet been rated - Rate this topic

CMFCPopupMenu::IsRightAlign

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

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.