#81 CMemoryDC Brush and Pen cleanup

wont-fix
None
5
2014-03-20
2010-12-04
No

Is it possible to add and HBRUSH and HPEN handle the same way it does for HBITMAP ?
Intialise both handles to NULL and restore them in destructor if necessary.

Discussion

  • It is possible, but since GDI is not doing that, WTL is not doing it either. The cost would be two more data members, which might not be used.

     


Anonymous


Cancel   Add attachments