int DisableExtendedMouseEvents (int panel, int ctrl);
This function stops a control from receiving the extended mouse events.
Input | ||
Name | Type | Description |
panel | integer | The specifier for a particular panel that is currently in memory. This handle will have been returned by the LoadPanel, NewPanel, or DuplicatePanel function. |
ctrl | integer | Pass the ID of the control for which to disable extended mouse events. The ID is the defined constant (located in the UIR header file) which was assigned to the control in the User Interface Editor, or the ID returned by the NewCtrl or DuplicateCtrl function. |
Name | Type | Description | ||
status | integer | Returns zero if the extended mouse events were disabled for the control, or a negative error code if the function failed. If extended mouse events have not been enabled for the control by a previous call to EnableExtendedMouseEvents, then the error code UIEInvalidControlType The possible negative error codes are:
A description of any of these error codes can be obtained using the GetGeneralErrorString function in the toolbox.fp instrument driver. |