Category Custom user interface, Object ProUIDrawingarea

Function ProUIDrawingareaResizeActionSet


Description
Set the function to be called when the drawing area is resized. Note: the drawing area contents are typically cleared after a resize.
Synopsis
#include <ProUIDrawingarea.h>
ProErrorProUIDrawingareaResizeActionSet(
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 drawing area is resized.
*/
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