S
sonali_reddy123
Hi all,
I am experiencing a strange problem for the call setToolTip while
running my application on frmaework 2.0. I have found 2 messages on
google discussing the same issue but there are
no replys
It dumps saying something like
System.InvalidOperationException: Adding the tip to the native ToolTip
control did not succeed.
at System.Windows.Forms.ToolTip.SetToolInfo(Control ctl, String
caption)
at System.Windows.Forms.ToolTip.CreateRegion(Control ctl)
at System.Windows.Forms.ToolTip.CreateAllRegions()
at System.Windows.Forms.ToolTip.get_TopLevelControl()
at System.Windows.Forms.ToolTip.CreateRegion(Control ctl)
at System.Windows.Forms.ToolTip.HandleCreated(Object sender,
EventArgs eventargs)
at System.Windows.Forms.Control.OnHandleCreated(EventArgs e)
at System.Windows.Forms.Control.WmCreate(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Label.WndProc(Message& m)
at
System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&
m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32
msg, IntPtr wparam, IntPtr lparam)
The strange thing about this that it cannot be caught in the try catch
blocks.
Actually I have set the tooltip to most of the controls in my
application. It sets and displays it properly but somewhere in the
middle it dumps. The trace I am getting won't tell me exactly to which
tooltip it dumps so I am not able to figure out exactly.
Does anybody has found any solution for such problem
Thanks in advance
I am experiencing a strange problem for the call setToolTip while
running my application on frmaework 2.0. I have found 2 messages on
google discussing the same issue but there are
no replys
It dumps saying something like
System.InvalidOperationException: Adding the tip to the native ToolTip
control did not succeed.
at System.Windows.Forms.ToolTip.SetToolInfo(Control ctl, String
caption)
at System.Windows.Forms.ToolTip.CreateRegion(Control ctl)
at System.Windows.Forms.ToolTip.CreateAllRegions()
at System.Windows.Forms.ToolTip.get_TopLevelControl()
at System.Windows.Forms.ToolTip.CreateRegion(Control ctl)
at System.Windows.Forms.ToolTip.HandleCreated(Object sender,
EventArgs eventargs)
at System.Windows.Forms.Control.OnHandleCreated(EventArgs e)
at System.Windows.Forms.Control.WmCreate(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Label.WndProc(Message& m)
at
System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&
m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32
msg, IntPtr wparam, IntPtr lparam)
The strange thing about this that it cannot be caught in the try catch
blocks.
Actually I have set the tooltip to most of the controls in my
application. It sets and displays it properly but somewhere in the
middle it dumps. The trace I am getting won't tell me exactly to which
tooltip it dumps so I am not able to figure out exactly.
Does anybody has found any solution for such problem
Thanks in advance