ImageEn, unit iexFolderMView |
|
TImageEnFolderMView.PopupSystemMenu
Declaration
procedure PopupSystemMenu(X, Y: Integer; Flags: LongWord = 0);
Description
Displays the system menu for the specified files at position x,y. This menu is the same as that displayed when right-clicking a selection of files in Windows Explorer.
Use Flags to customize the items of the popup menu using CMF_* constants, such as CMF_CANRENAME. Default is: CMF_EXPLORE or CMF_CANRENAME
Note:
◼If
AutoRefresh is not enabled, the control may not update the display of files that are moved or renamed
◼Has no effect if a
device folder is displayed
ImageEnFolderMView1.PopupSystemMenu( ClickPos.X, ClickPos.Y );
// Show simpler popup menu
ImageEnFolderMView1.PopupSystemMenu( ClickPos.X, ClickPos.Y, CMF_NOVERBS or CMF_CANRENAME );
See Also
◼PopupSystemMenu