By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,589 Members | 1,194 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,589 IT Pros & Developers. It's quick & easy.

problem with tooltip on framework 2.0

P: n/a
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(Event Args 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.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(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

Oct 20 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.