views:

80

answers:

0

I have a layered (TransparencyKey is set) winform w/ a WebBrowser control on it that navigates to a page that contains flash (swf).

Everything works okay except that when flash shows a security popup, none of the buttons on the popup respond to mouse click, so I can't click Allow/Deny. Right-click works but only shows the context menu that is normal to flash.

I tried overriding WndProc on the WebBrowser control, as suggested here, but it still does not respond to mouse click.

If I comment out the TransparencyKey setting, even w/o the WndProc override, the buttons respond.

I thought this'd be a container issue so I decided to host the swf file on the form, using the example here, but this, too, had the same problem w/ layered window.

So, is there another way that can get around this problem? What is it w/ layered window that renders the buttons on the flash popup unclickable? What is it w/ flash...?