Domanda

Is there any way to cast HWND FB::PluginWindowWin::getBrowserHWND to NSWindow *? The reason why I need this, is to interact with Browser window, from my Cocoa app for OSX, (like open sheet on it,etc..). If there is no way, how else it can be done, any idea?

Thanks a lot.

È stato utile?

Soluzione

You can't get the NSWindow from a Mac NPAPI plugin. Back in the day of carbon it used to be possible to get some of them, but it was never a supported feature, just something that happened to work in some versions.

Sorry for the bad news

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top