Visual Studio selection frame

  • Thread starter Thread starter fragget
  • Start date Start date
F

fragget

hiya-

i am trying to implement a selection frame like visual
studio has in the form designer when you select a control
on a form. the frame has little handles for resizing and
allows the user to know what controls are selected.

i wrote a control that does this and it works well except
for one thing. the frame needs to be one layer below the
selected control. i have found no methods to set the z
order other than bringtofront/sendtoback.

anyone have any thoughts on how ms implmented there
selection frame or a better way to do mine. basically i
want it to be as close as possible to what is in visual
stuido.

thanks - fragget
 
* "fragget said:
i am trying to implement a selection frame like visual
studio has in the form designer when you select a control
on a form. the frame has little handles for resizing and
allows the user to know what controls are selected.

i wrote a control that does this and it works well except
for one thing. the frame needs to be one layer below the
selected control. i have found no methods to set the z
order other than bringtofront/sendtoback.

anyone have any thoughts on how ms implmented there
selection frame or a better way to do mine. basically i
want it to be as close as possible to what is in visual
stuido.

<http://www.bobpowell.net/recttracker.htm>
 
i have seen this control before. im not sure if it does
what i am looking for from the description.

im more interested in how to implement this than
purchasing one.
 
Back
Top