System.Windows.Forms.WebBrowser with Java Applet. onchange event is not fired if select value from pop up using mouse
I am using custom implementation of System.Windows.Fo开发者_StackOverflow社区rms.WebBrowser (say ExtendedBrowser) in my application.http://www.codeproject.com/KB/cpp/ExtendedWebBrowser.aspx
I am loading an applet on this ExtendedBrowser. However problem is the onchange
event is not fired if a value is selected from the pop up using a mouse. All the other controls are working fine.
This problem doesn't occur with IE or FF, but only on the WebBrowser control. Any Idea what might be stopping event from being triggered.
Found a solution here. Need to call this.DefWndProc(ref m)
instead of base.WndProc(ref m)
for WM_MOUSEACTIVATE
精彩评论