INTERACT FORUM

Windows => Plug-in Development => Topic started by: RhinoBanga on August 12, 2002, 08:24:01 am

Title: Interface Flickering
Post by: RhinoBanga on August 12, 2002, 08:24:01 am
Hi Guys,

I am trying to get AV2 as flicker free as possible when resizing.

One of the tips mentioned in the MSDN (Q183210) is to get rid of CS_HREDRAW/CS_VREDRAW in your window class styles.

I have done that will all my windows but from looking at Spy|PLS||PLS| it seems that the window containing my ATL control has these two styles set.

Do you guys create the window or is it an ATL/MFC thing?
Title: RE:Interface Flickering
Post by: Nikolay on August 13, 2002, 05:55:25 am
Rhino,

Try WS_CLIPCHILDREN | WS_CLIPSIBLINGS that helps to eliminate flickering in a lot of cases but then you have to deal with some painting problems.

Nikolay