CListCtrl 中使用 DrawItem MeasureItem 注意事项
来源:互联网 发布:2017彩票网络销售恢复 编辑:程序博客网 时间:2024/05/16 08:27
//-- declaration
protected:
//{{AFX_MSG(CMyListCtrl)
afx_msg void MeasureItem(LPMEASUREITEMSTRUCT lpMeasureItemStruct); //-- Message
//}}AFX_MSG
virtual void DrawItem( LPDRAWITEMSTRUCT lpDrawItemStruct ); //reride
//-- Message macro
BEGIN_MESSAGE_MAP(C_ImageListCtrl, CListCtrl)
ON_WM_MEASUREITEM_REFLECT()
END_MESSAGE_MAP()
//-- Create attend the style LVS_OWNERDRAWFIXED . if had no added style LVS_OWNERDRAWFIXED that the drawitem function can't be called.
protected:
//{{AFX_MSG(CMyListCtrl)
afx_msg void MeasureItem(LPMEASUREITEMSTRUCT lpMeasureItemStruct); //-- Message
//}}AFX_MSG
virtual void DrawItem( LPDRAWITEMSTRUCT lpDrawItemStruct ); //reride
//-- Message macro
BEGIN_MESSAGE_MAP(C_ImageListCtrl, CListCtrl)
ON_WM_MEASUREITEM_REFLECT()
END_MESSAGE_MAP()
//-- Create attend the style LVS_OWNERDRAWFIXED . if had no added style LVS_OWNERDRAWFIXED that the drawitem function can't be called.
- CListCtrl 中使用 DrawItem MeasureItem 注意事项
- CListCtrl, 重载DrawItem函数
- 重载CListCtrl::DrawItem
- VC:重载CListCtrl::DrawItem
- CListCtrl::DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct)
- 重载 CListCtrl::DrawItem.
- CListCtrl, 重载DrawItem函数
- CListCtrl, 重载DrawItem函数
- MFC重绘CListCtrl时DrawItem中绘制CimageList图片
- MFC CListCtrl 设置高度,MeasureItem函数不响应
- VC中CListCtrl使用技巧
- MFC中CListCtrl的使用
- VC中CListCtrl使用技巧
- DrawItem
- DrawItem
- DrawItem
- CListCtrl 一些使用技巧(更新中....)
- CListCtrl 一些使用技巧(更新中....)
- 转(zjcxc)之SQL脚本--有关压缩数据库日志
- JSP的include指令
- No changes made to database
- 超市生鲜食品采购管理
- 用DataReader 分页与几种传统的分页方法的比较
- CListCtrl 中使用 DrawItem MeasureItem 注意事项
- SQL语句优化技术分析
- 去掉IE7询问【你查看的网页正在试图关闭窗口?】的方法
- James Whittaker解释为啥经过那么多人测试,MS的软件还是那么烂
- 在Eclipse中用JDBC连接Sql Server 2005总结
- IBM企业整合服务解决方案-SOA
- 初为人父
- 关于oracle时区
- 一段精简的MFC代码