Forum Post: Re: Ways To Prevent Flickering Of Screens ?

  • Thread starter Thread starter Matt Gilarde
  • Start date Start date
Status
Not open for further replies.
M

Matt Gilarde

Guest
I know that people, including people in Progress support, have recommended using LockWindowUpdate to temporarily stop painting but that's not really what it's for. LockWindowUpdate is meant to be used only when the user is doing some sort of dragging operation like resizing a window or drag and drop. Using it to prevent painting in your application can break functionality in the operating system or other applications. Using the WM_SETREDRAW message is the proper way to prevent a window from being painted.

Continue reading...
 
Status
Not open for further replies.
Back
Top