上一页 1 ··· 80 81 82 83 84 85 86 87 88 ··· 107 下一页

2006年10月17日

How to change the background color of an Edit Box

摘要: How to change the background color of an Edit Box http://www.codeproject.com/cpp/cppfaq10dec04-23jan05.asp You can change the background color of an edit control in a dialog by handling the WM_CTLCO... 阅读全文

posted @ 2006-10-17 22:06 cy163 阅读(373) 评论(0) 推荐(0) 编辑

How to set the font of CListCtrl header

摘要: http://www.codeproject.com/cpp/cppfaq10dec04-23jan05.asp //CFont Varible CFont m_fArial; //Create Arial Font m_fArial.CreateFont(14,0,0,0,FW_BOLD,FALSE,FALSE,FALSE, DEFAULT_CHARSET,OUT_DEFAULT_PRECI... 阅读全文

posted @ 2006-10-17 21:57 cy163 阅读(555) 评论(0) 推荐(0) 编辑

EditBox Control and font size

摘要: http://forums.devx.com/showthread.php?t=83993 I'm very confus Re: EditBox Control and font size, color, etc... Hello boris,I don't know what to do with all that. Actually I'm working under VC++, an... 阅读全文

posted @ 2006-10-17 21:54 cy163 阅读(999) 评论(0) 推荐(0) 编辑

2006年10月15日

如何使用ListCtrl 入门篇

摘要: ListCtrl在工作中,常常用到,也常常看到大家发帖问怎么用这个控件, 故总结了一下自己的使用经验,以供参考使用。 先注明一下,这里,我们用m_listctrl来表示一个CListCtrl的类对象, 然后这里我们的ListCtrl都是report形式,至于其他的如什么大图标,小图标 的暂时不讲,毕竟report是大众话的使用。其次,我们这里用条款一,条款二 来描述第一点,第二点,这个是参照《... 阅读全文

posted @ 2006-10-15 23:03 cy163 阅读(5548) 评论(2) 推荐(0) 编辑

CListCtrl使用技巧

摘要: 以下未经说明,listctrl默认view 风格为report 1. CListCtrl 风格 LVS_ICON: 为每个item显示大图标 LVS_SMALLICON: 为每个item显示小图标 LVS_LIST: 显示一列带有小图标的item LVS_REPORT: 显示item详细资料 直观的理解:windows资源管理器,“查看”标签... 阅读全文

posted @ 2006-10-15 22:53 cy163 阅读(53391) 评论(8) 推荐(5) 编辑

CListView, CListCtrl, CListBox (应先加item,再加column)

摘要: http://book.77169.com/ask13/ask178032.htm我举个例子吧一个CListCtrl控件里有这样一堆东西,我是第一项 111 11111我是第二项 222 22222我是第三项 333 33333我是第四项 444 44444我是第五项 555 55555那么这个CListCtrl控件共有五个IT... 阅读全文

posted @ 2006-10-15 22:38 cy163 阅读(1045) 评论(0) 推荐(0) 编辑

CListView, CListCtrl, CListBox

摘要: 1. http://forum.eviloctal.com/simple/index.php?t18780.html微软的MFC在Visual Studio 6.0中提供了一个新类CHtmlView,利用这个类,我们可以实现在基于文档视图结构的程序中显示HTML文件。 但是它是否可以用来在对话框中实现这一功能呢?我们不妨拿CHtmlView和CListView做一个比较,通过比较这两个类,我们会发... 阅读全文

posted @ 2006-10-15 20:07 cy163 阅读(4376) 评论(0) 推荐(0) 编辑

2006年10月14日

visual C++基础读物, 孙鑫 VC++深入详解

摘要: http://book.csdn.net/bookfiles/29/100294224.shtml 阅读全文

posted @ 2006-10-14 20:26 cy163 阅读(1479) 评论(1) 推荐(0) 编辑

2006年10月13日

VC字符串转换

摘要: 一、BSTR、LPSTR和LPWSTR 在Visual C++.NET的所有编程方式中,我们常常要用到这样的一些基本字符串类型,如BSTR、LPSTR和LPWSTR等。之所以出现类似上述的这些数据类型,是因为不同编程语言之间的数据交换以及对ANSI、Unicode和多字节字符集(MBCS)的支持。 那么什么是BSTR、LPSTR以及LPWSTR呢? BSTR(Basic STRing... 阅读全文

posted @ 2006-10-13 19:42 cy163 阅读(1401) 评论(0) 推荐(0) 编辑

2006年10月12日

BSTR与WCHR的区别在什么地方

摘要: BSTR是字符串,"ABCDEFG\0"之前字符的ascii编码数组。 CHAR是字符,以上每一个都是一个CHAR WCHAR是Wide CHAR就是宽字符,顾名思义,2个CHAR空间保存的字符的Unicode编码。这个编码。。。 没法举例了。不记得~ Top 2楼 EnochShen (小疯子:真的好菜—知耻而后勇!) 回复于 2005-03-05 23:5... 阅读全文

posted @ 2006-10-12 13:28 cy163 阅读(1325) 评论(0) 推荐(0) 编辑

上一页 1 ··· 80 81 82 83 84 85 86 87 88 ··· 107 下一页

导航