[webkit-dev] WM_PRINTCLIENT and when to send it

Adam Roben aroben at apple.com
Tue Feb 24 07:45:20 PST 2009


On Feb 24, 2009, at 4:44 AM, Frank Thomsen wrote:

> Hi
>
> I have hosted webkit in a hidden window (on a Windows platform), and  
> I need to find out when it is necessary to send a WM_PRINTCLIENT to  
> it. The problem is that at the moment I force Webkit to render every  
> 30 ms, which is far from optimal. Isn’t there some way for me to get  
> an event when it is time to redraw the UI?

IWebUIDelegatePrivate2::webViewPainted should be what you need.

-Adam

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090224/56bd326c/attachment.html>


More information about the webkit-dev mailing list