Sets the enabled status for a particular event.
Visual Basic |
---|
Public Sub EventSetEnabled( _ ByVal eEventID As enumEventID, _ ByVal bEventEnabled As Boolean _ ) |
- eEventID
A enumEventID enumeration value.Value Description EVENT_AUTOSIZECHANGED Autosize changed. EVENT_CLICK Click Events. EVENT_DBLCLICK Double Click Events. EVENT_IMAGESTATUS Image Status Events. EVENT_KEYDOWN Key Down Events. EVENT_KEYPRESS Key Press Events. EVENT_KEYUP Key Up Events. EVENT_MENUSELECT Menu select. EVENT_MOUSEDOWN Mouse Down Events. EVENT_MOUSEMOVE Mouse Move Events. EVENT_MOUSEUP Mouse Up Events. EVENT_NOTIFY Notify Events. EVENT_OLEDRAGDROP OLE Drag Drop Events. EVENT_OLEDRAGOVER OLE Drag Over Events. EVENT_PAINT Paint event. EVENT_PAINTBACKGROUND Paint the background event. EVENT_PAINTIMAGE Paint the image event. EVENT_PRINTIMAGE Print image. EVENT_PROGRESS The progress percentage passes one of the defined boundary values (e.g. 10, 20, 30...). EVENT_RESIZED Resized. EVENT_SCROLL One of the scroll bars was moved. EVENT_SCROLLBARVISIBLECHANGED Scrollbar visible changed. EVENT_TOOLBAR Toolbar. EVENT_TOOLBARCLOSE Toolbar close. EVENT_TOOLBAROPEN Toolbar open. EVENT_TOOLUSE Tool use. EVENT_TOUCHFLICK Touch Flick. EVENT_TOUCHPAN_GESTUREOCCURRED Touch Pan Gesture Occurred. EVENT_TOUCHPAN_GESTUREOCCURRING Touch Pan Gesture Occurring. EVENT_TOUCHPRESSANDHOLD Touch Press and Hold. EVENT_TOUCHPRESSANDTAP Touch Press and Tap. EVENT_TOUCHROTATION_GESTUREOCCURRED Touch Rotation Gesture Occurred. EVENT_TOUCHROTATION_GESTUREOCCURRING Touch Rotation Gesture Occurring. EVENT_TOUCHTWOFINGERTAP Touch Two-Finger Tap. EVENT_TOUCHZOOM_GESTUREOCCURRED Touch Zoom Gesture Occurred. EVENT_TOUCHZOOM_GESTUREOCCURRING Touch Zoom Gesture Occurring. EVENT_ZOOMFACTORCHANGED Zoom factor changed. - bEventEnabled
True to enable the given event.
False to disable the event and guarantee that the event will not be raised.