Search
Box.Repaint Method
See Also
 



Forces the box to redraw itself.

 Syntax

VB6  Copy Code

Public Sub Repaint ()

C++  Copy Code

public:
void Repaint ()

 Remarks

Use this method to refresh a custom-drawn box after the data it represents changes. Note that Repaint does not redraw the box immediately, but posts a WM_PAINT message to the message queue of the FlowChartX window. Thus, in order to implement animation, you must let FlowChartX process the messages in its message queue. Do that either by invoking DoEvents between calls to Repaint, or by repainting the box from a timer event handler.

 See Also