vc常用技巧汇总
来源:互联网 发布:自动讲故事软件 编辑:程序博客网 时间:2024/04/28 14:16
1、
HTREEITEM hTreeCurrent;
hTreeCurrent=m_TreeDep.GetSelectedItem();
m_TreeDep.GetParentItem(hTreeCurrent);
2、
CHeaderCtrl *header=m_List.GetHeaderCtrl();
int iCols=header->GetItemCount();
CString s;
HDITEM hditem;
char Buffer[256]={0};
TRACE("/n");
for(int i=0;i<iCols;i++)
{
hditem.mask=HDI_TEXT;
hditem.cchTextMax=256;
hditem.pszText=Buffer;
header->GetItem(i,&hditem);
s.Format("第%d列 标题:%s/n",i,Buffer);
TRACE(s);
}
int iCols=header->GetItemCount();
CString s;
HDITEM hditem;
char Buffer[256]={0};
TRACE("/n");
for(int i=0;i<iCols;i++)
{
hditem.mask=HDI_TEXT;
hditem.cchTextMax=256;
hditem.pszText=Buffer;
header->GetItem(i,&hditem);
s.Format("第%d列 标题:%s/n",i,Buffer);
TRACE(s);
}
3、
- vc常用技巧汇总
- 常用javascript技巧汇总
- mysql常用技巧汇总
- docker常用技巧汇总
- shell常用技巧汇总
- Java常用技巧汇总
- Mysql常用技巧汇总
- VC++编程技巧汇总贴
- vc常用技巧
- vc常用技巧
- 初学VC常用技巧
- VC常用技巧集锦
- vc常用技巧总结
- VC常用开发技巧
- VC常用技巧
- VC常用小技巧
- VC常用小技巧
- VC常用技巧总结
- GetCursorPos
- 在tomcat中手动部署web项目
- 数据库在挂载状态下可以进行consistent backup
- 2008年的生日
- 基于Linux操作系统的底层驱动技术转
- vc常用技巧汇总
- ScreenToClient
- INFORMIX的锁技术
- 形参仅区别于是否const的重载
- Linux下的开源GIS现状
- Python版的开心网(kaixin001.com)争车位停车外挂
- Linux下PCI设备驱动程序开发基本框架
- 简单的查看系统端口占用情况
- android学习笔记之-利用Intent在多个Activity之间跳转