Solved

zooming  a  flowchart

Posted on 1998-06-16
2
260 Views
Last Modified: 2013-11-20
I have a combo box  with different sizes.
Whwn I select a size ( say  50 %, 60 % etc..)  accordingly the flowchart should be zoomed.
I want to do the zooming option  as in Paintbrush.
0
Comment
Question by:prasadg
  • 2
2 Comments
 
LVL 3

Accepted Solution

by:
danny_pav earned 50 total points
ID: 1318070
1. When you change % use a call to Invalidate to force a redraw
2. Modify your OnDraw handler to change the map mode according to the % chosen.
Danny Pav

More Info to Come...

0
 
LVL 3

Expert Comment

by:danny_pav
ID: 1318071
Also see
SetViewportExtEx
SetWindowExtEx
considering the mapping modes: MM_ISOTROPIC, and MM_ANISOTROPIC

On MSDN, there is a good article titled: Coordinate Mapping
its on the Platform Articles, GDI and OpenGL Articles
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now