THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 04/08/2005 at 21:39, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 9
Platform: Windows ;
Language(s) : C++ ;
---------
Hello ...
Have you ever used a listview without using the resource file ...
If so ... please take a look at my code ... It's not working the way I hope ... I took the ListView.cpp of Cinema4D as an example and coded(copied) like that ...
SimpleListView listview1;
BaseContainer layout;
BaseContainer data;
layout.SetLong('name',LV_COLUMN_TEXT);
listview1.SetLayout(1,layout);
for(i=0;i<5;i++)
{
data.SetString('name',"AAA"+LongToString(i));
listview1.SetItem(10+i,data);
}
listview1.DataChanged();
AddListView(1212,0,100,30);
listview1.AttachListView(this,1212);
Nothing is shown in the dialog ... only the border ...
What's still needed to do that ...
With all my respects ...
ZawMinTun