|
各位expert...
我在建立工程的时候,选择使用了ClistView,
然后...
void CSgpackView::OnInitialUpdate()
{
CListView::OnInitialUpdate();
// TODO: You may populate your ListView with items by directly accessing
// its list control through a call to GetListCtrl().
GetListCtrl().InsertColumn(0,"filename",LVCFMT_LEFT,100);
GetListCtrl().InsertColumn(1,"filesize",LVCFMT_LEFT,100);
}
增加了两行GetListCtrl().InsertColumn(),
但编译后程序中显示不出增加的两个Column,请问这是怎么回事?
我一年前还编过类似的程序,没有这个问题...现在也不知是怎么了?
[em4] |
|