Category Custom user interface, Object ProUIDrawingarea

Function ProUIDrawingareaMbuttonarmActionSet


Description
Set the function to be called when the middle mouse button is pressed in the drawing area.
Synopsis
#include <ProUIDrawingarea.h>
ProErrorProUIDrawingareaMbuttonarmActionSet(
char* dialog
/* (In)
The name of the dialog that contains the drawing area.
*/
char* component
/* (In)
The name of the drawing area component.
*/
ProUIAction callback
/* (In)
Function to be called when the middle mouse button is pressed.
*/
ProAppData data
/* (In)
Action data passed to the callback function. Can be NULL.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_GENERAL_ERRORThe function failed.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.

Manual References:

  1. User Interface: Dialogs: Drawing Area Action Callbacks
  2. User Interface: Dialogs: Drawing Area Action Callbacks