Solved

zooming  a  flowchart

Posted on 1998-06-16
2
304 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

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: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…

728 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