- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
is there a need to do an DeleteObject for XSetPen aand simelar objects using Xeffort? If yes how (there is no Pen name)?
Thanks in advance
Frank
is there a need to do an DeleteObject for XSetPen aand simelar objects using Xeffort? If yes how (there is no Pen name)?
Thanks in advance
Frank
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, XSetPen does that for itself. The only exception is XSetPenHandle/XSetBrushHandle (if you need a "fancy" brush/pen), but that's documented.
XSetFont has a small memory leak which I never managed to solve -- it leaks one font per invoked DC. Not a big deal, I hope :-D.
XSetFont has a small memory leak which I never managed to solve -- it leaks one font per invoked DC. Not a big deal, I hope :-D.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page