Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
Finding parameters for the region specified
..msdn    Add comment     W32 Constants      Translate this page
Fills the specified buffer with data describing a region. This data includes the dimensions of the rectangles that make up the region.
Code examples:
Finding parameters for the region specified
DWORD GetRegionData(
  HRGN hRgn,            // handle to region
  DWORD dwCount,        // size of region data buffer
  LPRGNDATA lpRgnData   // region data buffer
FoxPro declaration:
DECLARE INTEGER GetRegionData IN gdi32;
    INTEGER hRgn,;
    INTEGER dwCount,;
    STRING @ lpRgnData
[in] Handle to the region.

[in] Specifies the size, in bytes, of the lpRgnData buffer.

[out] Pointer to a RGNDATA structure that receives the information.
Return value:
If the function succeeds and dwCount specifies an adequate number of bytes, the return value is always dwCount.
My comment:
A quite usefull function if you need to know geometrical parameters for a region defined by a handle.
Word Index links for the GetRegionData :
Translate this page:
  Spanish    Portuguese    German    French    Italian offers instant, free translations of text or web pages.
Created: 2001-08-27 12:00:00
Modified: 2001-11-26 16:03:25
Visited in last 7 days: 24
User Contributed Notes:
There are no notes on this subject.

Copyright 2001-2018 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.39), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (
21 sec.Function: 'Sleep'
40 sec.Function: 'mciSendString'
1.02 min.Function: 'InternetConnect'
1.33 min.Function: 'CryptHashData'
1.68 min.
Function group: 'Common Dialog Box'
1.98 min.Function: 'DeleteMenu'
2.32 min.Function: 'WSARecv'
2.63 min.Function: 'DeleteObject'
3 min.Function: 'MQCloseQueue'
3.35 min.Function: 'GetNamedSecurityInfo'
Advertise here!