Other than preventing further use of the dc, what else does this do ?
What happens if this is not called ? Most examples I’ve seen using
dc’s don’t do this.
Does this reset to default the font, pen, brush, etc. ?
Ray Pasco
Other than preventing further use of the dc, what else does this do ?
What happens if this is not called ? Most examples I’ve seen using
dc’s don’t do this.
Does this reset to default the font, pen, brush, etc. ?
Ray Pasco
Other than preventing further use of the dc, what else does this do ?
It simply tells the MemoryDC to stop using the bitmap that was selected into it before.
What happens if this is not called ? Most examples I've seen using dc's
don't do this.
If you try to use the bitmap elsewhere while it is still selected into the DC then you may get an error. If you del the dc or just let it go out of scope then it will release the bitmap automatically.
Does this reset to default the font, pen, brush, etc. ?
No.
On 6/12/10 7:49 AM, Ray Pasco wrote:
--
Robin Dunn
Software Craftsman