Michal Ceresna <[EMAIL PROTECTED]> wrote:
> On Thursday 21 October 2004 10:43, Boris Zbarsky wrote:
>
>> Gervase Markham wrote:
>> > The DOM Inspector blink function uses a special border built into
>> > XUL boxes, I believe.
>>
>> Actually, no.  DOM inspector grabs the rendering context (or rather
>> tries to) and paints the lines directly to it.
>>
>> Sometimes it grabs the wrong one, of course, and then the lines can
>> end up getting hidden by other widgets on the page...
>
> Hello,
>
> We develop here an application with embedded mozilla and also deal
> with the problem how to draw on top of the rendered webpage.
>
> At the moment we use a DOM-inspector like code to do the painting.
> But the problem is that the drawing is lost if the webpage is
> repainted (e.g. scrolled or the chrome window is
> deactivated/activated) Fortunately, at the moment we use it only for
> blinking so it works.

i have copied the DOM-inspector like code to do my own painting.  it
works pretty well except the actual drawing of the lines doesn't appear
immediately after i run the code.  that is, it seems like the window or
the view has to refresh or something for the lines to appear.  is there
something i need to do?  thanks.

-- 
Xiaolei Li        |       [EMAIL PROTECTED]       |        www.xiaolei.org
_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to