oh, found I have to return a 7-tuple with Cancel as last one
return None, None, None, None, None, None, args.Cancel
Robert wrote:
class MyWebBrowser(activex.Control, WebBrowserModule.WebBrowser):
def OnBeforeNavigate2(self, pDisp, URL, Flags, TargetFrameName,
PostData, Headers, Cancel)
class MyWebBrowser(activex.Control, WebBrowserModule.WebBrowser):
def OnBeforeNavigate2(self, pDisp, URL, Flags,
TargetFrameName, PostData, Headers, Cancel):
...
Cancel is a simple Python bool. Unlike in MFC
CHtmlView::OnBeforeNavigate2 I cannot send a value back by ref
this way.
On 25/02/2010 09:55, Christophe Deze wrote:
Le 24/02/2010 20:18, Tim Roberts a écrit :
Christophe Deze wrote:
i'm looking for information about this error
Traceback (most recent call last):
File "Frame1.pyo", line 235, in run
File "wmi.pyo", line 1267, in connect
File "wmi.pyo", l
Le 24/02/2010 20:18, Tim Roberts a écrit :
Christophe Deze wrote:
i'm looking for information about this error
Traceback (most recent call last):
File "Frame1.pyo", line 235, in run
File "wmi.pyo", line 1267, in connect
File "wmi.pyo", line 241, in handle_com_error
x_wmi:
it run f