Visual Studio selection frame

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
 
H

Herfried K. Wagner [MVP]

* "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>
 
F

fragget

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top