Hi Sadha,
Thanks for your reply. Actually I have both types of scrollbar that you
mentioned. I have a scrollbar control that is attached to a customer control
that I made. And Yes, I have the scroll event attached to this scrollbar
control. Besides, I am also using MDI, the mdi child got a scrollbar when it
is displayed inside the mdi parent form. Both of these scrollbars got the
same problem, occasionally. That really made me frustrated.
If there is some object that I forgot to initialize or dereferenced, guess
the error should happen every time, but it's not the case. It seems strange
to me that such exception is generated from
System.Windows.Forms.UnsafeNativeMethods.CallWindowProc, and in fact
everything in the call stack are internal method calls within the framework.
Hope the above could give you some clue to my problem..
Paul
> Hi paul,
> Before answering this question... i want to know the following things
[quoted text clipped - 50 lines]
> > at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
> > IntPtr wparam, IntPtr lparam)
Mavisahdas - 01 Sep 2004 06:41 GMT
hi paul,
Can u pls send the code of ur scroll event...
With regards,
Sadha Sivam S,
Microsoft Community Star,
KMG Info Tech,
Bangalore,
Mobile: 9880397583
Charles Collins - 10 Sep 2004 16:28 GMT
I have an application that is throwing the same error, but only when run
through terminal server. We have yet to see it in any other instance and it
is totally random and sporadic. A solution to this issue would be greatly
welcomed here too.
Charles
> Hi Sadha,
>
[quoted text clipped - 85 lines]
>> > msg,
>> > IntPtr wparam, IntPtr lparam)