HDC Owners: PaintCanvas
class PaintCanvas: public Canvas
PaintCanvas (Win::Dow::Handle win)
(win, &_paint)), _win (win)
PaintCanvas (PaintCanvas &);
PaintCanvas & operator= (PaintCanvas &);
There are several owner classes with different acquisition/release methods. This one is created in the context of WM_PAINT message. Notice the no-transfer policy (private copy-co and assignment).