Solved

zooming  a  flowchart

Posted on 1998-06-16
2
248 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

757 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

23 Experts available now in Live!

Get 1:1 Help Now