Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / May 2006

Tip: Looking for answers? Try searching our database.

Zoom effect on winforms

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
eduwushu - 12 May 2006 10:39 GMT
Hi there,
I have a custom control which i want it to draw ina  rectangle a picture and
i have two buttons to do zoom in and zoomm out.
I want that when i click on one of these buttons make a zoom on the drawing
to see with more detail a region of it and scrollbars appear in the sides of
teh control to navigate through the image.
I have derived my control from Scrollablecontrol becuase i jave read that
this is the way to acomplish the use of scrollbars but i cant see the way of
making the virtual "clientrectangle" smaller than the display rectangle
without actually resizing the control.
Anyone knows some book that explains how to acomplish this?or knows how to
do this? thanks.
Bob Powell [MVP] - 12 May 2006 13:06 GMT
See the ZoomPicBox in the GDI+ FAQ.

Signature

Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.

> Hi there,
> I have a custom control which i want it to draw ina  rectangle a picture
[quoted text clipped - 12 lines]
> Anyone knows some book that explains how to acomplish this?or knows how to
> do this? thanks.
Bob Powell [MVP] - 12 May 2006 13:07 GMT
Sorry, that article is in Windows Forms Tips and Tricks.

Signature

Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.

> Hi there,
> I have a custom control which i want it to draw ina  rectangle a picture
[quoted text clipped - 12 lines]
> Anyone knows some book that explains how to acomplish this?or knows how to
> do this? thanks.
Cris - 12 May 2006 14:18 GMT
I need to make something like what MS Word does: I need to be able to set styles
for the different paragraphs \via dropdown combo for example\ in a TextBox
(preferably RichText) and I also want to have row numbers. How can I do this the
easiest way?

This is a quick description of what I need.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.