Information générale
Catégorie:
Code, syntaxe and commandes
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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement