Paint

Function Name c:<CONTROL-NAME>#OnPaint
Syntax   (defun c:<CONTROL-NAME>#OnPaint (HasFocus [as Boolean] /)
)
Return Type Ignored
Applies To Picture Box, Slide View

This event is triggered when Windows has repainted the control. If any temporary graphics were drawn on the control, they must be redrawn. This event can be triggered often, so any code in the event handler should be fast and highly optimized.