Flags that specify to position the shortcut menu.
Namespace:
ShellBoost.Core.WindowsShell
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax [FlagsAttribute]
public enum TPM
Members
| Member name | Value | Description |
---|
| TPM_LEFTBUTTON | 0 |
The user can select menu items with only the left mouse button.
|
| TPM_RIGHTBUTTON | 2 |
The user can select menu items with both the left and right mouse buttons.
|
| TPM_LEFTALIGN | 0 |
Positions the shortcut menu so that its left side is aligned with the coordinate specified by the x parameter.
|
| TPM_CENTERALIGN | 4 |
Centers the shortcut menu horizontally relative to the coordinate specified by the x parameter.
|
| TPM_RIGHTALIGN | 8 |
Positions the shortcut menu so that its right side is aligned with the coordinate specified by the x parameter.
|
| TPM_TOPALIGN | 0 |
Positions the shortcut menu so that its top side is aligned with the coordinate specified by the y parameter.
|
| TPM_VCENTERALIGN | 16 |
Centers the shortcut menu vertically relative to the coordinate specified by the y parameter.
|
| TPM_BOTTOMALIGN | 32 |
Positions the shortcut menu so that its bottom side is aligned with the coordinate specified by the y parameter.
|
| TPM_HORIZONTAL | 0 |
If the pop-up window cannot be shown at the specified location without overlapping the excluded rectangle, the system tries to accommodate the requested horizontal alignment before the requested vertical alignment.
|
| TPM_VERTICAL | 64 |
If the pop-up window cannot be shown at the specified location without overlapping the excluded rectangle, the system tries to accommodate the requested vertical alignment before the requested horizontal alignment.
|
| TPM_NONOTIFY | 128 |
The function does not send notification messages when the user clicks a menu item.
|
| TPM_RETURNCMD | 256 |
The function returns the menu item identifier of the user's selection in the return value.
|
| TPM_RECURSE | 1 |
Indicates that this is a pop-up menu for a pop-up menu.
|
| TPM_HORPOSANIMATION | 1024 |
Animates the menu from left to right.
|
| TPM_HORNEGANIMATION | 2048 |
Animates the menu from right to left.
|
| TPM_VERPOSANIMATION | 4096 |
Animates the menu from top to bottom.
|
| TPM_VERNEGANIMATION | 8192 |
Animates the menu from bottom to top.
|
| TPM_NOANIMATION | 16384 |
Displays menu without animation.
|
| TPM_LAYOUTRTL | 32768 |
To enable right-to-left text layout.
|
| TPM_WORKAREA | 65536 |
Restricts the pop-up window to within the work area.
If this flag is not set, the pop-up window is restricted to the work area only if the input point is within the work area.
|
See Also