nsIWidget, getNativeData(NS_NATIVE_WINDOW), and window handles
"John Nason" <jnason@NO_SPAMrational.com.netscape.com> Mon, 30 Dec 2002 10:20:19 -0500
| Newsgroups | gmane.comp.mozilla.devel.xpcom |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <[email protected]> |
Hello all, The testing tool that we are developing relied on nsIWidget::getNativeData(NS_NATIVE_WINDOW) to get the window handle of the browser and heavy weight controls (runs on win/solaris/linux). This worked as of Netscape 7.0 (Moz1.0). When 7.01 (Moz1.0.2) came out this functionallity "broke". getNativeData returns null no matter what propery is queried for. Granted, this is internal use api, but there does not appear to be any other way to do this. Does any one have any idea what happened, a way to get around it, or another approach to getting native window handles? Also, does any one know if the 1.0.2 source is available? I do not use CVS... I have just been getting the tarred source but can only find 1.0.1 (which works) and not 1.0.2. Thanks a lot. -john