Using Win32 functions in Visual FoxPro Image Gallery
Region
..msdn
CombineRgn
CreateEllipticRgn
CreateRectRgn
CreateRoundRectRgn
FrameRgn
GetRegionData
GetRgnBox
Code examples:
Finding parameters for the region specified
GetRgnBox
..msdn    Add comment     W32 Constants      Translate this page
Retrieves the bounding rectangle of the specified region.
Code examples:
Finding parameters for the region specified
Declaration:
 
int GetRgnBox(
  HRGN hrgn,   // handle to a region
  LPRECT lprc  // bounding rectangle
);
 
FoxPro declaration:
 
DECLARE INTEGER GetRgnBox IN gdi32;
    INTEGER hrgn,;
    STRING @ lprc
 
Parameters:
hrgn
[in] Handle to the region.

lprc
[out] Pointer to a RECT structure that receives the bounding rectangle in logical units.
Return value:
The return value specifies the region"s complexity:
#DEFINE NULLREGION 1
#DEFINE SIMPLEREGION 2
#DEFINE COMPLEXREGION 3
#DEFINE RGN_ERROR 0
Word Index links for the GetRgnBox :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com 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: 8
User Contributed Notes:
There are no notes on this subject.


Copyright © 2001-2013 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.1.55-log), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (23.20.196.179)
6.93 hrs.Example: 'Simple MAPI: how to pick an email recipient from Outlook Express address book'
 Example: 'How to assemble an array of strings and pass it to external function'
8.08 hrs.Example: 'Running MSDOS Shell as a child process with redirected input and output (smarter RUN command)'
Language: 'Visual FoxPro'
8.09 hrs.Function: 'SetSystemPowerState'
Function group: 'Power Management'
12.73 hrs.Example: 'Shortcut Menu Class'
12.74 hrs.Function: 'DrawFrameControl'
Function group: 'Painting and Drawing'
13.43 hrs.Example: 'How to change display settings: screen resolution, screen refresh rate'
 Function: 'GetComputerObjectName'
17.59 hrs.Example: 'HOWTO: Use the Win32 API to Access File Dates and Times'
 Example: 'Accessing the list of Windows Recent Documents'
Google
Advertise here!