Re: Getting a Firefox Tab window handle using the DOM?
Rob Arnold <[email protected]> Wed, 12 May 2010 12:15:15 -0400
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Message-ID | <[email protected]> |
It is possible with some native code but at some point in the future it will not be as tabs will no longer have native HWNDs. For now, all you need is the nsIDocShell associated with the tab (gBrowser.selectedTab.docShell I believe). Once you have that, in native code you can do something like this: http://mxr.mozilla.org/mozilla-central/source/widget/src/windows/WinTaskbar.cpp#70 -Rob On Wed, May 12, 2010 at 2:57 AM, Yotam <[email protected]> wrote: > I have the gBrowser.selectedTab and I'm trying to get the window > handle (MS windows) > Is it possible to retrieve the window handle? > _______________________________________________ > dev-tech-dom mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-tech-dom >