Dela 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

Concepts

MFC Hierarchy Chart

Reference

CMFCPopupMenu Class