The CloseOnEnum type specifies how an item that
contains an ActiveX inside is close. The
CloseOn
property indicates how the user closes the context menu when an inside ActiveX
control is clicked. The CloseOnEnum type supports the following values:
| | Name | Value | Description | |
| |
exUser | 0
|
The user is responsible for closing the popup menu.
| |
| |
exLButtonDown | 513
|
The popup menu is closed when user presses the left mouse button over the ActiveX control.
| |
| |
exLButtonUp | 514
|
The popup menu is closed when user releases the left mouse button over the ActiveX control.
| |
| |
exLButtonDblClk | 515
|
The popup menu is closed when user double click the ActiveX control.
| |
| |
exRButtonDown | 516
|
The popup menu is closed when user right clicks the ActiveX control.
| |
| |
exRButtonUp | 517
|
The popup menu is closed when user releases the right mouse button over the ActiveX control.
| |
| |
exRButtonDblClk | 518
|
The popup menu is closed when user double click the right mouse button in the ActiveX control.
| |
| |
exMButtonDown | 519
|
The popup menu is closed when user clicks the middle mouse button in the ActiveX control.
| |
| |
exMButtonUp | 520
|
The popup menu is closed when user releases the middle mouse button in the ActiveX control.
| |
| |
exMButtonDblClk | 521
|
The popup menu is closed when user double clicks the middle mouse button in the ActiveX control.
| |
| |
exClick | 61441
|
The popup menu is closed when user presses any of the mouse buttons in the ActiveX control.
| |
| |
exDblClick | 61442
|
The popup menu is closed when user double clicks any of the mouse buttons in the ActiveX control.
| |