 |
|
 |
I'm looking for a way to group edit boxes with labels. I want to keep it simple. I could use a grid if I needed to, but this looks a lot cleaner.
Thanks!
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
can u please explain me how to do the same in dialog based application?I have seen how to use the SuperGrid in dialog based application.But there is no check boxes available for items in dialog .Also I don't want the image icons.Can u please guide me how to achieve these things?
modified on Thursday, July 3, 2008 12:50 AM
|
| Sign In·View Thread·PermaLink | 1.00/5 |
|
|
|
 |
|
 |
before go into DrawItem(), I set the column with the item's length in LVN_GETDISPINFO process function OnGetDispInfo(). But there are some problem in DrawItem() that i can't find the reason. [problem] suppose i have follow data: [+]ICON aaa [+]ICON aaaa [+]ICON aaaaa
DrawItem() first: [+]ICON aaa
DrawItem() second: [+]ICON aaa ___________a // before 'a', nothing
DrawItem() third: [+]ICON aaa ___________a // before 'a', nothing ____________a // before 'a', nothing
have some idea? Thank you very much!
Follow the C++ technical
|
| Sign In·View Thread·PermaLink | 2.00/5 |
|
|
|
 |
|
 |
Hi
this is really fantastic control. I really like this.
Does this support multiple column sorting....
sharath b
"The world's biggest power is the youth and beauty of a woman."
|
| Sign In·View Thread·PermaLink | 2.00/5 |
|
|
|
 |
|
|
 |
|
 |
my data is dynamic load from database,and i have carried it out only in the this
control. my problem is i used the tree to control the data display in the list tree control.On this way,i selchanged on the my tree control need display the data
in the list tree.at first,In my tree control selchange function i used the
deleteAll() function to delete the list tree all items and display the new
data.when i use the deleteall function the program will be intermitted. when i
used the DeleteAllItems() function to delete the list tree data,itself delete the
child node and display the child node function will be error.it display the data
not right. like this: +Root1 +Root2 +Root3 expend the Root1 then Root2 node will be delete and collapsed the Root1 it can't
delete itself children.
someone can help me or give me some suggestion,thanks
|
| Sign In·View Thread·PermaLink | 1.33/5 |
|
|
|
 |
|
 |
Hi,
This is fantastic and just what I need. However, I'm using VB6 to write my app (loads of very good reasons for that which I won't go into). Do you have the control compiled as an OCX?
Cheers, Mike May
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Settting the check in a root level item does not work. For example the following code addition to the demo (InitializeGrid method) fails to set the check:
CItemInfo* lp = new CItemInfo(); lp->SetCheck(1); lp->SetImage(4); //add item text lp->SetItemText(_T("Hello World")); //add subitem text lp->AddSubItemText(_T("Happy")); ....
I'm hunting this bug down now...
faraz
|
| Sign In·View Thread·PermaLink | 1.50/5 |
|
|
|
 |
|
 |
To fix:
In CSuperGridCtrl::InsertRootItem(CItemInfo * lpInfo)
starting line 1488:
CItemInfo* lp = GetData(pRoot); LV_ITEM lvItem; lvItem.mask = LVIF_TEXT | LVIF_INDENT | LVIF_PARAM; CString strItem = lp->GetItemText(); lvItem.pszText = strItem.GetBuffer(1); lvItem.iItem = GetItemCount(); lvItem.lParam = (LPARAM)pRoot; lvItem.iIndent = 1; lvItem.iSubItem = 0; CListCtrl::InsertItem(&lvItem); //Add this line in to let CListCtrl know about the check SetCheck(lvItem.iItem, lpInfo->GetCheck());
** Sometimes you know yourself something is a bad idea; follow your instinct **
//yes I know..have to maintain to sets of checkstates here... //one for listview statemask and one for CTreeItem..but its located here so no harm done SetCheck(ht.iItem,!GetCheck(ht.iItem)); CItemInfo *pInfo = GetData(pItem); pInfo->SetCheck(!pInfo->GetCheck());
|
| Sign In·View Thread·PermaLink | 2.00/5 |
|
|
|
 |
|
 |
First,i should say thanks to your effort.i take advantage of your control in my own project. but i think the interface is too large to manipulate.
would you give me a description on how do you combine "LIST" with "TREE" ? the tree like thing is in the first column .when a tree subitem collapses ,the relevent items in list acts accordingly . how does it work ?
|
| Sign In·View Thread·PermaLink | 1.67/5 |
|
|
|
 |
