Solved

about Implementation of zooming functionality

Posted on 2002-03-08
5
182 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
[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
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ODBC Connection Logging, ADO.NET 6 73
Expand to include initial dialog with two choices. 9 96
modThree challenge 4 155
Annoying "thing" blocks my view 4 147
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. …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.

710 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