Any reasons why you need such control if Panel is already a
ScrollableContainer? Besides, if you only want to modify the borders, you
can customize your border with the .NET panel by processing your own
WM_NCPAINT message.

Signature
Joey Calisay
http://spaces.msn.com/members/joeycalisay/
> I am trying to create a GroupBox control with support for scrolling the inner
> content and nicer looking borders. How do I go about positioning the
[quoted text clipped - 12 lines]
>
> Thanks.
WWalden - 20 Jan 2005 12:49 GMT
Thanks for the reply. My reasoning is simply that I am trying to create a
high quality control. My borders can use several styles, thicknesses, etc.
Processing WM_NCPAINT draws the border, but the scrollbars and controls get
painted over it.
I know I could tell end developers to add a scrollable panel and set the
DockStyle to Fill, but I want to be able to offer a scrolling container out
of the box. I also wanted to implement more complex scrolling options.
> Any reasons why you need such control if Panel is already a
> ScrollableContainer? Besides, if you only want to modify the borders, you
[quoted text clipped - 24 lines]
> >
> > Thanks.