Well, putting my flameproof trousers on....
I sell a tool that does this exact thing.
You can find out my e-mail address by removing the spamkiller stuff.

Signature
Bob Powell [MVP]
Visual C#, System.Drawing
Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm
Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm
All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
> Hi,
>
[quoted text clipped - 16 lines]
> thanks,
> Keith
Keith - 15 Feb 2005 04:13 GMT
Bob,
Thanks, but I'm trying to do this without third party tools (otherwise
I haven't learned anything!)
I've implemented some tedious math and used DrawSelectionFrame and
DrawGrabHandle as well as handling OnPaint, MouseMove, MouseDown, and
MouseUp. Does this sound like the right way to do it?
Right now I have everything on a single form, but I guess I could
create a separate control. I assume that it would have to be separate
from the control that it encapsulates, since it will be outside of the
control's client rectangle. So far I've managed to handle translation
and resizing of one control. Now I need to handle multiple controls.
Keith
> Well, putting my flameproof trousers on....
>
[quoted text clipped - 35 lines]
> > thanks,
> > Keith
Keith - 16 Feb 2005 03:10 GMT
Bob,
Perhaps you can answer this question. I would like to encapsulate my
sizing frame in a control, but I do not want it to be a parent of the
control that sits inside it. I want to handle mouse events on the
frame itself, but anything that sits inside the frame should be handled
separately and is not a child of the frame. I also don't want to make
the form a panel - that is, the control that sits inside the frame
should have coordinates relative to the parent form, not the sizing
frame.
Any thoughts?
Keith
> Well, putting my flameproof trousers on....
>
[quoted text clipped - 35 lines]
> > thanks,
> > Keith