Solved

about Implementation of zooming functionality

Posted on 2002-03-08
5
179 Views
Last Modified: 2013-11-20
hi guys
     i have a problem ,i am able to set bmp file in my application in a view but how can i implemented zooming(zoomin, normal,zoomout)
 functionality into it ...is their any function related to this ...if anyone implemented then please help me..

bye

JonMac
0
Comment
Question by:JonMac
  • 2
  • 2
5 Comments
 
LVL 23

Expert Comment

by:Roshan Davis
ID: 6850103
u can use StretchBlt function.
Need more help ?

GOOD LUCK
0
 

Author Comment

by:JonMac
ID: 6863703
hi roshmon
      i need more help ....
0
 

Author Comment

by:JonMac
ID: 6863704
hi roshmon
      i need more help ....about how to use this function...
0
 
LVL 23

Accepted Solution

by:
Roshan Davis earned 50 total points
ID: 6863716
Are u familiar with BitBlt function ?
Then this is simple...

BOOL StretchBlt(
  HDC hdcDest,      // handle to destination DC
  int nXOriginDest, // x-coord of destination upper-left corner
  int nYOriginDest, // y-coord of destination upper-left corner
  int nWidthDest,   // width of destination rectangle
  int nHeightDest,  // height of destination rectangle
  HDC hdcSrc,       // handle to source DC
  int nXOriginSrc,  // x-coord of source upper-left corner
  int nYOriginSrc,  // y-coord of source upper-left corner
  int nWidthSrc,    // width of source rectangle
  int nHeightSrc,   // height of source rectangle
  DWORD dwRop       // raster operation code
);


GOOD LUCK
0
 

Expert Comment

by:SpideyMod
ID: 8145211
Administrative Action - Force Accepted

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to calculate times for developing software? 8 67
Add content to output file 4 63
sumHeights2  challenge 7 105
unix example issues 18 90
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
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.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

777 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