Searched refs:dc (Results 1 – 1 of 1) sorted by relevance
88 CPaintDC dc(this); // device context for painting in OnPaint() local90 SendMessage(WM_ICONERASEBKGND, reinterpret_cast<WPARAM>(dc.GetSafeHdc()), 0); in OnPaint()101 dc.DrawIcon(x, y, m_hIcon); in OnPaint()