wince5.0 eVC中实现CCheckListBox,Listbox中带复选框的

来源:互联网 发布:华为数据库工程师待遇 编辑:程序博客网 时间:2024/05/29 19:29

最终结论,wince5.0不支持自绘功能,所以这个类不能实现,得通过其他方法。

http://topic.csdn.net/u/20071228/10/a742e9e1-e2d1-41d2-b2d6-fa775fd9fbaa.html

wince5.0至少是不支持重绘的

EVC中发现:
在afxwin.h中有
#if !defined(_WIN32_WCE_NO_OWNERDRAW_LBS)class CCheckListBox : public CListBox
在wceres.h中有
#if !defined(_WIN32_WCE_NO_OWNERDRAW_LBS)#define LBS_OWNERDRAWFIXED 0x0010L#define LBS_OWNERDRAWVARIABLE 0x0020L#endif
在wce.h中有
// Prune unsupported MFC features#define _WIN32_WCE_NO_DELAYLOAD#define _WIN32_WCE_NO_FTP#define _WIN32_WCE_NO_TOOLTIPS#define _WIN32_WCE_NO_DOCKBARS#define _WIN32_WCE_NO_GDITRANSFORM#define _WIN32_WCE_NO_CONTEXTHELP#define _WIN32_WCE_NO_OWNERDRAW_LBS

下面这个链接下一步再研究研究:

http://www.codeproject.com/Articles/4137/CCeListCtrlEx-for-Pocket-PC-2002

http://www.codeproject.com/Articles/2002/CListBoxST-a-CListBox-derived-control

原创粉丝点击