The GetRgnBox function retrieves the bounding rectangle of the specified region.
int GetRgnBox(
HRGN hrgn, |
// handle of a region |
LPRECT lprc |
// address of structure that receives bounding rect. |
); |
The return value specifies the region’s complexity. It can be one of the following values:
Value |
Meaning |
NULLREGION |
Region is empty. |
SIMPLEREGION |
Region is a single rectangle. |
COMPLEXREGION |
Region is more than a single rectangle. |
If the hrgn parameter does not identify a valid region, the return value is zero.
file: /Techref/os/win/api/win32/func/src/f38_4.htm, 2KB, , updated: 2000/4/7 12:19, local time: 2024/8/23 07:16,
3.133.117.74:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.org/Techref/os/win/api/win32/func/src/f38_4.htm"> GetRgnBox</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to massmind.org! |
.