![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
MyControl
心若冰清自然开心
热爱C/C++
展开
-
ImageFromIDResource
bool ImageFromIDResource(UINT nID, LPCTSTR sTR,Bitmap * &pImg) { HINSTANCE hInst = AfxGetResourceHandle(); HRSRC hRsrc = ::FindResource (hInst,MAKEINTRESOURCE(nID),sTR); // type if (!h转载 2014-11-12 22:14:35 · 1229 阅读 · 0 评论 -
CListCtrlCl::DrawItem
void CListCtrlCl::DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct) { TCHAR lpBuffer[256]; LV_ITEM lvi; lvi.mask = LVIF_TEXT | LVIF_PARAM ; lvi.iItem = lpDrawItemStruct->itemID ; lvi.iSubItem = 0; l原创 2014-11-12 22:15:26 · 1324 阅读 · 0 评论