 |
| Using the LoadImage function to have a bitmap file loaded and displayed on VFP main window |
User rating: 0/10 (0 votes) | |
|
|
 |
 |
| Before you begin: |
 |
Make sure that the source file is a valid BMP file.
Check more examples:
Printing the image of a FoxPro form
Storing screen shot of a form to a BMP file
Storing clipboard contents to a BMP file
How to print a BMP file
|
 |
 |
| |
| |
Members area. Log in to view this example. |
|
| |
|
|
|
|
|
 |
User rating: 0/10 (0 votes) | |
| 2645 bytes Created: 2001-12-10 18:19:31 Modified: 2011-12-10 09:20:22 Visits in 7 days: 169 |
|
 |
 |
| Listed functions: |
 |
|
 |
 |
| My comment: |
 |
The LoadImage function, being supplied with a valid bitmap file name, loads this file into the corresponding Bitmap structures and returns a Bitmap handle.
After that the handle can be used for displaying this Bitmap on various devices (the display, the available printers etc.) as well as for manipulating with its data using other Gdi32 functions.
With little changes this code can be used for printing bitmap files.
Notice that the image displayed on the main VFP form is not "fixed", as it is when the _SCREEN property used. |
 |
 |
| Word Index links for this example: |
 |
|
|
 |
 |
| Translate this page: |
 |
|