void MyCtrl::Paint(Draw& w) { HDC hdc = w.BeginGdi(); // now use hdc w.EndGdi(); }
Report message to a moderator