Flickerless Drawing

I drew a Bezier Curve with control points. The user can move the control
points and change the shape of the Curve with the mouse and (touchscreen is
enabled), so with his fingers. I simulate the “Stretching” effect in the
Mouse Down,Move and Release Callbacks. But my Problem is there is a lot of
flicker while moving the curve which increases when the touchscreen is used.
As mentioned in the Knowledge base, I tried using the PtDBContainer Widget
but that did’nt help.

Is there another way?