Hi,

I'm trying to implement a piece of UI in which I can draw it myself in the 
C++ code of a component.  I have one more or less working scheme in which I 
toss a <embed> tag into the XUL interface and implement my UI element as a 
plugin.  I'm wondering if there is another way to do this by somehow 
inserting my own implementation of a UI element into the DOM for the UI.  To 
that end ...

1) Is there a legit (or even semi-legit) way for a component to obtain the 
native widow handle for an <iframe> in a XUL interface?  To ask differently, 
if the frame element was passed into the component as an nsISupports pointer 
argument to one of its methods, is there a legit way to obtain the native 
window handle?

or

2) Is there a legit way for a component to draw into a XUL interface element 
through some established means of extending XUL?  Note that an extension 
with bitmaps etc as one would normally implement a toolbar is by no means 
sufficient for my situation unless I can somehow draw the contents of the 
images in C++ code myself programatically.

Thanks,
-martin


_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to