- 积分
- 0
- 注册时间
- 2007-1-10
- 仿真币
-
- 最后登录
- 1970-1-1
|
taohe兄:下面是你的书中第八章testmatlabcom中的一段程序,我在调试的时候出现下述问题,想请教一下。调试的时候,总是提示'InsertColumn' : undeclared identifier;'InsertItem' : undeclared identifier,为什么啊,我的设置有问题?不解,多谢关注,多谢解答……
for(j=1;j<InsertColumn(j,strText,LVCFMT_LEFT,columnWidth);)
{
for(i=0;i<InsertItem(
LVIF_TEXT|LVIF_STATE,i,strText,
(i%2)==0?LVIS_SELECTED:0,LVIS_SELECTED,0,0);)//Initialize the text of the subitems
for(j=1;j<n+1;j++)
{
strText.Format(_T("%.0f"),y[i*n+j-1]);
pListBox->SetItemText(i,j,strText);
}
} |
|