Re: RAII classes to simplify GDI programming
"PABLO" <[email protected]> Tue, 22 Nov 2011 10:08:28 -0000
| Newsgroups | gmane.comp.windows.wtl |
|---|---|
| Message-ID | <[email protected]> |
--- In [email protected], "Peter Kvitek" <pete@...> wrote: > > I've been using WTL for years and always felt it's the most useful tool ever > created for Win32 GUI programming. Thank you, Nenad! > > However, GDI programming still lacks the level of elegance common for WTL. ... > A set of simple RAII classes found here: > http://www.kvitek.com/pub/atlgdiraii.h resolves all these problems and makes > GDI drawing code much more elegant and safe, here's the example: > > [Non-text portions of this message have been removed] > First and foremost, thanks for sharing! In addition, allow me to suggest the use of a separate namespace for WTL extensions. For instance, WTLX. In that way, if ever a class named CSelectFont makes it into the official WTL distribution, it will not conflict with yours. Best wishes, Pablo. ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/wtl/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/wtl/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/