In my app I am using wx.TipWindow which is derived from the above I get an un-handeled exception.
In the wxPython demo I see the following when I press Ctrl when the popup is shown.
Debug: ..\..\src\msw\window.cpp(643): 'SetFocus' failed with error 0x00000057 (the parameter is incorrect.).
OnDismiss
Does anyone know what causes this and how I could catch the un-handeled exception. I tried to wrap the wx.TipWindow call into a try/except but that does not catch this exception.
In my app I am using wx.TipWindow which is derived from the above I get an un-handeled exception.
In the wxPython demo I see the following when I press Ctrl when the popup is shown.
Debug: ..\..\src\msw\window.cpp(643): 'SetFocus' failed with error 0x00000057 (the parameter is incorrect.).
OnDismiss
Does anyone know what causes this and how I could catch the un-handeled exception. I tried to wrap the wx.TipWindow call into a try/except but that does not catch this exception.
Werner
The debug error actually shows just after hitting the button to show the popup, not when I hit ctrl.
In my app I am using wx.TipWindow which is derived from the above I get an un-handeled exception.
In the wxPython demo I see the following when I press Ctrl when the popup is shown.
Debug: ..\..\src\msw\window.cpp(643): 'SetFocus' failed with error 0x00000057 (the parameter is incorrect.).
OnDismiss
Does anyone know what causes this and how I could catch the un-handeled exception. I tried to wrap the wx.TipWindow call into a try/except but that does not catch this exception.
It's not an exception, it's simply a log message logged in response to the native SetFocus API returning an error code. I'm not sure if anything can be done about it, but go ahead and log a bug report about it.
ยทยทยท
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
In my app I am using wx.TipWindow which is derived from the above I get an un-handeled exception.
In the wxPython demo I see the following when I press Ctrl when the popup is shown.
Debug: ..\..\src\msw\window.cpp(643): 'SetFocus' failed with error 0x00000057 (the parameter is incorrect.).
OnDismiss
Does anyone know what causes this and how I could catch the un-handeled exception. I tried to wrap the wx.TipWindow call into a try/except but that does not catch this exception.
It's not an exception, it's simply a log message logged in response to the native SetFocus API returning an error code. I'm not sure if anything can be done about it, but go ahead and log a bug report about it.