Allows you to enable, disable, or modify event processing for the specified control. In addition, it supports the qualifying of any Windows message.
To request that a certain Windows message be sent to the WINMSG event.
To request that OLE messages be sentfo to the OLE event.
Parameters are as follows.
|ControlID||Same information as contained in the ctrlEntID variable, from an event handler. The structure is Parent.Object, where Parent is the window identifier, and Object is the name of the control, and where Parent and Object are delimited by a period.|
|Eventname||Name of the event.|
Pass 1 to allow event processing, or 0 to prevent it.
|CtrlEntID||The qualified name of the window or control.|
|Umsg||The ID of the Windows message; this can be passed as a decimal (eg., 123) or a hexidecimal (eg., "0x123").|
|Brequest||Pass true to request the message or false to revoke the request for the message.|
The Qualifier passed to Re-enable (or modify) the event processing is composed of the number of parameters and the key to the SYSREPOSEVENTEXES table, separated by an asterisk. For example, the Qualifier for the CLICK event (which takes only the two standard parameters, CtrlEntID and CtrlClassID) for the "OK" button on a SYSPROG application window named "MY_MSG" has the following format:
The current event specifier.