AlionSolutions
November 29th, 2002, 08:42 AM
Hi folks,
as you might have noticed if you read my previous posts I'm working with list-views and tree-views the last weeks.
ok, I decided to get rid of some classes of the Borland Visual Component Library.
One reason that leaded me to this decision is the fact,that all VCL-components are no real C++-objects. they are object-pascal (Delphi) objects, with a c++-stub linked *uargh*. theres a serious overhead I think caused by this "Delphi Class Recycling". :p
another reason is that VCL-classes are too fat... ok, ok, not talking about MFC which is worse :p
Yeah, too the question: Two components are not that easy to substitute via API-Calls. The ListView and the TreeView component.
for each of the simple controls like buttons etc. you can create those "windows" by CreateWindow. but how to create TreeView and ListView.
Those familiar with CreateWindow() know DEFPUSHBUTTON, GROUPBOX etc. but I found NO identifier like TREEVIEW or LISTVIEW.
So please can you tell me how TreeViews and ListViews are created ?
Thanx in advance
Juergen
as you might have noticed if you read my previous posts I'm working with list-views and tree-views the last weeks.
ok, I decided to get rid of some classes of the Borland Visual Component Library.
One reason that leaded me to this decision is the fact,that all VCL-components are no real C++-objects. they are object-pascal (Delphi) objects, with a c++-stub linked *uargh*. theres a serious overhead I think caused by this "Delphi Class Recycling". :p
another reason is that VCL-classes are too fat... ok, ok, not talking about MFC which is worse :p
Yeah, too the question: Two components are not that easy to substitute via API-Calls. The ListView and the TreeView component.
for each of the simple controls like buttons etc. you can create those "windows" by CreateWindow. but how to create TreeView and ListView.
Those familiar with CreateWindow() know DEFPUSHBUTTON, GROUPBOX etc. but I found NO identifier like TREEVIEW or LISTVIEW.
So please can you tell me how TreeViews and ListViews are created ?
Thanx in advance
Juergen