April 10th, 1999, 04:47 PM
Hi, in my program, I let the user move controls around a form at runtime.
Currently, when the click on a control, I display 8 'little boxes' or handles at the corners of the control, and middles of its sides, like in VB, to let the user know it is selected, and so that the user can then pullthe handles to stretch and resize the control!
I am using a UserControl for each handle, which makes it easy to catch the click events, and to keep the handles on top of all the controls!
However, now I let theuser select LOTS of controls, and it takes A LONG TIME (on my p2 333) to dynamically load all these user controls.
anyone got a better method? possibly using GDI to 'draw' the handles?
- Alex
Currently, when the click on a control, I display 8 'little boxes' or handles at the corners of the control, and middles of its sides, like in VB, to let the user know it is selected, and so that the user can then pullthe handles to stretch and resize the control!
I am using a UserControl for each handle, which makes it easy to catch the click events, and to keep the handles on top of all the controls!
However, now I let theuser select LOTS of controls, and it takes A LONG TIME (on my p2 333) to dynamically load all these user controls.
anyone got a better method? possibly using GDI to 'draw' the handles?
- Alex