In fact my progr already checks this and switches to windowed mode before making the openurl.
It works on Mac OS X, but not on Win. On Win, simply nothing happens (i.e. the switch of course happens, but no browser or browser window opens)
It works on Mac OS X, but not on Win. On Win, simply nothing happens (i.e. the switch of course happens, but no browser or browser window opens)