Using Win32 functions in Visual FoxPro Image Gallery
Region
..msdn
CombineRgn
CreateEllipticRgn
CreateRectRgn
CreateRoundRectRgn
FrameRgn
GetRegionData
GetRgnBox
Code examples:
How to create transparent areas inside a form -- punching holes in the form
How to draw custom Window Caption on FoxPro form
Round FoxPro form
CreateEllipticRgn
..msdn    Add comment     W32 Constants      Translate this page
The CreateEllipticRgn function creates an elliptical region.
Code examples:
Round FoxPro form
How to draw custom Window Caption on FoxPro form
How to create transparent areas inside a form -- punching holes in the form
Declaration:
HRGN CreateEllipticRgn(
  int nLeftRect,   // x-coord of upper-left corner of rectangle
  int nTopRect,    // y-coord of upper-left corner of rectangle
  int nRightRect,  // x-coord of lower-right corner of rectangle
  int nBottomRect  // y-coord of lower-right corner of rectangle
);
FoxPro declaration:
DECLARE INTEGER CreateEllipticRgn IN gdi32;
    INTEGER nLeftRect,;
    INTEGER nTopRect,;
    INTEGER nRightRect,;
    INTEGER nBottomRect
Parameters:
nLeftRect
[in] Specifies the x-coordinate in logical units, of the upper-left corner of the bounding rectangle of the ellipse.

nTopRect
[in] Specifies the y-coordinate in logical units, of the upper-left corner of the bounding rectangle of the ellipse.

nRightRect
[in] Specifies the x-coordinate in logical units, of the lower-right corner of the bounding rectangle of the ellipse.

nBottomRect
[in] Specifies the y-coordinate in logical units, of the lower-right corner of the bounding rectangle of the ellipse.
Return value:
If the function succeeds, the return value is the handle to the region. If the function fails, the return value is NULL.
Word Index links for the CreateEllipticRgn :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-08-26 12:00:00
Modified: 2001-11-26 16:03:24
Visited in last 7 days: 41
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.82.81.154)
16 sec.Function: 'GetCharABCWidths'
31 sec.Function: 'AddClipboardFormatListener'
45 sec.Function: 'DrawText'
1 min.Function: 'FtpFindFirstFile'
1.23 min.
Function group: 'Region'
1.47 min.Function: 'FindExecutable'
1.73 min.
Function group: 'GDI+ Brush'
1.95 min.Function: 'GdipDeletePen'
2.15 min.Function: 'DrawDibClose'
2.38 min.Function: 'CloseEventLog'
Google
Advertise here!