look at "dc.SelectObject(&pen)" and "dc.SelectObject (&brush)",here no matter I use "&" or not it results the same. why is that?
void CMainWindow::OnPaint ()
{
CPaintDC dc (this);
CBrush brush (RGB (255, 0, 0));
CPen pen (PS_NULL, 0, (RGB (0, 0, 0)));
dc.SelectObject(&pen);
dc.SelectObject (&brush);
dc.Ellipse (0, 0, 200, 100);
}