Solved

about Implementation of zooming functionality

Posted on 2002-03-08
5
171 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
Comment Utility
u can use StretchBlt function.
Need more help ?

GOOD LUCK
0
 

Author Comment

by:JonMac
Comment Utility
hi roshmon
      i need more help ....
0
 

Author Comment

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

Accepted Solution

by:
Roshan Davis earned 50 total points
Comment Utility
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
Comment Utility
Administrative Action - Force Accepted

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Decoding 32 bit binary streams 6 29
xyBalance chalenge 58 88
Question regarding Copy/Paste 16 85
mapAB Challlenge 35 84
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

763 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

6 Experts available now in Live!

Get 1:1 Help Now