hyyly / csexwb2

Automatically exported from code.google.com/p/csexwb2
0 stars 0 forks source link

WBGetOptionKeyPath called from constructor instead of first Navigate() #47

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Write a code:
            cEXWB webBrowser = new cEXWB();
            webBrowser.WBGetOptionKeyPath += webBrowser_WBGetOverrideKeyPath;

2. Run it and set a break in csexwb.cs,
IDocHostUIHandler.GetOptionKeyPath(out string pbstrKey, uint dw)
3.

What is the expected output? What do you see instead?
webBrowser_WBGetOverrideKeyPath doesn't get called. GetOptionKeyPath is
called only from:
>
csExWB.cEXWB.IfacesEnumsStructsClasses.IDocHostUIHandler.GetOptionKeyPath(out
string pbstrKey = null, uint dw = 0)    C#
    csExWB.cEXWB.Navigate(string URL = "about:blank")   C#
    csExWB.cEXWB.InternalCreateWB() C#
    csExWB.cEXWB.OnHandleCreated(System.EventArgs e = {System.EventArgs})   C#
    csExWB.cEXWB.WndProc(ref System.Windows.Forms.Message m = {msg=0x1
(WM_CREATE) hwnd=0x40a72 wparam=0x0 lparam=0x5d4ec8c result=0x0})   C#
    csExWB.cEXWB.cEXWB()    C#

and doesn't get called later.

So effectively, it has no effect.

What are the OS and IE versions?
Windows Vista SP1 russian.
IE 7.0.6000.16643

What version of the product are you using?
1.0.0.7

Please provide any additional information below.

Original issue reported on code.google.com by singa...@gmail.com on 12 Jun 2008 at 7:18

GoogleCodeExporter commented 9 years ago
Please download the V2 of the this control. V1.0.0.7 is deprecated.

keep in mind that GetOptionKeyPath is called only once during the 
initialization of 
the webbrowser control. Refer to MSDN IDocHostUIHandler.GetOptionKeyPath.

Regards,

MH

Original comment by mehr...@gmail.com on 12 Jun 2008 at 6:52