Using Win32 functions in Visual FoxPro Image Gallery
Device Context
..msdn
ChangeDisplaySettings
CreateCompatibleDC
CreateDC
DeleteDC
DeleteObject
EnumDisplayDevices
EnumDisplaySettings
GetDC
GetDeviceCaps
GetObject
GetObjectType
ReleaseDC
SelectObject
Code examples:
Bitmap Class for Visual FoxPro application
Converting image file to .ICO file
Displaying animated images on FoxPro form with BitBlt and StretchBlt functions
Displaying bitmap using the AlphaBlend function
Drawing Windows predefined bitmaps using the LoadBitmap functions
How to convert a bitmap file to monochrome format (1 bpp)
How to print a bitmap file
Splash Screen for the VFP application
Storing content of the Clipboard to a bitmap file
Using the LoadImage function to have a bitmap file loaded and displayed on VFP main window
GetObject
..msdn    Add comment     W32 Constants      Translate this page
The GetObject function retrieves information for the specified graphics object.
Code examples:
Storing content of the Clipboard to a bitmap file
Splash Screen for the VFP application
How to print a bitmap file
Bitmap Class for Visual FoxPro application
How to convert a bitmap file to monochrome format (1 bpp)
Using the LoadImage function to have a bitmap file loaded and displayed on VFP main window
Displaying animated images on FoxPro form with BitBlt and StretchBlt functions
Displaying bitmap using the AlphaBlend function
Converting image file to .ICO file
Drawing Windows predefined bitmaps using the LoadBitmap functions
Declaration:
int GetObject(
  HGDIOBJ hgdiobj,  // handle to graphics object
  int cbBuffer,     // size of buffer for object info
  LPVOID lpvObject  // buffer for object info
);
FoxPro declaration:
DECLARE INTEGER GetObject IN gdi32;
AS GetObjectA;
    INTEGER   hgdiobj,;
    INTEGER   cbBuffer,;
    STRING  @ lpvObject

Parameters:
hgdiobj
[in] Handle to the graphics object of interest.

cbBuffer
[in] Specifies the number of bytes of information to be written to the buffer.

lpvObject
[out] Pointer to a buffer that receives the information about the specified graphics object.
Return value:
If the function succeeds, and lpvObject is a valid pointer, the return value is the number of bytes stored into the buffer.
My comment:
Notice that GetObject is a name of a native VFP function with different purpose and interface. So the name GetObject ia already reserved. That is why this external function is declared with an alias.
Word Index links for the GetObject :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-11-05 20:50:45
Modified: 2005-12-02 18:15:55
Visited in last 7 days: 44
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.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.196.72.162)
14 sec.Function: 'CountClipboardFormats'
27 sec.Function: 'mmioRead'
39 sec.Function: 'CeCreateDatabase'
50 sec.
Function group: 'GDI+ Graphics'
1.05 min.Function: 'GetVolumeNameForVolumeMountPoint'
1.27 min.Function: 'NetUserChangePassword'
1.48 min.Function: 'InternetCloseHandle'
1.67 min.Function: 'RealDriveType'
1.85 min.Function: 'GetMailslotInfo'
2.07 min.Function: 'GetParent'
Google
Advertise here!