Ngày tải lên :
14/11/2012, 15:06
... WS_CHILD|WS_VISIBLE|BS_AUTO3STATE,
CRect( 10, 70, 100 , 100 ), pParentWnd, 3);
// Create an auto check box.
myButton4.Create(_T("My button"), WS_CHILD|WS_VISIBLE|BS_AUTOCHECKBOX,
CRect( 10, 100 , 100 ,1 30) , pParentWnd, ... WS_CHILD|WS_VISIBLE|BS_PUSHBUTTON,
CRect( 10, 10, 100 , 30) , pParentWnd, 1);
// Create a radio button.
myButton2.Create(_T("My button"), WS_CHILD|WS_VISIBLE|BS_RADIOBUTTON,
CRect( 10, 40, 100 , 70) , pParentWnd, ...
dc.Ellipse (0, 0, 100 , 100 );
hay:
CRect rect;
GetClientRect(&rect);
CDC* pDC = GetDC();
pDC->MoveTo(rect.left, rect.top);
pDC->LineTo(rect.right, rect.bottom);
pDC->Ellipse (0, 0, 100 ,...