BCGControlBar Pro for MFC
virtual void CBCGPBaseVisualObject::SetDirty ( BOOL  bSet = TRUE,
BOOL  bRedraw = FALSE 

Invalidates and redraws a visual object.

Call this method when you need to invalidate and redraw a visual object.

When a visual object is "dirty" it automatically recalculates its layout before paint.

bSetThe dirty flag. TRUE - set object "dirty" (invalid).
bRedrawTRUE- causes immediate redraw.