m_cDis.InsertColumn(0,"行情文件路径",LVCFMT_LEFT,338);
解决方案 »
- 高手看看这种新型的手机销售利用什么原理?
- 关于ListCtrl的KeyLeft和KeyRight消息
- 关于jpeglib2库
- 请问录音时用的缓冲区应该是有符号还是无符合类型啊?
- 用MODEM+VC写一个传真的核心技术
- 在win32 console Application中-〉an application that supports MFC里的socket question,please help
- 请教dll调用的问题,很菜,大家来抢分啦
- 怎样看MFC原代码,在哪看!
- 类的成员函数能否使用函数模板?
- 对于查询结果:row = mysql_fetch_row(res),除了row[1]这样的引用以外?还有什么方法?
- 有没有开发IE插件的SDK?
- 怎样取得webbrowser控件当前的XML文件
可以让其自动调整宽度到刚好合适
{
m_listctrl.SetColumnWidth(i,LVSCW_AUTOSIZE);
}
CRect(0, 0, 0, 0), &m_wndBottomBar, 100))
{
TRACE0("Failed to create instant bar child\n");
return -1;
}
...........
for(i = 0; i < 6; i++)
{
lvcolumn.mask = LVCF_FMT | LVCF_SUBITEM | LVCF_TEXT | LVCF_WIDTH | LVCF_ORDER;
lvcolumn.fmt = LVCFMT_LEFT ;
lvcolumn.pszText = szHead[i];
lvcolumn.iSubItem = i;
lvcolumn.cx = rect.Width() / 6;
lvcolumn.iOrder =i;
m_wndListView.InsertColumn(i, &lvcolumn);
}
就是看不到,为何