VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



FlexZoom

by John (4 Submissions)
Category: Miscellaneous
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (5 Votes)

FlexZoom is a simple program to stretch or compress a bitmap to fit the dimensions of a destination rectangle. The destination and the source can be the same picture box as example one will show you. A shape control and various mouse events are used to frame the area being zoomed.

API Declarations
Public Declare Function StretchBlt Lib "gdi32" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, ByVal xSrc As Long, ByVal ySrc As Long, ByVal nSrcWidth As Long, ByVal nSrcHeight As Long, ByVal dwRop As Long) As Long

Rate FlexZoom

Upload

Download this snippet    Add to My Saved Code

FlexZoom Comments

No comments have been posted about FlexZoom. Why not be the first to post a comment about FlexZoom.

Post your comment

Subject:
Message:
0/1000 characters