CDC dc; HBRUSH br; br.CreateSolidBrush(RGB(255,0,0)); dc.SelectObject(&br); dc.Rectangle(100,150,200,300); dc.Ellipse(150,200,300,400); dc.LineTo(50,100); dc.MoveTo(100,210); this->Invalidate();//To call onpaint function
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)