替换应用程序exe图标,主要使用的API函数是BeginUpdateResource(),UpdateResource(),EndUpdateResource()来使用自定义的ico文件类替换exe程序原来的图标。 [cpp] view plain copy // 第一个参数是将要替换图标的exe文 Read More
posted @ 2016-10-27 00:11 findumars Views(3706) Comments(0) Diggs(0)
[cpp] view plain copy //自绘CListCtrl类,重载虚函数DrawItem void CNewListCtrl::DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct) { // TODO: Add your code to draw the Read More
posted @ 2016-10-27 00:10 findumars Views(3350) Comments(0) Diggs(0)
[cpp] view plain copy [cpp] view plain copy //例如CNewListBox继承自CListBox,重载虚MeasureItem和DrawItem这两个虚函数,代码如下: void CNewListBox::DrawItem(LPDRAWITEMSTRUCT Read More
posted @ 2016-10-27 00:10 findumars Views(2615) Comments(0) Diggs(0)
版权声明:本文为博主原创文章,未经博主允许不得转载。 版权声明:本文为博主原创文章,未经博主允许不得转载。 [cpp] view plain copy //在CMainFrame类的PreCreateWindow函数中加入 m_strTitle = _T("Hello"); cs.style &=  Read More
posted @ 2016-10-27 00:09 findumars Views(348) Comments(0) Diggs(0)
[cpp] view plain copy [cpp] view plain copy http://blog.csdn.net/visualeleven/article/details/7286517 Read More
posted @ 2016-10-27 00:07 findumars Views(909) Comments(0) Diggs(0)