How to eliminate fliker when sizing occ windows?

Hi, everybody:

Maybe all of us has know OCC4.0 still cause fliker when the window resizing. But It seems no one had post a solution about how to eliminate it, doesn't it?

If one know how to deal with it, thanks in advance.

fhchina

fhchina's picture

This is a problem with long history on the forum, but I have found a satisfactory solution. Thank you for taking it consideration.

fhchina

Martin Hammerle's picture

Could you tell us about your trick?

fhchina's picture

Hi,

I am very SORRY SORRY SORRY!!!

I make a mistake in writing.
I DON'T HAVE FOUND A SOLUTION.
and I post the first message to ask for help.

MISTAKE! MISTAKE!

very sorry for my mistake writing.
fhchina

Stephane Routelous's picture

Hi,

I assume you are on Windows:
3 solutions :
the easiest one :
disable the "show window content when dragging" in display properties/effects".

2/ catch the resize in your application and do the redisplay on the view when the resize is finished

3/ try with double-buffering.(WNT_Window::SetDoubleBuffer).
I tried once, but I didn't succeeded to have it working.

It will be good if you can take time to investigate the third solution, and share the results you get.