Hello,
Does anyone know an easy way to test if a GDI region is non-empty?
Printable View
Hello,
Does anyone know an easy way to test if a GDI region is non-empty?
Maybe:
Code:RECT rc;
while (GetRgnBox(hRgn, &rc) != NULLREGION)
{
...
}
Well later on I tried using:-
I dunno what it's like for efficiency but it doesn't need a RECT. Thanks anyway. ;)Code:if (CombineRgn(hRgn, hRgn, NULL, RGN_COPY) != NULLREGION)
{
...
}