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
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
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
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
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
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