473,385 Members | 1,925 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

FOR PRO ONLY

Does any Pro out there know how to create an image or the picturebox in the
runtime with sizing handle, so the user can size and resize the image or
picturebox any way they want at runtime. Any help is deeply appreciated.
Thanks you all in advance...
Kate
Nov 15 '05 #1
3 2108
You need to implement your own sizers - you can subclass
System.Windows.Forms.PictureBox and handle the OnPaint to draw your sizers;
handle the Mouse down/up events to track the sizers and resize during Mouse
Move.

"Kate Luu" <cq***@yahoo.com> wrote in message
news:Om**************@tk2msftngp13.phx.gbl...
Does any Pro out there know how to create an image or the picturebox in the runtime with sizing handle, so the user can size and resize the image or
picturebox any way they want at runtime. Any help is deeply appreciated.
Thanks you all in advance...
Kate

Nov 15 '05 #2
I don't have sample source but you can find some in

http://www.windowsforms.com
http://codeproject.com
http://codeguru.com

- VJ

"Kate Luu" <cq***@yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Thanks you very much for your responded, I'm so appreciated. But the thing
is, I'm not expert about subclassing control and do some custom drawing. Do you have some sample source code of subclassing window control or you know
some source which I can refer to? Once again, Thanks you a lots for your
help, have a nice day...

Kate Luu

"Vijaye Raji" <$$*******@hotmail.com> wrote in message
news:eh**************@tk2msftngp13.phx.gbl...
You need to implement your own sizers - you can subclass
System.Windows.Forms.PictureBox and handle the OnPaint to draw your

sizers;
handle the Mouse down/up events to track the sizers and resize during

Mouse
Move.

"Kate Luu" <cq***@yahoo.com> wrote in message
news:Om**************@tk2msftngp13.phx.gbl...
Does any Pro out there know how to create an image or the picturebox in
the
runtime with sizing handle, so the user can size and resize the image

or picturebox any way they want at runtime. Any help is deeply appreciated. Thanks you all in advance...
Kate



Nov 15 '05 #3
I don't have sample source but you can find some in

http://www.windowsforms.com
http://codeproject.com
http://codeguru.com

- VJ

"Kate Luu" <cq***@yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Thanks you very much for your responded, I'm so appreciated. But the thing
is, I'm not expert about subclassing control and do some custom drawing. Do you have some sample source code of subclassing window control or you know
some source which I can refer to? Once again, Thanks you a lots for your
help, have a nice day...

Kate Luu

"Vijaye Raji" <$$*******@hotmail.com> wrote in message
news:eh**************@tk2msftngp13.phx.gbl...
You need to implement your own sizers - you can subclass
System.Windows.Forms.PictureBox and handle the OnPaint to draw your

sizers;
handle the Mouse down/up events to track the sizers and resize during

Mouse
Move.

"Kate Luu" <cq***@yahoo.com> wrote in message
news:Om**************@tk2msftngp13.phx.gbl...
Does any Pro out there know how to create an image or the picturebox in
the
runtime with sizing handle, so the user can size and resize the image

or picturebox any way they want at runtime. Any help is deeply appreciated. Thanks you all in advance...
Kate



Nov 15 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- ...
5
by: Todd Huish | last post by:
I have noticed something disturbing when retrieving datasets over a relatively slow line (multiple T1). I am looking at about 25 seconds to retrieve 500 rows via a php-odbc link. This same select...
18
by: jacob navia | last post by:
In C, we have read-only memory (const), read/write memory (normal data), and write only memory. Let's look at the third one in more detail. Write only memory is a piece of RAM that can only...
6
by: BBM | last post by:
I have an object that has a fairly complex construction sequence, so I have written a dedicated "factory" class that invokes the constructor of my object class (which does nothing but instantiate...
8
by: Bonj | last post by:
when creating a resource-only dll, the only way I can get it to compile and work correctly, is to make it a non-resource-only dll. surely this can't be the way...? basically, there is a load of...
5
by: manokumar | last post by:
hiye, i notice that some if not all of my folders in winxp pro. are set as read only and its giving me some problem with development. so as the natural thing, i unchecked the read only option and...
6
by: Samuel M. Smith | last post by:
I have been playing around with a subclass of dict wrt a recipe for setting dict items using attribute syntax. The dict class has some read only attributes that generate an exception if I try to...
44
by: Tolga | last post by:
As far as I know, Perl is known as "there are many ways to do something" and Python is known as "there is only one way". Could you please explain this? How is this possible and is it *really* a...
0
by: mkarki2 | last post by:
I am doing a likned list program in C. I am not really good at it and just started. But I am stuck how to pass structure in the function correctly. this is the driver file #ifndef DRIVER_C...
4
by: greg | last post by:
Hi, I have a read only access file with a linked table that connects to a sybase database. So I can still add data to the table even though its read only since the table is really in sybase. ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.