My app consists of one
main dialog box.
One of the controls in the dialog is
a Picture one, but I've given it a Rectangle type.
Is it possible to draw only inside this area using the
CDC *pDC;
pDC = GetDC();
CPen bluepen;
bluepen.CreatePen(PS_SOLID, 1, RGB(0,0,255));
etc...
As a matter of fact I cannot even draw at all, anywhere on the dialog area, nothin appears after
pDC->MoveTo(100,100);
pDC->LineTo(200, 200);
I've no idea why.
thank you.
Avendeval
main dialog box.
One of the controls in the dialog is
a Picture one, but I've given it a Rectangle type.
Is it possible to draw only inside this area using the
CDC *pDC;
pDC = GetDC();
CPen bluepen;
bluepen.CreatePen(PS_SOLID, 1, RGB(0,0,255));
etc...
As a matter of fact I cannot even draw at all, anywhere on the dialog area, nothin appears after
pDC->MoveTo(100,100);
pDC->LineTo(200, 200);
I've no idea why.
thank you.
Avendeval