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 11:19, local time: 2024/11/7 14:31,
3.139.104.59:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©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://techref.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 techref.massmind.org! |
.