📄 subject_40027.htm
字号:
<p>
序号:40027 发表者:lijianxu 发表日期:2003-05-15 11:33:37
<br>主题:如何在列表控件中加内容
<br>内容:我想在一个列表控件加两列和一些内容<BR>如下:<BR> 服务器 IP地址<BR> xxxx 0.0.0.0<BR><BR>谢谢了<BR>
<br><a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p>
<hr size=1>
<blockquote><p>
<font color=red>答案被接受</font><br>回复者:wowow 回复日期:2003-05-15 13:27:18
<br>内容:m_list是CListCtrl,80表示列宽度。<BR>不要忘了列表风格要是LVS_REPORT。<BR>插入列:<BR>m_list.InsertColumn(0, "服务器", LVCFMT_LEFT, 80);<BR>m_list.InsertColumn(1, "IP地址", LVCFMT_LEFT, 80);<BR>插入内容:<BR>m_list.InsertItem(0, 0,"xxxx");<BR>m_list.InsertItem(0, 1, "0.0.0.0");<BR><BR>
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -