 |
CreateRectRgn ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Creates a rectangular region. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
HRGN CreateRectRgn(
int nLeftRect, // x-coordinate of upper-left corner
int nTopRect, // y-coordinate of upper-left corner
int nRightRect, // x-coordinate of lower-right corner
int nBottomRect // y-coordinate of lower-right corner
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER CreateRectRgn IN gdi32;
INTEGER nLeftRect,;
INTEGER nTopRect,;
INTEGER nRightRect,;
INTEGER nBottomRect
|
 |
 |
 |
| Parameters: |
 |
nLeftRect
[in] Specifies the x-coordinate of the upper-left corner of the region in logical units.
nTopRect
[in] Specifies the y-coordinate of the upper-left corner of the region in logical units.
nRightRect
[in] Specifies the x-coordinate of the lower-right corner of the region in logical units.
nBottomRect
[in] Specifies the y-coordinate of the lower-right corner of the region in logical units. |
 |
 |
| 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 CreateRectRgn : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-08-26 12:00:00 | | Modified: | 2001-11-26 16:03:24 | Visited in last 7 days: 68 |