|
 |
Do you have any plans to implement nested List-Controls or Supergrids instead of 'normal' rows (like FlyGrid.Net or Sandgrid) ?
|
| Sign In·View Thread·PermaLink | 1.00/5 |
|
|
|
 |
|
 |
Really useful but is it possible to add checkboxes to the SuperGrid in the dialog?
Do the controls work also in the dialog view? Can't get them to work.
I would really appreciate anyones help?
I'm not daft, just stupid really!!!
-- modified at 8:12 Tuesday 24th October, 2006
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
1. Does anybody know how to implement Multiselection ( Rows ) into this fine piece of code?
^^dssfasdfadsafasdfasdfasdfasdf
|
| Sign In·View Thread·PermaLink | 1.00/5 |
|
|
|
 |
|
|
 |
|
 |
the tree are blinking and freeeze for many times when I trying to add 100 000 nodes ... I think that this can make better ... I remember one VirtualTreeView in C Builder that load 100 000 nodes for 2 seconds may we can take an idea from this ... If i have time I will try to improve it ...
nik
|
| Sign In·View Thread·PermaLink | 2.00/5 |
|
|
|
 |
 | bug  kingship | 7:32 9 Aug '06 |
|
 |
my list like: + RootItem0 |-Item01 |-Item02 |-Item03 |-Item04 + RootItem1 |-Item11 |-Item12 |-Item13 |-Item14 + RootItem2 |-Item21 |-Item22 |-Item23 |-Item24
when collapse all rootitems,like: + RootItem0 + RootItem1 + RootItem2
run search("Item13",NULL)
result like: + RootItem0 |-Item11 |-Item12 |-Item13 |-Item14 <--(selected) - RootItem1 + RootItem2
at this time,click "+" or "-" some other errors can be found.
|
| Sign In·View Thread·PermaLink | 1.00/5 |
|
|
|
 |
|
 |
Dear All,
I am new in Visual C++. I use the Microsoft Visual C++ Version 6.0 and i have a small problem with the list control. I cannot find a way (or i do not understand) how i could change the letter in specific lines with bolt and change at the same lines the text color and the background color. Until now i am using the report style with a grid and i am load the data from a database. I hope someone helps me as soon as possible. Thans in advabce for your time. Best regards, Konstantinos.
|
| Sign In·View Thread·PermaLink | 1.67/5 |
|
|
|
 |
|
 |
This is a good ariticle,thanks for the author. I used it,very nice to extend,simple interface,detailed example.I use it inherited from my own listctrl,to just make my list ctrl has the tree behavior. thanks again.
|
| Sign In·View Thread·PermaLink | 2.00/5 |
|
|
|
 |
|
 |
the version in this page is the one updated in 14 july(by history text) .it doesnot support the subitem'image. the newest version is 4 dec. where is it ?
|
| Sign In·View Thread·PermaLink | 2.67/5 |
|
|
|
 |
|
|
 |
|
 |
In listCtrl, we can use SetItemData to bound DWORD to every list item, but in this control, we can't do that, hope you can give those functions:SetItemData, GetItemData.;P
|
| Sign In·View Thread·PermaLink | 3.67/5 |
|
|
|
 |
|
 |
To set data use:
CItemInfo *lpItem=new CItemInfo(); int YourValue=123; lpItem->SetItemText(_T("Note")); lpItem->m_lParam=YourValue; m_listItem.InsertRootItem(lpItem);
To get data (For example in OnNMDblclkGrid()):
CTreeItem* pSelItem=m_listItem.GetTreeItem(index); int YourValue=(int)pSelItem->m_lpNodeInfo->m_lParam;
Wormhole is the God divided by zero
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi guru, I am a newbie in C++ Programming. I am trying to use this control on my bill of material (BOM) program. I have a list of BOM (ParentNo, ChildNo, Description, etc) that I want to display using this control. So, I use loop (for i = ...) to loop through the list and InsertItem(ParentNo, ChildNo). How do I write the loop program to insert all the ChildNo using ParentNo as the Parent. Please Note: ParwentNo is not displayed, it's only used to specified where the ChildNo belonged to. Thank you for all your help and suggestion.
Tom.
|
| Sign In·View Thread·PermaLink | 1.50/5 |
|
|
|
 |
|
|
 |
|
|
 |