clistctrl Questions

6

ClistCtrl is set to single selection & single column in report view with no header. I have tried SetItemState(0,LVIS_SELECTED,LVIF_STATE) and SetSelectionMark(int index) but these don't work...
Uphill asked 13/11, 2009 at 13:42

2

Solved

I have a CListCtrl (report style) where I clear the list and repopulate it at certain times. I'd like to maintain the vertical scroll position when doing this. I see there are a couple methods that...
Bio asked 29/9, 2011 at 22:51

4

Solved

I'm using a CListCtrl in Icon view, but it scrolls horizontally: 1 3 5 7 --> 2 4 6 8 --> I'd rather it scroll horizontally: 1 2 3 4 5 6 | | V V Is there a way to do this?
Sukiyaki asked 27/11, 2009 at 4:5

1

I have a CListCtrl in "List" view mode and I can't get it to scroll vertically instead of horizontally. I've tried the suggesting here: Vertical Scrollbar in CListCtrl but that only works...
Durr asked 30/11, 2012 at 19:0

4

Solved

I want to execute some code when the user selects a row in a CListCtrl (report view, I don't care about the other viewing modes). How do I catch this event? is there some message I can map or a m...
Speleology asked 22/9, 2009 at 22:10

3

Solved

Using MFC and Visual Studio 2010 C++. I need a way to make certain individual rows of a CListCtrl stand out (however I do not want to use the built-in selection capability to highlight the rows). I...
Arevalo asked 11/1, 2012 at 16:14

3

Solved

How can I make a CListCtrl to resize the width of its columns automatically? Usually, when an item in the list gets too long, the back end disappears from view and the user manually has to resize t...
Sheridansherie asked 9/4, 2010 at 7:53

2

Solved

in my application I have a few CListCtrl tables. I fill/refresh them with data from an array with a for-loop. Inside the loop I have to make some adjustments on how I display the values so data bin...
Nonstandard asked 10/7, 2009 at 13:29
1

© 2022 - 2024 — McMap. All rights reserved.