|
-
May 23rd, 2002, 04:57 AM
#1
columns in CListCtrl trouble
Hi,
I'm having some trouble with a CListCtrl.
when I add some lines to the bottom it should write it only to the end of the list. But somehow it starts a new column just beside the first one.
When using the report type of ListBox it doesn't show the lines, allthough it is inserting them to the list...
wierd!! 
Does anyone know how to switch that of?
Or how can I tell CListCtrl that I want only one Column?
-
May 23rd, 2002, 05:12 AM
#2
Hi
I think you are trying to insert by using InsertColumn
use InsertItem.
-
May 23rd, 2002, 06:01 AM
#3
Nope!
I'm using insert item!
As long as the first column is not full he puts the one under the other but as soon as the window is full it starts on the second column which I don't want!
-
May 23rd, 2002, 06:03 AM
#4
You have to use the report list style having one column as wide
as the list. You can use GetClientRect() to find the width and decrease it by some number for the scrollbar to fit.
regards,
MiMec
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|