Click to See Complete Forum and Search --> : need make a table


zariostr
March 15th, 2004, 11:21 PM
hello
i need make in my program table (like Table/JTable in Java)
resource editor haven't this control
MFC seems haven't it too
how i can make it ?
thanks

Sam Hobbs
March 15th, 2004, 11:40 PM
The Windows equivalent is the list control, which is also called a list view control. The names can be very confusing at times, but what I am talking about is the view we get in the Windows Explorer. The "Details" view is called the "Report Style". If the list control can provide what you need, it is the best choice.

There are many ActiveX controls that are also similar, but very few of them allow dynamic alteration of the numbers of rows/columns such as what HTML provides. Look in the CodeGuru "Other Controls" articles for the "Grid Control" section.

indiocolifa
March 17th, 2004, 11:22 AM
use Listview.

Search for Windows Common Controls in the MSDN

zariostr
March 19th, 2004, 10:13 PM
hello
ok i create listbox and filled it by data
all data items split by " "
here is example of data (2 rows)

5833,18359375 6976,61271411693 7,57301360382518 1,11496565908675E-7 0,901499805820006 5,41617726575527 4,12646487594451

17503,18359375 6976,46308647614 7,57314803619823 -1,43247448464365E-7 0,901531507754311 5,40570087452777 4,1348178321674


how make align data "at columns"

5833,18359375 6976,61271411693 ...
17503,18359375 6976,46308647614 ...

thanks

Sam Hobbs
March 19th, 2004, 10:19 PM
Using a listbox control or a list control? Are you sure you want to use a listbox control?