I've got a conceptual problem ... I'm creating a visual gui designer program, much like design view in vb except that it exports the code for the gui.

Now, I have an MDI for it. When a new window is made a child window is made inside it, the form. Now the fom can't be moved or resized like a normal window, you need to click it to activate the resize bounding box and then drag a handle in the direction you want to resize it (this will be the same for all controls on the form).

So anyway, I have the form window. I have made a handle control. But What my problem is, what's the best way to 'attach' the handle control to the form (and subsequent child widnows such as buttons) ??

I was thinking, that I'd just create the handle control right over the top of it so that if you click it you would really be clicking the handle control because it's over the top of it. But I'm not really sure if this is the best way.

I'd like some suggestions on how to go about this .. I hope I explained it enough.