MenuControlConstants

Alignment and trigger-button flags for the PopupMenu method.

Alignment

Constant Value Description
vbPopupMenuLeftAlign 0 The popup is positioned with its left edge at x.
vbPopupMenuCenterAlign 4 The popup is positioned centred on x.
vbPopupMenuRightAlign 8 The popup is positioned with its right edge at x.

Activation button

Constant Value Description
vbPopupMenuLeftButton 0 Items are selected with the left mouse button only.
vbPopupMenuRightButton 2 Items can be selected with either the left or the right mouse button.