VBnet Sponsor - Compuware Corporation

 

Bitmap Routines
Updated Saturday March 31, 2001
   
Category
Topic
Images
vb6
vb5
vb4-32
Filling Polygonal Regions Using ExtFloodFill
Create a child's drawing app using one API. 
Jan 16, 2001

Manipulating Image Brightness with SetPixelV
Quick routine for changing the brightness of an picturebox image.
Jan 16, 2001

Creating a Transparent Bitmap
APIs & code to convert a bitmap into a transparent bitmap.

Obtaining Bitmap File Info without APIs
Using binary file access, read the BITMAPFILEHEADER and BITMAPINFOHEADER structures of a file to obtain the image details.



Menus
vb6
vb5
vb4-32
Adding Radio Buttons to Any Menu to Replace the Default Checkmarks
When you offer several choices in a menu, you may want to implement a radio button-style selection. This updated routine now handles menus on any form or position on the menu bar. Updated Jan 25.2000


Screen
vb6
vb5
vb4-32
Mimicking the PrintScreen Function Using OLE
How to use the OLE interface to generate a PrintScreen routine in your application.

Mimicking the PrintScreen Function Using BitBlt
How to implement the BitBlt API to mimic a PrintScreen routine in your application.

Variations on Mimicking the PrintScreen Function Using BitBlt
Extending the above code to add Print Form and Print Any Window capabilities.

Calling the Windows PrintScreen Function Using keybd_event
The API call to actually capture the screen to the clipboard.



Tiling
vb6
vb5
vb4-32
Tiling an Image Across a Form
How to tile an image across the background of any form (except MDI parents). No APIs needed.

 



VBnet Sponsor - Compuware Corporation

Copyright ©1996-2001 ebirch ltd/VBnet and Randy Birch. All Rights Reserved.  Terms of Use