--
-
+===========================+
| Taco Bill thanks you for your
| kind help ..sorry you can't mail
| me ... thank the spammers
+============+
No, that's all you need do, other than the obvious "caveat" of making sure
that it's not selected into any DC at the time you destroy it. A region is a
GDI object like any other.
Chris
-----------------------------------------------------------------------
Chris Marriott, SkyMap Software, UK (ch...@skymap.com)
Visit our web site at http://www.skymap.com
Astronomy software written by astronomers, for astronomers
so it does not just chew up memory if I do this ? hmmm getting confused
again ..
Raymond Chen <raymon...@microsoft.com> wrote in message
news:375b30b4....@news.alt.net...
True, but the original questioner didn't mention "SetWindowRgn"!
Once you call SetWindowRgn the region belongs to Windows.
Windows will delete the region object when the system no longer
needs it.