Re: Avoiding blink when redraw controls

2008-05-28 Thread Steve Achelis
FrmHideObject() sets the usable attribute false, so it won't redraw. I then tried FrmHideObject(), FrmShowObject() and CtlDrawControl(), but (surprising to me) this caused the entire form to be repainted (i.e., I only did this for one control on the form as a test, but the entire form was updated

Avoiding blink when redraw controls

2008-05-28 Thread Steve Achelis
I have a progress form that is updated every few seconds. I do this by changing the contents of a few controls (labels). I currently force the controls to be redrawn using FrmDrawForm(). However, this causes the entire form to blink each time. I tried calling CtlDrawControl(), but the controls

Re: Avoiding blink when redraw controls

2000-11-03 Thread Steve Achelis
FrmHideObject() sets the usable attribute false, so it won't redraw. I then tried FrmHideObject(), FrmShowObject() and CtlDrawControl(), but (surprising to me) this caused the entire form to be repainted (i.e., I only did this for one control on the form as a test, but the entire form was

Re: Avoiding blink when redraw controls

2000-11-03 Thread Aaron Ardiri
FrmHideObject() sets the usable attribute false, so it won't redraw. I then tried FrmHideObject(), FrmShowObject() and CtlDrawControl(), but (surprising to me) this caused the entire form to be repainted (i.e., I only did this for one control on the form as a test, but the entire form was

Avoiding blink when redraw controls

2000-11-02 Thread Steve Achelis
I have a "progress" form that is updated every few seconds. I do this by changing the contents of a few controls (labels). I currently force the controls to be redrawn using FrmDrawForm(). However, this causes the entire form to blink each time. I tried calling CtlDrawControl(), but the

Re: Avoiding blink when redraw controls

2000-11-02 Thread Dave Johnson
At 3:39 PM -0700 11/2/00, Steve Achelis wrote: Anyone know how I can cause the label controls to be updated without drawing the entire form? Have you tried hiding the object (FrmHideObject), updating the label, then showing it again? Worth a try... Dave Johnson -- For information on using the