VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Picture and Image Properties Demo

by Jim Sky (1 Submission)
Category: Graphics
Compatability: Visual Basic 3.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (2 Votes)

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

Download Picture and Image Properties Demo

Download Picture and Image Properties Demo (17 KB)

Picture and Image Properties Demo Comments

No comments have been posted about Picture and Image Properties Demo. Why not be the first to post a comment about Picture and Image Properties Demo.

Post your comment

Subject:
Message:
0/1000 characters