Best way is to remove CS_VREDRAW and CS_HREDRAW in the class style. Also,
calculating the new area to be drawn and only drawing there (if you don't
need to redraw the old area) will help a ton.
--
remove underscores to email
"Doug Forster" <doug_ZAPTHIS_AT_TONIQ_ZAPTHIS_co.nz> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Hi,
One approach is to intercept WM_ENTERSIZEMOVE and WM_EXITSIZEMOVE messages
to detect the start and end of the resizing operation and set a flag
during the move to stop painting until the drag finishes.