TrackPopupMenuFlags Enumeration

Specifies the alignment, discovery and animations of the menu.

For TrackPopupMenu(IntPtr, TrackPopupMenuFlags, Int32, Int32, Int32, IntPtr, IntPtr) function.

Definition

Namespace: DevCase.Win32.Enums
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[FlagsAttribute]
public enum TrackPopupMenuFlags

Remarks

Members

Align_Left 0 (TPM_LEFTALIGN) Positions the menu so that its left side is aligned with the coordinate specified by x.
Align_Horizontal 0 (TPM_HORIZONTAL) The menu is aligned horizontally, meaning it is centered horizontally and the coordinates are relative to the monitor.
Align_Top 0 (TPM_TOPALIGN) Positions the menu so that its top side is aligned with the coordinate specified by y.
Button_left 0 (TPM_LEFTBUTTON) The user can select menu items with left mouse button.
Recurse 1 (TPM_RECURSE) Display the menu using the keyboard's accelerator table.
Button_Right 2 (TPM_RIGHTBUTTON) The user can select menu items with right mouse button.
Align_Horizontal_Centered 4 (TPM_CENTERALIGN) Centers the menu horizontally relative to the coordinate specified by x.
Align_Right 8 (TPM_RIGHTALIGN) Positions the menu so that its right side is aligned with the coordinate specified by x.
Align_Vertical_Centered 16 (TPM_VCENTERALIGN) Centers the menu vertically relative to the coordinate specified by y.
Align_Bottom 32 (TPM_BOTTOMALIGN) Positions the menu so that its bottom side is aligned with the coordinate specified by y.
Align_Vertical 64 (TPM_VERTICAL) The menu is aligned vertically, meaning it is centered vertically and the coordinates are relative to the monitor.
NoSendNotify 128 (TPM_NONOTIFY) Do not send notification messages when the menu is destroyed.
ReturnCmd 256 (TPM_RETURNCMD) Return the menu item identifier of the item that was selected.
Animate_Horizontal_LeftToRight 1,024 (TPM_HORPOSANIMATION) Animates the menu from left to right.
Animate_Horizontal_RightToLeft 2,048 (TPM_HORNEGANIMATION) Animates the menu from right to left.
Animate_Horizontal_TopToBottom 4,096 (TPM_VERPOSANIMATION) Animates the menu from top to bottom.
Animate_Horizontal_BottomToTop 8,192 (TPM_VERNEGANIMATION) Animates the menu from bottom to top.
Animate_None 16,384 (TPM_NOANIMATION) Displays menu without animation.

See Also