Peter,
If you insist using Win32 API you can consider sending WM_SETREDRAW message
to the window.
--
HTH
Stoitcho Goutsev (100)
"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:Oc**************@TK2MSFTNGP11.phx.gbl...
What is the Win32 API that I can use through PInvoke that will lock the
screen refresh so that I can prevent flickers?