News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Webbrowser redraw

Started by Lobotomy, August 24, 2006, 09:56:49 PM

Previous topic - Next topic

Lobotomy

Hello,

I'm sometimes getting weird redraw probs with WB on heavy sites -- it shows the parent, base window instead of the WB's, sometimes in chunks, until manual show/hide.

Is there a way to get around it? Would a separate thread for WB help? Or maybe an UpdateWindow with 1 sec interval in the WinMain loop?


KetilO

Hi

Quote
Or maybe an UpdateWindow with 1 sec interval in the WinMain loop?
This will not help as the handle you get is just to a container.

Quote
Is there a way to get around it? Would a separate thread for WB help?
Maybe.

Is your message loop slow?

KetilO

Lobotomy

It sure gets slow on heavy content, but this doesn't always cause the redraw problems. And sometimes these probs occur when the loop is totally fine -- I move the window here and there, but the WB window is not redrawn until I minimize/restore.

This is why i mentioned both threading and some kind of WB window update way.

The other thing is that these problems occur very rarely, and I cannot recreate them when i want, even if I overload cpu.

I'll try threading, what else to do.

KetilO

Hi

Setting WS_CLIPCHILDREN and WS_CLIPSIBLINGS on the container might help.

KetilO

Lobotomy

Oh, right! Can't test it right now, but, logically, it should solve it.

I lo thank you!