From: Peter on 21 Feb 2010 10:20 Hi, I am looking for some CListCtrl derived class which supports multiple subitem selections. I need to select groups of cells similarly as in Excel application. I found and tried several well-known samples from codeproject, but no of them has this feature. Does anybody know some sample which provides this feature ? I need it only for selecting logon hours in week in table where rows are days and columns are hours. I need no other features, but only multiple cells selection. Thanks for any tips ! Peter
From: Joseph M. Newcomer on 21 Feb 2010 18:10 You would have to roll it yourself, and frankly I'd think it a bit of overkill. What you need instead of a CListCtrl is a spreadsheet style table. There are several available, including Chris Maunder's on www.codeproject.com (and please, those of you think it is "bugged", we're tired of hearing that, given how many of us have used it successfully), and the open-source Dundas version. I realize this is probably pretty far into your project, but it might be faster to re-engineer for a spreadsheet control than to try to roll-your-own cell selector on a CListCtrl. joe On Sun, 21 Feb 2010 07:20:01 -0800, Peter <Peter(a)discussions.microsoft.com> wrote: >Hi, >I am looking for some CListCtrl derived class which supports >multiple subitem selections. >I need to select groups of cells similarly as in Excel application. >I found and tried several well-known samples from codeproject, but no of >them has this feature. >Does anybody know some sample which provides this feature ? >I need it only for selecting logon hours in week in table where rows are >days and columns are hours. I need no other features, but only multiple cells >selection. > >Thanks for any tips ! >Peter Joseph M. Newcomer [MVP] email: newcomer(a)flounder.com Web: http://www.flounder.com MVP Tips: http://www.flounder.com/mvp_tips.htm
From: Tom Serface on 22 Feb 2010 13:07 Peter, You might want to take a look at this control: http://www.codeproject.com/KB/miscctrl/gridctrl.aspx Tom "Peter" <Peter(a)discussions.microsoft.com> wrote in message news:01848EA6-1222-42C0-AEF7-798068D24FB2(a)microsoft.com... > Hi, > I am looking for some CListCtrl derived class which supports > multiple subitem selections. > I need to select groups of cells similarly as in Excel application. > I found and tried several well-known samples from codeproject, but no of > them has this feature. > Does anybody know some sample which provides this feature ? > I need it only for selecting logon hours in week in table where rows are > days and columns are hours. I need no other features, but only multiple > cells > selection. > > Thanks for any tips ! > Peter
|
Pages: 1 Prev: multiple core programming in win32 Next: Need critical input on this |