Hi, Bill:
Thanks for your more detailed consideration.
Actually my userControl will be hosted in IE, so if use interop to call the
Win32 ScrollWindow API will
cause secrurity problem.
The logic difficulty is, I want implement a feature like MS Excel's freezing
window. The top left area is
frozen, the left area, top area, and bottom right can be scrolled.
> "I wrote a winform control, and want to scroll some part of the control,
> but
[quoted text clipped - 13 lines]
>
> best, Bill
Michael C - 11 Mar 2008 03:58 GMT
> Hi, Bill:
>
[quoted text clipped - 6 lines]
> freezing window. The top left area is
> frozen, the left area, top area, and bottom right can be scrolled.
Dot net supports a scrollable control feature by setting by using the 3
Autoscroll properties. This applies to the entire control though so in order
to do what you want you'll need to use 2 usercontrols.