Movable controls at runtime...

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 -
 
C

Champika Nirosh

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.
 

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