> Hi all,
>
[quoted text clipped - 27 lines]
> The strange thing about this that it cannot be caught in the try catch
> blocks.
I think a try-catch in your main method around Application.Run will
intercept it.
> 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.
If you open the stack frame for
System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr
wparam, IntPtr lparam)
and look at hWnd, then open Spy++, you can find out what the HWND
corresponds to. Likely it will be the tooltip control itself, so find out
what message (starting with TTM_) msg is. Look that up on MSDN, and it will
explain what wparam and lparam mean.
> Does anybody has found any solution for such problem
>
> Thanks in advance