The snippet cannot not give a hint wether I have a "windowed" plugin, because I copied it from the stackoverflow link I posted below. Indeed I do not know what you exactly mean by "windowed". I thought my plugin is
not windowed because it is an invisible container of service functions. No UI, besides some common win32 dialogues (as GetOpenFileName() ) that I call. But I thought too that this is the default. So now I am confused...
Taking your hint from below (and assuming I have no own plugin window), I exchanged "fb_win" with NULL and called the following
FB::PluginWindowWin* w = (FB::PluginWindowWin*)(NULL);
HWND hWndBrowser = GetAncestor( w->getHWND(), GA_ROOTOWNER );
But calling this makes my plugin crash! I have the feeling that I am completely on the wrong path. Please help!