User's Guide > User Interface: Dialogs > Drawing_Area > Drawing Area Action Callbacks
Drawing Area Action Callbacks
Functions Introduced
Use the function ProUIDrawingareaEnterActionSet() to set the action function to be called when the user has moved the cursor into the drawing area. This action will be generated only if tracking is enabled for the drawing area.
Use the function ProUIDrawingareaExitActionSet() to set the function to be called when the user has moved the cursor out of the drawing area. This action will be generated only if tracking is enabled for the drawing area.
Use the function ProUIDrawingareaMoveActionSet() to set the function to be called when the cursor is moved over the drawing area. This action will be generated only if tracking is enabled for the drawing area.
Use the function ProUIDrawingareaLbuttonarmActionSet() to set the function to be called when the left mouse button is clicked in the drawing area.
Use the function ProUIDrawingareaLbuttondisarmActionSet() to set the function to be called when the left mouse button is released in the drawing area.
Use the function ProUIDrawingareaLbuttonactivateActionSet() to set the function to be called when the left mouse button is clicked and released in the drawing area.
Use the function ProUIDrawingareaLbuttondblclkActionSet() to set the function to be called when the left mouse button is double-clicked in the drawing area.
Use the function ProUIDrawingareaMbuttonarmActionSet() to set the function to be called when the middle mouse button is clicked in the drawing area.
Use the function ProUIDrawingareaMbuttondisarmActionSet() to set the function to be called when the middle mouse button is released in the drawing area.
Use the function ProUIDrawingareaMbuttonactivateActionSet() to set the function to be called when the middle mouse button is clicked and released in the drawing area.
Use the function ProUIDrawingareaMbuttondblclkActionSet() to set the function to be called when the middle mouse button is double-clicked in the drawing area.
Use the function ProUIDrawingareaRbuttonarmActionSet() to set the function to be called when the right mouse button is clicked in the drawing area.
Use the function ProUIDrawingareaRbuttondisarmActionSet() to set the function to be called when the right mouse button is released in the drawing area.
Use the function ProUIDrawingareaRbuttonactivateActionSet() to set the function to be called when the right mouse button is clicked and released in the drawing area.
Use the function ProUIDrawingareaRbuttondblclkActionSet() to set the function to be called when the right mouse button is double-clicked in the drawing area.
Use the function ProUIDrawingareaUpdateActionSet() to set the function to be called when the drawing area needs to be updated due to a system-level color scheme change.
Use the function ProUIDrawingareaResizeActionSet() to set the function to be called when the drawing area is resized.
Note:
 
Any graphics, text or images added to the drawing area is typically cleared after a resize.
Use the function ProUIDrawingareaPostmanagenotifyActionSet() to set the function to be called when the drawing area has just been displayed. Use this callback to setup the initial graphics, text, and images in the drawing area.
È stato utile?