clistctrl
CListCtrl: How to maintain scroll position?
I have a CListCtrl (report style) where I c开发者_运维百科lear 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 m[详细]
2023-04-09 05:07 分类:问答How to catch a CListCtrl column width change event?
How can I catch CListCtrl column width change event in MFC? I believe there should be an OnNotify() event but I am note sure about various values and the parameters to use for message map and the even[详细]
2023-03-11 15:59 分类:问答CListCtrl - how to find it is selected
I have got a CDialog Class, inside which there are two ClistCtrl classes. I want to find out which of the listCtrl\'s is selected at the moment.[详细]
2023-01-28 12:35 分类:问答Custom CListCtrl
I need to create a ListControl in MFC, each row having different number of col开发者_如何学JAVAumns.[详细]
2023-01-18 20:27 分类:问答Does LVS_EX_FULLROWSELECT have any compatibility issues with other styles?
I am trying to set the LVS_EX_FULLROWSELECT style on my grid list control as I want full row selection. However apparently it doesn\'t have any effect. Since I am using a number of other styles as wel[详细]
2023-01-10 22:25 分类:问答Coupling an MFC CListCtrl and CTreeCtrl to get a view of the whole tree, not just one node at a time
Consider Windows Explorer (or regedit or similar). To the left side, there is a tree view, and to the right, a list view. In all cases I know of, the contents of the right view reflect the attributes[详细]
2022-12-31 20:19 分类:问答Limiting the number of entries in a list control MFC
I need to limit the entries that appear in my list control since two much entries make my MFC program slow. Is there a way to show only the last fe开发者_如何学JAVAw entries (say for an example the mo[详细]
2022-12-28 06:57 分类:问答Problem with OnMeasureItem()
I used OnMeasureItem() in my MFC ListControl to increase the height of the rows, and added WM_ON_MEASUREITEM() message in the Map. THe code I used is as follows:[详细]
2022-12-26 10:02 分类:问答Auto resizing column widths in a CListCtrl
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[详细]
2022-12-25 23:54 分类:问答C++/MFC: Handling multiple CListCtrl's headers HDN_ITEMCLICK events
I\'m coding an MFC application in which i have a dialog box with multiple CListCtrls in report view. I want one of them to be sortable.[详细]
2022-12-25 22:03 分类:问答