Partilhar via


CMFCPopupMenu::SetRightAlign

Sets the menu alignment for pop-up menus.

void SetRightAlign(
   BOOL bRightAlign = TRUE
);

Parameters

  • [in] bRightAlign
    A Boolean that indicates the menu alignment. TRUE indicates right alignment, FALSE indicates left alignment.

Remarks

By default, all pop-up menus are left-aligned.

Requirements

Header: afxpopupmenu.h

See Also

Reference

CMFCPopupMenu Class

Hierarchy Chart