Hi All,
Further to my other posts about tearing on Windows when using Freeze, I’ve discovered that the issue only occurs if I Freeze the top-level “overlapped” frame window. This post I made to the Dell forums contains a picture of the display glitch I’m seeing: http://forums.us.dell.com/supportforums/board/message?board.id=insp_video&message.id=138724.
The Win32 documentation for WM_SETREDRAW (which Freeze/Thaw uses) does not state that using it on a top-level window is a bad idea. The problem I’m seeing seems to be that redraws for the frozen window are disabled, but so are redraws for the windows behind in the region occupied by the frozen top level winodw.
I fixed my problems by adding a top-level child of the frame window, placing all children under it, and freezing it rather than the frame.
Regards,
Steven