摘要:
void CMyButton::DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct){CDC dc;dc.Attach(lpDrawItemStruct->hDC);VERIFY(lpDrawItemStruct->CtlType==ODT_BUTTON);CBrush brush;brush.CreateSolidBrush(RGB(0,0,120));CRect rect;rect=lpDrawItemStruct->rcItem;dc.FillRect(rect,&brush);/*UINT uStyle = DFCS_BUTT 阅读全文
posted @ 2011-03-20 16:39
情有独钟
阅读(985)
评论(0)
推荐(0)

浙公网安备 33010602011771号