首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往
您找到你想要的搜索结果了吗?
是的
没有找到

VC++6.0中改变窗口背景颜色和控件背景颜色,CDC,我的感觉

cyIcon + 1) / 2;               // Draw the icon               dc.DrawIcon(x, y, m_hIcon);               AfxMessageBox...("dd");   //写在这儿不弹出        }        else        {               CDialog::OnPaint();               //AfxMessageBox...("dd");        //写在这儿将不停的弹出,说明在不停的调用               if (NULL==GetDC())               {               AfxMessageBox...("a");               }               else               {               AfxMessageBox("b");              ...       lpctstr="我的文档";        pDoc->SetTitle(lpctstr);        CString str=pDoc->GetTitle();        AfxMessageBox

2.7K30

CListCtrl控件使用方法总结

m_list.GetCheck(i))            {                 str.Format(_T("第%d行的checkbox为选中状态"), i);                 AfxMessageBox...LVIS_SELECTED) == LVIS_SELECTED )            {                 str.Format(_T("选中了第%d行"), i);                 AfxMessageBox...strtemp;                 strtemp.Format("单击的是第%d行第%d列", lvinfo.iItem, lvinfo.iSubItem);                 AfxMessageBox...%d列",                                 pNMListView->iItem, pNMListView->iSubItem);                 AfxMessageBox...           //判断是否点在checkbox上            if(nFlag == LVHT_ONITEMSTATEICON)            {                 AfxMessageBox

1.8K130
领券