Home > Software engineering >  How to make CListCtl column line, line into a column?
How to make CListCtl column line, line into a column?

Time:09-21

For example, at present is this:
Name, student id birthday
Zhang, 001, 1998
Li si, 001, 1998
Fifty and 001 1998
I need to display like this
The name Tom, dick and harry fifty
Student id, 001, 002, 003
Birthday, 1988, 1988, 1988

Baidu said the set HDS_VERT, but if not do, this property is not in the vs2012

CodePudding user response:

To fill the List

CodePudding user response:

You call again CListCtrl relevant interface Settings, data can be

CodePudding user response:

Controls the same, its own data transpose

CodePudding user response:

refer to the second floor VisualEleven response:
CListCtrl you to call the relevant interface Settings, data can be

Thought of this method, but the header list will be displayed, is a list with the naked eye bright display looks the head,
As well as when you select, or press the row to select, not by each column to select, it looks bad,

CodePudding user response:

reference sichuanpb reply: 3/f
control constant, its own data transpose

Thought of this method, but the header list will be displayed, is a list with the naked eye bright display looks the head,
As well as when you select, or press the row to select, not by each column to select, it looks bad,

CodePudding user response:

List of native controls should not support this operation.

Using a third party, or the custom painting.

CodePudding user response:

reference sichuanpb reply: 3/f
control constant, its own data transpose

Great minds think alike.

CodePudding user response:

Use CGridCtrl?

CodePudding user response:

Controls should do not have this function, only through the code for replacement

CodePudding user response:

Do your own matrix transpose
  • Related