Runtime Control Resizer
-
I am after a component that will enable users to resize visual objects such as an image at runtime. Just like in a standard art package. I wrote 1 myself in Delphi and I could port it to C# but I am not sure how I would implement some of the Mouse capture routines... Besides there must be an open source control that I can use/develop further to achieve what I want. TIA and Merry Christmas Luke
-
I am after a component that will enable users to resize visual objects such as an image at runtime. Just like in a standard art package. I wrote 1 myself in Delphi and I could port it to C# but I am not sure how I would implement some of the Mouse capture routines... Besides there must be an open source control that I can use/develop further to achieve what I want. TIA and Merry Christmas Luke
Jinwah wrote: Besides there must be an open source control that I can use/develop further to achieve what I want. Well, did you try searching for one? There should be plenty of examples here on CP. Also, read the documentation for the
System.Windows.Forms.Control
class. That has all the mouse events and properties you need to do this.-----BEGIN GEEK CODE BLOCK----- Version: 3.21 GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++ -----END GEEK CODE BLOCK-----