Using Win32 functions in Visual FoxPro Image Gallery
Resource
..msdn
BeginUpdateResource
CopyImage
EndUpdateResource
FindResource
LoadImage
LoadResource
LoadString
LockResource
SizeofResource
UpdateResource
Code examples:
Bitmap Class for Visual FoxPro application
Displaying animated images on FoxPro form with BitBlt and StretchBlt functions
Displaying bitmap using the AlphaBlend function
Displaying icons in the system tray (VFP9)
How to convert a bitmap file to monochrome format (1 bpp)
How to print a bitmap file
Splash Screen for the VFP application
Using FoxTray ActiveX control: System Tray Icon and menu attached to VFP form
Using the LoadImage function to have a bitmap file loaded and displayed on VFP main window
LoadImage
..msdn    Add comment     W32 Constants      Translate this page
The LoadImage function loads an icon, cursor, animated cursor, or bitmap.
Code examples:
Displaying icons in the system tray (VFP9)
Splash Screen for the VFP application
How to print a bitmap file
How to convert a bitmap file to monochrome format (1 bpp)
Bitmap Class for Visual FoxPro application
Using FoxTray ActiveX control: System Tray Icon and menu attached to VFP form
Displaying animated images on FoxPro form with BitBlt and StretchBlt functions
Using the LoadImage function to have a bitmap file loaded and displayed on VFP main window
Displaying bitmap using the AlphaBlend function
Declaration:
HANDLE LoadImage(
  HINSTANCE hinst,   // handle to instance
  LPCTSTR lpszName,  // image to load
  UINT uType,        // image type
  int cxDesired,     // desired width
  int cyDesired,     // desired height
  UINT fuLoad        // load options
);
FoxPro declaration:
DECLARE INTEGER LoadImage IN user32;
    INTEGER hinst,;
    STRING  lpszName,;
    INTEGER uType,;
    INTEGER cxDesired,;
    INTEGER cyDesired,;
    INTEGER fuLoad
Parameters:
hinst
[in] Handle to an instance of the module that contains the image to be loaded. To load an OEM image, set this parameter to zero.

lpszName
[in] Specifies the image to load.

uType
[in] Specifies the type of image to be loaded.

cxDesired
[in] Specifies the width, in pixels, of the icon or cursor.

cyDesired
[in] Specifies the height, in pixels, of the icon or cursor.

fuLoad
[in] This parameter can be one or more of the predefined values.
Return value:
If the function succeeds, the return value is the handle of the newly loaded image. If the function fails, the return value is NULL.
Word Index links for the LoadImage :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-12-10 18:36:35
Modified: 2001-12-10 18:38:59
Visited in last 7 days: 105
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.227.127.109)
17 sec.Function: 'waveOutGetNumDevs'
34 sec.Function: 'CeDeleteFile'
53 sec.Function: 'GetStartupInfo'
1.15 min.Function: 'WriteProcessMemory'
1.43 min.Function: 'CeGetSystemPowerStatusEx'
1.7 min.Function: 'SHRegEnumUSKey'
1.97 min.Function: 'getservbyport'
2.23 min.Function: 'SetSysColors'
2.53 min.Function: 'AlphaBlend'
2.82 min.Function: 'GetTextCharacterExtra'
Google
Advertise here!