constants CloseOnEnum
Specifies how a popup menu that hosts an ActiveX control is closed using the mouse. The CloseOn property indicates how an ActiveX popup menu is closed.

NameValueDescription
exUser0 The user is responsible for closing the popup menu.
exLButtonDown513 The popup menu is closed when user presses the left mouse button over the ActiveX control.
exLButtonUp514 The popup menu is closed when user releases the left mouse button over the ActiveX control.
exLButtonDblClk515 The popup menu is closed when user double click the ActiveX control.
exRButtonDown516 The popup menu is closed when user right clicks the ActiveX control.
exRButtonUp517 The popup menu is closed when user releases the right mouse button over the ActiveX control.
exRButtonDblClk518 The popup menu is closed when user double click the right mouse button in the ActiveX control.
exMButtonDown519 The popup menu is closed when user clicks the middle mouse button in the ActiveX control.
exMButtonUp520 The popup menu is closed when user releases the middle mouse button in the ActiveX control.
exMButtonDblClk521 The popup menu is closed when user double clicks the middle mouse button in the ActiveX control. 
exClick61441 The popup menu is closed when user presses any of the mouse buttons in the ActiveX control.
exDblClick61442 The popup menu is closed when user double clicks any of the mouse buttons in the ActiveX control.