Movable controls at runtime...

  • Thread starter Thread starter Peder Y
  • Start date Start date
P

Peder Y

I'm working in a control base for moveable resizeable controls at
runtime.

What is a good way to implement the hatched (ControlPaint) "got focus"
border around the outside border of the control, as well as the
resize-squares on this border? I got some ideas (like having a panel
underneath with Paint overridden), but rather not reinvent wheels if
there is an easier way.

Thanks!


- Peder -
 
I guess you have to take that route... we did a white board in similar
manner defining each object as user controls..

But your future may not easy ... transprency will give you lots of trouble
when you have too object overlapping...

What we did was only the active object get replced with a user control while
all teh inactive object are drawn in the panel with GDI

Nirosh.
 
Back
Top