VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Picture and Image Properties Demo

Jim Sky  (1 Submission)   Graphics   Visual Basic 3.0   Beginner   Wed 3rd February 2021

This is a demo to help sort out some the confusion about Image and Picture properties of a Picture control. I have been programming in VB for years and sometimes still get a bit confused about these so I wrote this to help myself as a reference, and thought perhaps some others might benefit. Also shows simplest usage of the BitBlt API function.

Assumes
Check the code for comments.

API Declarations
Declare Function BitBlt Lib "gdi32" (ByVal hDestDC 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 dwRop As Long) As Long

Rate Picture and Image Properties Demo (2(2 Vote))

Download Picture and Image Properties Demo

Picture and Image Properties Demo Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters