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.

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top