General information
Category:
Coding, syntax and commands
Hi,
I get that. I was just looking for the equivalent in .NET (and don't think it exists).
Regards,
Viv
>
The GetRandomRgn function allows you to get the visible clipping region of any window and is not a funky version of rand() for clipping regions ;-)
Once you have your clip region you can the use the GetRegionData() function to get at the individual rectangles that make up the region.
You can use this to test to see if you window is completely obscured and play nice with OS instead of wasting cycles doing things like animation etc.
>
Regards,
Viv
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only