VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

FlexZoom

John  (4 Submissions)   Miscellaneous   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

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 (5(5 Vote))
FlexZoom.bas

FlexZoom Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters