Using Win32 functions in Visual FoxPro Image Gallery
Bitmap
..msdn
AlphaBlend
BitBlt
CreateCompatibleBitmap
CreateDIBSection
GetDIBits
GradientFill
LoadBitmap
StretchBlt
StretchDIBits
Code examples:
Bitmap Class for Visual FoxPro application
Drawing Windows predefined bitmaps using the LoadBitmap functions
LoadBitmap
..msdn    Add comment     W32 Constants      Translate this page
The LoadBitmap function loads the specified bitmap resource from a module"s executable file. This function has been superseded by the LoadImage function.
Code examples:
Bitmap Class for Visual FoxPro application
Drawing Windows predefined bitmaps using the LoadBitmap functions
Declaration:
HBITMAP LoadBitmap(
  HINSTANCE hInstance,  // handle to application instance
  LPCTSTR lpBitmapName  // name of bitmap resource
);
FoxPro declaration:
DECLARE INTEGER LoadBitmap IN user32;
    INTEGER hInstance,;
    INTEGER lpBitmapName
Parameters:
hInstance
[in] Handle to the instance of the module whose executable file contains the bitmap to be loaded.

lpBitmapName
[in] Pointer to a null-terminated string that contains the name of the bitmap resource to be loaded.
Return value:
If the function succeeds, the return value is the handle to the specified bitmap. Otherwise, the return value is NULL.
My comment:
The application must call the DeleteObject function to delete each bitmap handle returned by the LoadBitmap function.

LoadBitmap creates a compatible bitmap of the display, which cannot be selected to a printer. To load a bitmap that you can select to a printer, call LoadImage and specify LR_CREATEDIBSECTION to create a DIB section. A DIB section can be selected to any device.
Word Index links for the LoadBitmap :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2002-01-16 21:36:51
Modified: 2002-01-16 21:40:19
Visited in last 7 days: 22
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.226.34.209)
14 sec.
Function group: 'Unicode and Character Set'
29 sec.Function: 'SetComputerName'
44 sec.Function: 'GdiplusStartup'
1 min.Function: 'GetDateFormat'
1.28 min.Function: 'MQPurgeQueue'
1.53 min.Function: 'GetProcessHeaps'
Google
Advertise here!