Adding additional painting on control at design time can be done by
overriding the OnPaintAdornments method of controldesigner class. I believe
you can even paint beyond the bounds of the control being designed. However
providing implementations for your gripper is kind of complicated in my
opinion. Forcing a redraw is as simple as invalidating the component that
your designer is using.
[quoted text, click to view] "Lee" <nobody@nowhere.com> wrote in message
news:k_GdnZNKloGVthbcRVn-ug@giganews.com...
> Anybody?
>
> "Lee" <nobody@nowhere.com> wrote in message
> news:nLudnXlHq79_YBrcRVn-vQ@giganews.com...
> >I want to design a control that needs to have extra "handles" at design
> >time. Basically at design time I want my control to have a line coming
off
> >of it that extends beyond the region of my control and ends in a
"gripper"
> >handle (probably only when it is selected in the form designer). I want
> >the user to be able to grab the gripper handle and move it anywhere to
> >rotate the control as well as specify a distance from the control (by the
> >length of the line). The rotation of the control isn't a problem, but how
> >do I create a custom design time behaviour like that that can draw
outside
> >the bounds of the control and allows my control to redraw itself (at
design
> >time)?
> >
> > -----
> > Lee
> >
> >
>
>