28 |
Re-order the cell's caption, icons and images/pictures
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERTREELib' for the library: 'ExplorerTree 1.0 Control Library' #import <ExplorerTree.dll> using namespace EXPLORERTREELib; */ EXPLORERTREELib::IExplorerTreePtr spExplorerTree1 = GetDlgItem(IDC_EXPLORERTREE1)->GetControlUnknown(); spExplorerTree1->BeginUpdate(); spExplorerTree1->Images(_bstr_t("gBJJgBAICAADAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEahkZAIAEEbjMjlErlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") + "lVq1XrFZrVbrlTiFdib/sNjr9gs1nldlrlqtFtt0stlguNvulyh91ud1vVVvNuvt7wFHr9/vl3luEwOJouIq+Dw2KyGRyWTymVy2XzGZzUuiw+lmej0gkUaksljaAnmD" + "cD/cEbf7w1+ufD/fEbeB028bYAO3enB6AB++4EoA4A4sb4vHjXJ4nG5vKAHA4ca6XBjTAD/Y2x/eB/jcB"); EXPLORERTREELib::IGroupPtr var_Group = spExplorerTree1->GetGroups()->Add(L"Group"); var_Group->PutExpanded(VARIANT_TRUE); var_Group->PutAutoHeight(VARIANT_TRUE); var_Group->GetColumns()->Clear(); EXPLORERTREELib::IColumnPtr var_Column = ((EXPLORERTREELib::IColumnPtr)(var_Group->GetColumns()->Add(L"ToLeft"))); var_Column->PutDef(EXPLORERTREELib::exCellHasCheckBox,VARIANT_TRUE); EXPLORERTREELib::IColumnPtr var_Column1 = ((EXPLORERTREELib::IColumnPtr)(var_Group->GetColumns()->Add(L"ToRight"))); var_Column1->PutDef(EXPLORERTREELib::exCellHasCheckBox,VARIANT_TRUE); var_Column1->PutDef(EXPLORERTREELib::exCellDrawPartsOrder,"caption,picture,icons,icon,check"); var_Group->PutDefaultItemHeight(32); var_Group->PutDrawGridLines(EXPLORERTREELib::exVLines); var_Group->PutHeaderAppearance(EXPLORERTREELib::Etched); EXPLORERTREELib::IItemsPtr var_Items = var_Group->GetItems(); long h = var_Items->AddItem("Caption"); var_Items->PutCellImage(h,long(0),2); var_Items->PutCellImages(h,long(0),"1,2"); var_Items->PutCellPicture(h,long(0),((ObjectPtr)(spExplorerTree1->ExecuteTemplate(_bstr_t("loadpicture(`gCJKBOI4NBQaBQAhQNJJIIhShQAEEREAIA0ROZ6PT0hQKYZpIZDKBJkIgKByN5mNJsMsKPABVqXBI4KjrD7HL6GWKPJKiCIhMiySidKxbOzZZJWMLs") + "GL2FqyLjZMonNa2CyiZDOUqsQqUEq0ZCNISFXDIFxzZ4hUrbdrefZ/fz3ZgzZ75Tz3XjvHZnZznPieb55AKgAqmRyOOzEhR7XirWaWQQMTa+QIhDbZOZAAoYUCPDAQG7" + "FXI4JRrNCoIRdPyyFr0AYifDUKZ+PCufK4RReALLUbtdBHSrGTCCNKqT4MbRqUxxQx+CAAEQ2VCBbxqGaLYDZNgzFbCbLDarRCrqMYMM6cWqpHKUDqhZjnVijEoLcp0F" + "CjVg2OYhTjN/QWk4bo4iseBsAcABIDoPA5g2HgADIkQfDCNxwkEQYnFmAIAB4OJHGcKAPioGRKFKdh2g6UB8iiZ5QkYQp3gKWhDlsWYmAARBcgCIAUniVpmiSA5AF3A4" + "wG8P41nGWwDDAW4MAAIpSG+bRzBoGx3AeCJhh6C4ljCUJGnSRBUFKAIQA6EgIHMWBoHqYgAngHJDCALBmhCCAfHOARAScUBvAmc5zHYXxoguXQ8DEMIAH8dI8HmP4/Ay" + "QJAEAYAoHqRByEQGJiECBAzAkKIpBYNIcikAp8kcZhDn4EBChmUoMgqHIqhiWoIgaDImgyVQImaRw/F0EZGCcSw3DaM4Kn6GBBhwYYZDGZo3C+RgOAmNQnhYeYqgsTZe" + "nEVgSFYLo2CydhGg4OROF2HJjlydR7i+cJjDGFo8BgHgVl4Po+DufJRgcbQOlkCxyKuCJNAsdwIhSC4mgieYKkeHJWD0Ih8BQaYYkkMYppwTg0EsFhJC0SxEkgeodDSF" + "pTheV5S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utCellCaption(h,long(1),var_Items->GetCellCaption(h,long(0))); var_Items->PutCellHAlignment(h,long(1),EXPLORERTREELib::RightAlignment); var_Items->PutCellImage(h,long(1),var_Items->GetCellImage(h,long(0))); var_Items->PutCellImages(h,long(1),"2,1"); var_Items->PutCellPicture(h,long(1),((ObjectPtr)(var_Items->GetCellPicture(h,long(0))))); h = var_Items->AddItem("<b>HTML</b> <off 4>Caption"); var_Items->PutCellCaptionFormat(h,long(0),EXPLORERTREELib::exHTML); var_Items->PutCellImage(h,long(0),2); var_Items->PutCellImages(h,long(0),"1,2"); var_Items->PutCellPicture(h,long(0),((ObjectPtr)(spExplorerTree1->ExecuteTemplate(_bstr_t("loadpicture(`gCJKBOI4NBQaBQAhQNJJIIhShQAEEREAIA0ROZ6PT0hQKYZpIZDKBJkIgKByN5mNJsMsKPABVqXBI4KjrD7HL6GWKPJKiCIhMiySidKxbOzZZJWMLs") + "GL2FqyLjZMonNa2CyiZDOUqsQqUEq0ZCNISFXDIFxzZ4hUrbdrefZ/fz3ZgzZ75Tz3XjvHZnZznPieb55AKgAqmRyOOzEhR7XirWaWQQMTa+QIhDbZOZAAoYUCPDAQG7" + "FXI4JRrNCoIRdPyyFr0AYifDUKZ+PCufK4RReALLUbtdBHSrGTCCNKqT4MbRqUxxQx+CAAEQ2VCBbxqGaLYDZNgzFbCbLDarRCrqMYMM6cWqpHKUDqhZjnVijEoLcp0F" + "CjVg2OYhTjN/QWk4bo4iseBsAcABIDoPA5g2HgADIkQfDCNxwkEQYnFmAIAB4OJHGcKAPioGRKFKdh2g6UB8iiZ5QkYQp3gKWhDlsWYmAARBcgCIAUniVpmiSA5AF3A4" + "wG8P41nGWwDDAW4MAAIpSG+bRzBoGx3AeCJhh6C4ljCUJGnSRBUFKAIQA6EgIHMWBoHqYgAngHJDCALBmhCCAfHOARAScUBvAmc5zHYXxoguXQ8DEMIAH8dI8HmP4/Ay" + "QJAEAYAoHqRByEQGJiECBAzAkKIpBYNIcikAp8kcZhDn4EB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xL0OAmKI6CpEc4SuOkeBeOwMRnLQuQhO" + "ApDJAImYmD44BPIgAzFMYiR3LcQw4JwqhQAknAMFAxwEEwJwUO4ljCHgmxzNwNQ3EU3ScLYEAACocDePwZgCLI+yFN8jg7FEQTtKMcwrAAOhgHw6SQI4OCmJgjDmNAjj" + "5Gw+wbHkkTpEw7gpFgIAA2sABJEUThEK4QhgIJAQ==`)")))); var_Items->PutCellCaption(h,long(1),var_Items->GetCellCaption(h,long(0))); var_Items->PutCellCaptionFormat(h,long(1),EXPLORERTREELib::exHTML); var_Items->PutCellHAlignment(h,long(1),EXPLORERTREELib::RightAlignment); var_Items->PutCellImage(h,long(1),var_Items->GetCellImage(h,long(0))); var_Items->PutCellImages(h,long(1),"2,1"); var_Items->PutCellPicture(h,long(1),((ObjectPtr)(var_Items->GetCellPicture(h,long(0))))); spExplorerTree1->EndUpdate(); |
27 |
ImageSize property on 32 (default) (specifies the size of control' icons/images/check-boxes/radio-buttons)
// AddGroup event - Occurs when a new group is added to collection. void OnAddGroupExplorerTree1(LPDISPATCH Group) { } /* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERTREELib' for the library: 'ExplorerTree 1.0 Control Library' #import <ExplorerTree.dll> using namespace EXPLORERTREELib; */ EXPLORERTREELib::IExplorerTreePtr spExplorerTree1 = GetDlgItem(IDC_EXPLORERTREE1)->GetControlUnknown(); EXPLORERTREELib::IExplorerTreePtr spExplorerTree1 = GetDlgItem(IDC_EXPLORERTREE1)->GetControlUnknown(); spExplorerTree1->BeginUpdate(); spExplorerTree1->PutShowShortcutBar(VARIANT_TRUE); spExplorerTree1->PutImageSize(32); spExplorerTree1->PutGroupHeight(32); spExplorerTree1->GetFont()->PutSize(_variant_t(long(16))); spExplorerTree1->Images(_bstr_t("gBJJgBAIDAAEg4AEEKAD/hz/EMNh8TIRNGwAjEZAEXjAojKAjMLjABhkaABAk0plUrlktl0vmExmUzmk1m03nE5nU7nk9miAoE+oVDolFo1HpFJpU5h8Sf9OqFNq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9z7PbfB3VVqHyvMctLto8uob6eV0m/cD6MN2v+T33t6sBut42vdv2bJ8a997x2maFJfK+qArbGJPEKE+1qTflMsIdW/GCJX17KcT" + "6/czr/X+u1g29B7j/4BQfWkkx4zIHisjhPCmE0K4SwtXM+d4BvHRwNZOoBph9IJvPek9d40FoMJxf691jj2ywQQcHEWET4XJwkTszlVqm2GokewxtBT1DpQjRxDN0rUV" + "DNKdC3lb6tzNOwh6upMSSYfv4YBCl/bsn9PxiFCEo7SI6Obc9HeOrnY8x4jtHtdpN4GRbaorhsbu18Pph5CiHymI0RpSXGJ/z2oUOxYxG858AyiI+bfJtuTcG5yelBJy" + "T8okhqFd4a5yxL0rvulYtKCsZiWxWkc1s1cRoxxwhA31DLE0mR9l9HqX8fJgTDmFMVH0MIsRzVYnwnMi1dyzmhLt2kS2pxIiU62Wj5ptQGlSYFakLonTUJNLKaM5Wzlf" + "fEkuFkk5wTrhVO2eE7G6lJhxFFYUZ55zmn0WuBCD4pzhirFCKkbomsOoIYmZx5p90LoYWGPdD5g0QmJRKYxbZ6zYoVQ2jVGylSak7KSkFH6RSjpHKFuU+YMyNo5SulkC" + "6I0vonTCitMXPoEpVS2H5FQfEqp2R1opIgAEkJISYARTCukOhmPNI5Ex/wzGHUsicMwA1LHgQ90Y/KpoQHAD+pB/R4NzIaMAB9Xaw1gqaAOsh/A/ptIkWUfhGK1kZH8R" + "gH5GqvgArqRmt4AAPrTroRofBGADkqr6Rmu4D7CEaHARiwpJrEEZsXXwlVjyMWRsaRqwdkLGNBABZmytmyMnaINZqyVpLR2ftKAAAdd6h2osbaskdiq4EZtgSmyNcbVW" + "RJNXe3AA7REar3b0stlAAXBtoRmvJGLjEYAHUWsFcwCD/rnaop9aEICMAPdK5hT6xpeuzdOtAgKuJeGfdq6ggEbkTvAP+p9UCHXrvKkcgIA=="); EXPLORERTREELib::IAppearancePtr var_Appearance = spExplorerTree1->GetVisualAppearance(); var_Appearance->Add(1,_bstr_t("gBFLBCJwBAEHhEJ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YAAmMJfkSbh" + "FCcFpFnGDBnBqRpUhuEwTDeZ5lHCfw6HIQxLCaAxygyJwqgGcATE4FA6hWY4tjEAAQBAgIA=="); spExplorerTree1->PutBackground(EXPLORERTREELib::exSelBackColorFilter,0x4000000); spExplorerTree1->PutBackground(EXPLORERTREELib::exSelForeColorFilter,RGB(0,0,0)); spExplorerTree1->PutBackground(EXPLORERTREELib::exBackColorFilter,spExplorerTree1->GetBackColor()); spExplorerTree1->PutBackground(EXPLORERTREELib::exForeColorFilter,spExplorerTree1->GetForeColor()); spExplorerTree1->PutBackground(EXPLORERTREELib::exCursorHoverColumn,-1); spExplorerTree1->PutBackground(EXPLORERTREELib::exHeaderFilterBarButton,0x4000000); spExplorerTree1->PutBackground(EXPLORERTREELib::exHeaderFilterBarActive,0x4010101); spExplorerTree1->PutBackground(EXPLORERTREELib::exFooterFilterBarButton,0x40000ff); EXPLORERTREELib::IGroupPtr var_Group = spExplorerTree1->GetGroups()->Add(L"Classament <b>A</b>"); var_Group->GetColumns()->Clear(); var_Group->PutShortcut(L"<img>1</img>"); var_Group->PutHasLines(EXPLORERTREELib::exNoLine); EXPLORERTREELib::IColumnsPtr var_Columns = var_Group->GetColumns(); var_Columns->Add(L"Group"); EXPLORERTREELib::IColumnPtr var_Column = ((EXPLORERTREELib::IColumnPtr)(var_Columns->Add(L"P1"))); var_Column->PutWidth(32); var_Column->PutAllowSizing(VARIANT_FALSE); EXPLORERTREELib::IColumnPtr var_Column1 = ((EXPLORERTREELib::IColumnPtr)(var_Columns->Add(L"P2"))); var_Column1->PutWidth(32); var_Column1->PutAllowSizing(VARIANT_FALSE); EXPLORERTREELib::IColumnPtr var_Column2 = ((EXPLORERTREELib::IColumnPtr)(var_Columns->Add(L"P3"))); var_Column2->PutWidth(32); var_Column2->PutAllowSizing(VARIANT_FALSE); EXPLORERTREELib::IColumnPtr var_Column3 = ((EXPLORERTREELib::IColumnPtr)(var_Columns->Add(L"P4"))); var_Column3->PutWidth(32); var_Column3->PutAllowSizing(VARIANT_FALSE); EXPLORERTREELib::IItemsPtr var_Items = var_Group->GetItems(); long h = var_Items->AddItem("Group 1"); var_Items->PutCellHAlignment(h,long(0),EXPLORERTREELib::CenterAlignment); var_Items->PutItemDivider(h,0); var_Items->PutItemDividerLineAlignment(h,EXPLORERTREELib::DividerCenter); var_Items->PutItemHeight(h,24); var_Items->PutSortableItem(h,VARIANT_FALSE); long h1 = var_Items->InsertItem(h,vtMissing,"Team 1"); var_Items->PutCellCaption(h1,long(1),long(11)); var_Items->PutCellCaption(h1,long(2),long(2)); var_Items->PutCellCaption(h1,long(3),long(3)); var_Items->PutCellCaption(h1,long(4),long(12)); h1 = var_Items->InsertItem(h,vtMissing,"Team 2"); var_Items->PutCellCaption(h1,long(1),long(2)); var_Items->PutCellCaption(h1,long(2),long(3)); var_Items->PutCellCaption(h1,long(3),long(4)); var_Items->PutCellCaption(h1,long(4),long(2)); var_Items->PutExpandItem(h,VARIANT_TRUE); h = var_Items->AddItem("Group 2"); var_Items->PutCellHAlignment(h,long(0),EXPLORERTREELib::CenterAlignment); var_Items->PutItemDivider(h,0); var_Items->PutItemDividerLineAlignment(h,EXPLORERTREELib::DividerCenter); var_Items->PutItemHeight(h,24); var_Items->PutSortableItem(h,VARIANT_FALSE); h1 = var_Items->InsertItem(h,vtMissing,"Team 1"); var_Items->PutCellCaption(h1,long(1),long(1)); var_Items->PutCellCaption(h1,long(2),long(2)); var_Items->PutCellCaption(h1,long(3),long(3)); var_Items->PutCellCaption(h1,long(4),long(4)); h1 = var_Items->InsertItem(h,vtMissing,"Team 2"); var_Items->PutCellCaption(h1,long(1),long(5)); var_Items->PutCellCaption(h1,long(2),long(6)); var_Items->PutCellCaption(h1,long(3),long(6)); var_Items->PutCellCaption(h1,long(4),long(16)); var_Items->PutExpandItem(h,VARIANT_TRUE); var_Group->PutExpanded(VARIANT_TRUE); spExplorerTree1->GetGroups()->Add(L"Classament <b>D")->PutShortcut(L"<img>3</img>"); EXPLORERTREELib::IGroupPtr var_Group1 = spExplorerTree1->GetGroups()->Add(L"Classament <b>B"); var_Group1->PutShortcut(L"<img>1</img>"); var_Group1->PutCaptionFormat(EXPLORERTREELib::exHTML); var_Group1->GetColumns()->Clear(); EXPLORERTREELib::IGroupPtr var_Group2 = spExplorerTree1->GetGroups()->Add(L"Classament <b>C"); var_Group2->PutShortcut(L"<img>1</img>"); var_Group2->GetColumns()->Clear(); EXPLORERTREELib::IColumnPtr var_Column4 = ((EXPLORERTREELib::IColumnPtr)(var_Group2->GetColumns()->Add(L"Group"))); var_Column4->PutDef(EXPLORERTREELib::exCellHasCheckBox,VARIANT_TRUE); var_Column4->PutPartialCheck(VARIANT_TRUE); EXPLORERTREELib::IColumnPtr var_Column5 = ((EXPLORERTREELib::IColumnPtr)(var_Group2->GetColumns()->Add(L"P1"))); var_Column5->PutDef(EXPLORERTREELib::exCellHasCheckBox,VARIANT_TRUE); var_Column5->PutPartialCheck(VARIANT_TRUE); var_Column5->PutWidth(32); var_Column5->PutAllowSizing(VARIANT_FALSE); var_Column5->PutLevelKey(long(1)); EXPLORERTREELib::IColumnPtr var_Column6 = ((EXPLORERTREELib::IColumnPtr)(var_Group2->GetColumns()->Add(L"P2"))); var_Column6->PutDef(EXPLORERTREELib::exCellHasCheckBox,VARIANT_TRUE); var_Column6->PutPartialCheck(VARIANT_TRUE); var_Column6->PutWidth(32); var_Column6->PutAllowSizing(VARIANT_FALSE); var_Column6->PutLevelKey(long(1)); EXPLORERTREELib::IColumnPtr var_Column7 = ((EXPLORERTREELib::IColumnPtr)(var_Group2->GetColumns()->Add(L"P3"))); var_Column7->PutDef(EXPLORERTREELib::exCellHasCheckBox,VARIANT_TRUE); var_Column7->PutPartialCheck(VARIANT_TRUE); var_Column7->PutWidth(32); var_Column7->PutAllowSizing(VARIANT_FALSE); var_Column7->PutLevelKey(long(2)); EXPLORERTREELib::IColumnPtr var_Column8 = ((EXPLORERTREELib::IColumnPtr)(var_Group2->GetColumns()->Add(L"P4"))); var_Column8->PutDef(EXPLORERTREELib::exCellHasCheckBox,VARIANT_TRUE); var_Column8->PutPartialCheck(VARIANT_TRUE); var_Column8->PutWidth(32); var_Column8->PutAllowSizing(VARIANT_FALSE); var_Column8->PutLevelKey(long(2)); EXPLORERTREELib::IItemsPtr var_Items1 = var_Group2->GetItems(); h = var_Items1->AddItem("Group 1"); var_Items1->PutCellMerge(h,long(0),long(1)); var_Items1->PutCellMerge(h,long(0),long(2)); var_Items1->PutCellMerge(h,long(0),long(3)); var_Items1->PutCellMerge(h,long(0),long(4)); var_Items1->InsertItem(h,vtMissing,"Team 1"); var_Items1->PutCellState(var_Items1->InsertItem(h,vtMissing,"Team 2"),long(0),1); var_Items1->PutExpandItem(h,VARIANT_TRUE); h = var_Items1->AddItem("Group 2"); var_Items1->PutCellMerge(h,long(0),long(1)); var_Items1->PutCellMerge(h,long(0),long(2)); var_Items1->PutCellMerge(h,long(0),long(3)); var_Items1->PutCellMerge(h,long(0),long(4)); var_Items1->InsertItem(h,vtMissing,"Team 1"); var_Items1->InsertItem(h,vtMissing,"Team 2"); var_Items1->PutExpandItem(h,VARIANT_TRUE); var_Group2->PutAutoHeight(VARIANT_TRUE); var_Group2->PutExpanded(VARIANT_TRUE); spExplorerTree1->EndUpdate(); |
26 |
ImageSize property on 16 (default) (specifies the size of control' icons/images/check-boxes/radio-buttons)
// AddGroup event - Occurs when a new group is added to collection. void OnAddGroupExplorerTree1(LPDISPATCH Group) { } /* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERTREELib' for the library: 'ExplorerTree 1.0 Control Library' #import <ExplorerTree.dll> using namespace EXPLORERTREELib; */ EXPLORERTREELib::IExplorerTreePtr spExplorerTree1 = GetDlgItem(IDC_EXPLORERTREE1)->GetControlUnknown(); EXPLORERTREELib::IExplorerTreePtr spExplorerTree1 = GetDlgItem(IDC_EXPLORERTREE1)->GetControlUnknown(); spExplorerTree1->BeginUpdate(); spExplorerTree1->PutShowShortcutBar(VARIANT_TRUE); spExplorerTree1->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/rnaop9aEICMAPdK5hT6xpeuzdOtAgKuJeGfdq6ggEbkTvAP+p9UCHXrvKkcgIA=="); EXPLORERTREELib::IAppearancePtr var_Appearance = spExplorerTree1->GetVisualAppearance(); var_Appearance->Add(1,_bstr_t("gBFLBCJwBAEHhEJAAEhABfICg6AADACAxRDgMQBQKAAzQFAYbhkGCGAAGMZxRgmFgAQhFcZQSKUOQTDKMIziaQAGgkNQwCSLIwjNIsBxPFKVQChEYxSjKA40SJNUgyj") + "6CCY+QLIE5PfQgAL9I6eJABCCSQKkYx0HScRiwPBIbAZAYhCZqaKhWgkKI/WBQIABRDVLx5ESiLRtKy7Mq2bpvXBcNxXHalaztO68LxvKyqHb5fJ/PpgL4YHgmC4NQ7E" + "MRwF6rfbyfZ7Xg/ORPTijZ4sdzMHTzJyscx3HqfaBoOaZU5eMLceTUMofHIndxCcasPbsOatVqjG5sYjcGC3La9cz3Pq/bpuDCbMxuaK1TrYXr1TTrcofBDldAxXRKDx" + "RDWVhLnYOw9i6XxzjuXprCaOoKB6EwbiCZZCGOdZYlcT4xHmbhMnwNxtn+G5bmqdZ7n4Pw/i+X5zm+dQ9g4CAFjsfAJheOI8HsDoWDWTB/lwSAQkmA5PEgRYoDyDwYFY" + "FoFmGCBmBqBphDgRJ0gOTIYBGRB/lyRh0iSCZbjYWJzgWDwIjYLoLmMCJGDKDJjBgWgqG6YhyhGHRzA2aJ1mCABOAiOJvhCZBJBYRoRmSCQmEqEQimkAZgg8TZnDCV4U" + "kmCUmBKZYJGYWoWCUUhiFMNZckNUh2GENoaGaGZmgmJhqhqZpGGIEx2GYIxSGGGJdggWJth2Z4JmYeoemeSZ2H6H4hGmQhihyTRHGYLg7CiCgmgqIpokoNoOiOaJ4jqA" + "ochqaZGgaCxpAoZoaiaaJqEmWIcGgShcnCJwqEqFoR3YOoFlgchflqNouiuawHmWSYqGkWZQhcatzmaOoumuSp2j6L5bBaKo0GQKRnGGCxqiyCwmkqMpsksNpOGUGI7A" + "0ew1G0R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KwWkaMZsgsJpKjKbJLDaRYxYWRpSjSbIZi" + "Se41m2CxmlqNptksdpejebR5iSfI4m4S4W16boLiaao6m5fJ9jubwLkaco8m8S5WnaPZunuOp4j6b5Lnac4SA0PAGlgP4wEwFwGkGcIMCcCpCnCCxiA8NYAAmMJfkSbh" + "FCcFpFnGDBnBqRpUhuEwTDeZ5lHCfw6HIQxLCaAxygyJwqgGcATE4FA6hWY4tjEAAQBAgIA=="); spExplorerTree1->PutBackground(EXPLORERTREELib::exSelBackColorFilter,0x4000000); spExplorerTree1->PutBackground(EXPLORERTREELib::exSelForeColorFilter,RGB(0,0,0)); spExplorerTree1->PutBackground(EXPLORERTREELib::exBackColorFilter,spExplorerTree1->GetBackColor()); spExplorerTree1->PutBackground(EXPLORERTREELib::exForeColorFilter,spExplorerTree1->GetForeColor()); spExplorerTree1->PutBackground(EXPLORERTREELib::exCursorHoverColumn,-1); spExplorerTree1->PutBackground(EXPLORERTREELib::exHeaderFilterBarButton,0x4000000); spExplorerTree1->PutBackground(EXPLORERTREELib::exHeaderFilterBarActive,0x4010101); spExplorerTree1->PutBackground(EXPLORERTREELib::exFooterFilterBarButton,0x40000ff); EXPLORERTREELib::IGroupPtr var_Group = spExplorerTree1->GetGroups()->Add(L"Classament <b>A</b>"); var_Group->GetColumns()->Clear(); var_Group->PutShortcut(L"<img>1</img>"); var_Group->PutHasLines(EXPLORERTREELib::exNoLine); EXPLORERTREELib::IColumnsPtr var_Columns = var_Group->GetColumns(); var_Columns->Add(L"Group"); EXPLORERTREELib::IColumnPtr var_Column = ((EXPLORERTREELib::IColumnPtr)(var_Columns->Add(L"P1"))); var_Column->PutWidth(32); var_Column->PutAllowSizing(VARIANT_FALSE); EXPLORERTREELib::IColumnPtr var_Column1 = ((EXPLORERTREELib::IColumnPtr)(var_Columns->Add(L"P2"))); var_Column1->PutWidth(32); var_Column1->PutAllowSizing(VARIANT_FALSE); EXPLORERTREELib::IColumnPtr var_Column2 = ((EXPLORERTREELib::IColumnPtr)(var_Columns->Add(L"P3"))); var_Column2->PutWidth(32); var_Column2->PutAllowSizing(VARIANT_FALSE); EXPLORERTREELib::IColumnPtr var_Column3 = ((EXPLORERTREELib::IColumnPtr)(var_Columns->Add(L"P4"))); var_Column3->PutWidth(32); var_Column3->PutAllowSizing(VARIANT_FALSE); EXPLORERTREELib::IItemsPtr var_Items = var_Group->GetItems(); long h = var_Items->AddItem("Group 1"); var_Items->PutCellHAlignment(h,long(0),EXPLORERTREELib::CenterAlignment); var_Items->PutItemDivider(h,0); var_Items->PutItemDividerLineAlignment(h,EXPLORERTREELib::DividerCenter); var_Items->PutItemHeight(h,24); var_Items->PutSortableItem(h,VARIANT_FALSE); long h1 = var_Items->InsertItem(h,vtMissing,"Team 1"); var_Items->PutCellCaption(h1,long(1),long(11)); var_Items->PutCellCaption(h1,long(2),long(2)); var_Items->PutCellCaption(h1,long(3),long(3)); var_Items->PutCellCaption(h1,long(4),long(12)); h1 = var_Items->InsertItem(h,vtMissing,"Team 2"); var_Items->PutCellCaption(h1,long(1),long(2)); var_Items->PutCellCaption(h1,long(2),long(3)); var_Items->PutCellCaption(h1,long(3),long(4)); var_Items->PutCellCaption(h1,long(4),long(2)); var_Items->PutExpandItem(h,VARIANT_TRUE); h = var_Items->AddItem("Group 2"); var_Items->PutCellHAlignment(h,long(0),EXPLORERTREELib::CenterAlignment); var_Items->PutItemDivider(h,0); var_Items->PutItemDividerLineAlignment(h,EXPLORERTREELib::DividerCenter); var_Items->PutItemHeight(h,24); var_Items->PutSortableItem(h,VARIANT_FALSE); h1 = var_Items->InsertItem(h,vtMissing,"Team 1"); var_Items->PutCellCaption(h1,long(1),long(1)); var_Items->PutCellCaption(h1,long(2),long(2)); var_Items->PutCellCaption(h1,long(3),long(3)); var_Items->PutCellCaption(h1,long(4),long(4)); h1 = var_Items->InsertItem(h,vtMissing,"Team 2"); var_Items->PutCellCaption(h1,long(1),long(5)); var_Items->PutCellCaption(h1,long(2),long(6)); var_Items->PutCellCaption(h1,long(3),long(6)); var_Items->PutCellCaption(h1,long(4),long(16)); var_Items->PutExpandItem(h,VARIANT_TRUE); var_Group->PutExpanded(VARIANT_TRUE); spExplorerTree1->GetGroups()->Add(L"Classament <b>D")->PutShortcut(L"<img>3</img>"); EXPLORERTREELib::IGroupPtr var_Group1 = spExplorerTree1->GetGroups()->Add(L"Classament <b>B"); var_Group1->PutShortcut(L"<img>1</img>"); var_Group1->PutCaptionFormat(EXPLORERTREELib::exHTML); var_Group1->GetColumns()->Clear(); EXPLORERTREELib::IGroupPtr var_Group2 = spExplorerTree1->GetGroups()->Add(L"Classament <b>C"); var_Group2->PutShortcut(L"<img>1</img>"); var_Group2->GetColumns()->Clear(); EXPLORERTREELib::IColumnPtr var_Column4 = ((EXPLORERTREELib::IColumnPtr)(var_Group2->GetColumns()->Add(L"Group"))); var_Column4->PutDef(EXPLORERTREELib::exCellHasCheckBox,VARIANT_TRUE); var_Column4->PutPartialCheck(VARIANT_TRUE); EXPLORERTREELib::IColumnPtr var_Column5 = ((EXPLORERTREELib::IColumnPtr)(var_Group2->GetColumns()->Add(L"P1"))); var_Column5->PutDef(EXPLORERTREELib::exCellHasCheckBox,VARIANT_TRUE); var_Column5->PutPartialCheck(VARIANT_TRUE); var_Column5->PutWidth(32); var_Column5->PutAllowSizing(VARIANT_FALSE); var_Column5->PutLevelKey(long(1)); EXPLORERTREELib::IColumnPtr var_Column6 = ((EXPLORERTREELib::IColumnPtr)(var_Group2->GetColumns()->Add(L"P2"))); var_Column6->PutDef(EXPLORERTREELib::exCellHasCheckBox,VARIANT_TRUE); var_Column6->PutPartialCheck(VARIANT_TRUE); var_Column6->PutWidth(32); var_Column6->PutAllowSizing(VARIANT_FALSE); var_Column6->PutLevelKey(long(1)); EXPLORERTREELib::IColumnPtr var_Column7 = ((EXPLORERTREELib::IColumnPtr)(var_Group2->GetColumns()->Add(L"P3"))); var_Column7->PutDef(EXPLORERTREELib::exCellHasCheckBox,VARIANT_TRUE); var_Column7->PutPartialCheck(VARIANT_TRUE); var_Column7->PutWidth(32); var_Column7->PutAllowSizing(VARIANT_FALSE); var_Column7->PutLevelKey(long(2)); EXPLORERTREELib::IColumnPtr var_Column8 = ((EXPLORERTREELib::IColumnPtr)(var_Group2->GetColumns()->Add(L"P4"))); var_Column8->PutDef(EXPLORERTREELib::exCellHasCheckBox,VARIANT_TRUE); var_Column8->PutPartialCheck(VARIANT_TRUE); var_Column8->PutWidth(32); var_Column8->PutAllowSizing(VARIANT_FALSE); var_Column8->PutLevelKey(long(2)); EXPLORERTREELib::IItemsPtr var_Items1 = var_Group2->GetItems(); h = var_Items1->AddItem("Group 1"); var_Items1->PutCellMerge(h,long(0),long(1)); var_Items1->PutCellMerge(h,long(0),long(2)); var_Items1->PutCellMerge(h,long(0),long(3)); var_Items1->PutCellMerge(h,long(0),long(4)); var_Items1->InsertItem(h,vtMissing,"Team 1"); var_Items1->PutCellState(var_Items1->InsertItem(h,vtMissing,"Team 2"),long(0),1); var_Items1->PutExpandItem(h,VARIANT_TRUE); h = var_Items1->AddItem("Group 2"); var_Items1->PutCellMerge(h,long(0),long(1)); var_Items1->PutCellMerge(h,long(0),long(2)); var_Items1->PutCellMerge(h,long(0),long(3)); var_Items1->PutCellMerge(h,long(0),long(4)); var_Items1->InsertItem(h,vtMissing,"Team 1"); var_Items1->InsertItem(h,vtMissing,"Team 2"); var_Items1->PutExpandItem(h,VARIANT_TRUE); var_Group2->PutAutoHeight(VARIANT_TRUE); var_Group2->PutExpanded(VARIANT_TRUE); spExplorerTree1->EndUpdate(); |
25 |
Highlight the item from the cursor
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERTREELib' for the library: 'ExplorerTree 1.0 Control Library' #import <ExplorerTree.dll> using namespace EXPLORERTREELib; */ EXPLORERTREELib::IExplorerTreePtr spExplorerTree1 = GetDlgItem(IDC_EXPLORERTREE1)->GetControlUnknown(); _bstr_t hotback = 16748574; _bstr_t selback = 16736256; spExplorerTree1->BeginUpdate(); EXPLORERTREELib::IGroupPtr var_Group = spExplorerTree1->GetGroups()->Add(L"Group 1"); var_Group->PutLinesAtRoot(EXPLORERTREELib::exLinesAtRoot); var_Group->PutHasLines(EXPLORERTREELib::exNoLine); var_Group->PutShowFocusRect(VARIANT_FALSE); EXPLORERTREELib::IItemsPtr var_Items = var_Group->GetItems(); var_Items->AddItem("Item A"); long h = var_Items->AddItem("Item B"); var_Items->InsertItem(h,vtMissing,"Child 1"); var_Items->InsertItem(h,vtMissing,"Child 2"); var_Items->AddItem("Item C"); var_Group->PutSelBackColor(selback); var_Group->PutHotBackColor(hotback); var_Group->PutHotForeColor(var_Group->GetSelForeColor()); var_Group->PutExpanded(VARIANT_TRUE); var_Group->PutAutoHeight(VARIANT_TRUE); EXPLORERTREELib::IGroupPtr var_Group1 = spExplorerTree1->GetGroups()->Add(L"Group 2"); var_Group1->GetItems()->AddItem("Item A"); var_Group1->GetItems()->AddItem("Item B"); var_Group1->GetItems()->AddItem("Item C"); var_Group1->PutShowFocusRect(VARIANT_FALSE); var_Group1->PutSelBackColor(selback); var_Group1->PutHotBackColor(hotback); var_Group1->PutHotForeColor(var_Group1->GetSelForeColor()); var_Group1->PutExpanded(VARIANT_TRUE); var_Group1->PutAutoHeight(VARIANT_TRUE); spExplorerTree1->EndUpdate(); |
24 |
Classament
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERTREELib' for the library: 'ExplorerTree 1.0 Control Library' #import <ExplorerTree.dll> using namespace EXPLORERTREELib; */ EXPLORERTREELib::IExplorerTreePtr spExplorerTree1 = GetDlgItem(IDC_EXPLORERTREE1)->GetControlUnknown(); spExplorerTree1->Images(_bstr_t("gBJJgBAIEAAGAEGCAAhb/hz/EIAh8Tf5CJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1B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eTAR50B3oPNei/iBhFgfErgeR4kBIiSAAJ" + "KSiC7PT5wMKIQ4fwfyHDzg2PwD4/B/jgg2PgA48AfjgB+RkeAARwAPGAA8jI4AADgAOMAAZGTyw6YbDkA7ZDaAHgxDyCxGgBw8EBBmJcS4LjAATDweBGoqjgAGP4jQ/A" + "cjwAHBsiQex8gPH+MF7pDxxkB"); spExplorerTree1->GetVisualAppearance()->Add(1,"E:\\Exontrol\\ExG2antt\\sample\\EBN\\vistasel.ebn"); spExplorerTree1->BeginUpdate(); spExplorerTree1->PutShowShortcutBar(VARIANT_TRUE); EXPLORERTREELib::IGroupPtr var_Group = spExplorerTree1->GetGroups()->Add(L"Classament <b>A</b>"); var_Group->PutIndentGroupLeft(18); var_Group->PutIndentGroupRight(18); var_Group->PutSelBackMode(EXPLORERTREELib::exTransparent); var_Group->PutShowFocusRect(VARIANT_FALSE); var_Group->PutSelBackColor(0x1000000); var_Group->PutSelForeColor(RGB(0,0,0)); var_Group->PutCaptionFormat(EXPLORERTREELib::exHTML); var_Group->PutShortcut(L"<img>1</img>"); var_Group->PutAutoHeight(VARIANT_TRUE); var_Group->PutHeaderVisible(VARIANT_TRUE); var_Group->GetColumns()->Clear(); var_Group->PutHasLines(EXPLORERTREELib::exNoLine); var_Group->PutScrollBySingleLine(VARIANT_TRUE); var_Group->PutMarkSearchColumn(VARIANT_FALSE); EXPLORERTREELib::IColumnsPtr var_Columns = var_Group->GetColumns(); var_Columns->Add(L"Group"); EXPLORERTREELib::IColumnPtr var_Column = ((EXPLORERTREELib::IColumnPtr)(var_Columns->Add(L"P1"))); var_Column->PutWidth(32); var_Column->PutAllowSizing(VARIANT_FALSE); EXPLORERTREELib::IColumnPtr var_Column1 = ((EXPLORERTREELib::IColumnPtr)(var_Columns->Add(L"P2"))); var_Column1->PutWidth(32); var_Column1->PutAllowSizing(VARIANT_FALSE); EXPLORERTREELib::IColumnPtr var_Column2 = ((EXPLORERTREELib::IColumnPtr)(var_Columns->Add(L"P3"))); var_Column2->PutWidth(32); var_Column2->PutAllowSizing(VARIANT_FALSE); EXPLORERTREELib::IColumnPtr var_Column3 = ((EXPLORERTREELib::IColumnPtr)(var_Columns->Add(L"P4"))); var_Column3->PutWidth(32); var_Column3->PutAllowSizing(VARIANT_FALSE); EXPLORERTREELib::IItemsPtr var_Items = var_Group->GetItems(); long h = var_Items->AddItem("Group 1"); var_Items->PutCellHAlignment(h,long(0),EXPLORERTREELib::CenterAlignment); var_Items->PutItemDivider(h,0); var_Items->PutItemDividerLineAlignment(h,EXPLORERTREELib::DividerCenter); var_Items->PutItemHeight(h,24); var_Items->PutSortableItem(h,VARIANT_FALSE); long h1 = var_Items->InsertItem(h,vtMissing,"Team 1"); var_Items->PutCellCaption(h1,long(1),long(11)); var_Items->PutCellCaption(h1,long(2),long(2)); var_Items->PutCellCaption(h1,long(3),long(3)); var_Items->PutCellCaption(h1,long(4),long(12)); h1 = var_Items->InsertItem(h,vtMissing,"Team 2"); var_Items->PutCellCaption(h1,long(1),long(2)); var_Items->PutCellCaption(h1,long(2),long(3)); var_Items->PutCellCaption(h1,long(3),long(4)); var_Items->PutCellCaption(h1,long(4),long(2)); var_Items->PutExpandItem(h,VARIANT_TRUE); h = var_Items->AddItem("Group 2"); var_Items->PutCellHAlignment(h,long(0),EXPLORERTREELib::CenterAlignment); var_Items->PutItemDivider(h,0); var_Items->PutItemDividerLineAlignment(h,EXPLORERTREELib::DividerCenter); var_Items->PutItemHeight(h,24); var_Items->PutSortableItem(h,VARIANT_FALSE); h1 = var_Items->InsertItem(h,vtMissing,"Team 1"); var_Items->PutCellCaption(h1,long(1),long(1)); var_Items->PutCellCaption(h1,long(2),long(2)); var_Items->PutCellCaption(h1,long(3),long(3)); var_Items->PutCellCaption(h1,long(4),long(4)); h1 = var_Items->InsertItem(h,vtMissing,"Team 2"); var_Items->PutCellCaption(h1,long(1),long(5)); var_Items->PutCellCaption(h1,long(2),long(6)); var_Items->PutCellCaption(h1,long(3),long(6)); var_Items->PutCellCaption(h1,long(4),long(16)); var_Items->PutExpandItem(h,VARIANT_TRUE); var_Group->PutExpanded(VARIANT_TRUE); spExplorerTree1->GetGroups()->Add(L"Classament 4")->PutShortcut(L"<img>4</img>"); EXPLORERTREELib::IGroupPtr var_Group1 = spExplorerTree1->GetGroups()->Add(L"Classament <b>B"); var_Group1->PutShortcut(L"<img>1</img>"); var_Group1->PutCaptionFormat(EXPLORERTREELib::exHTML); EXPLORERTREELib::IGroupPtr var_Group2 = spExplorerTree1->GetGroups()->Add(L"Classament <b>C"); var_Group2->PutIndentGroupLeft(18); var_Group2->PutIndentGroupRight(18); var_Group2->PutSelBackMode(EXPLORERTREELib::exTransparent); var_Group2->PutShowFocusRect(VARIANT_FALSE); var_Group2->PutSelBackColor(0x1000000); var_Group2->PutSelForeColor(RGB(0,0,0)); var_Group2->PutCaptionFormat(EXPLORERTREELib::exHTML); var_Group2->PutShortcut(L"<img>1</img>"); var_Group2->PutHeaderVisible(VARIANT_TRUE); var_Group2->PutMarkSearchColumn(VARIANT_FALSE); var_Group2->GetColumns()->Clear(); var_Group2->PutLinesAtRoot(EXPLORERTREELib::exLinesAtRoot); EXPLORERTREELib::IColumnPtr var_Column4 = ((EXPLORERTREELib::IColumnPtr)(var_Group2->GetColumns()->Add(L"Group"))); var_Column4->PutDef(EXPLORERTREELib::exCellHasCheckBox,VARIANT_TRUE); var_Column4->PutPartialCheck(VARIANT_TRUE); EXPLORERTREELib::IColumnPtr var_Column5 = ((EXPLORERTREELib::IColumnPtr)(var_Group2->GetColumns()->Add(L"P1"))); var_Column5->PutDef(EXPLORERTREELib::exCellHasCheckBox,VARIANT_TRUE); var_Column5->PutPartialCheck(VARIANT_TRUE); var_Column5->PutWidth(32); var_Column5->PutAllowSizing(VARIANT_FALSE); var_Column5->PutLevelKey(long(1)); EXPLORERTREELib::IColumnPtr var_Column6 = ((EXPLORERTREELib::IColumnPtr)(var_Group2->GetColumns()->Add(L"P2"))); var_Column6->PutDef(EXPLORERTREELib::exCellHasCheckBox,VARIANT_TRUE); var_Column6->PutPartialCheck(VARIANT_TRUE); var_Column6->PutWidth(32); var_Column6->PutAllowSizing(VARIANT_FALSE); var_Column6->PutLevelKey(long(1)); EXPLORERTREELib::IColumnPtr var_Column7 = ((EXPLORERTREELib::IColumnPtr)(var_Group2->GetColumns()->Add(L"P3"))); var_Column7->PutDef(EXPLORERTREELib::exCellHasCheckBox,VARIANT_TRUE); var_Column7->PutPartialCheck(VARIANT_TRUE); var_Column7->PutWidth(32); var_Column7->PutAllowSizing(VARIANT_FALSE); var_Column7->PutLevelKey(long(2)); EXPLORERTREELib::IColumnPtr var_Column8 = ((EXPLORERTREELib::IColumnPtr)(var_Group2->GetColumns()->Add(L"P4"))); var_Column8->PutDef(EXPLORERTREELib::exCellHasCheckBox,VARIANT_TRUE); var_Column8->PutPartialCheck(VARIANT_TRUE); var_Column8->PutWidth(32); var_Column8->PutAllowSizing(VARIANT_FALSE); var_Column8->PutLevelKey(long(2)); EXPLORERTREELib::IItemsPtr var_Items1 = var_Group2->GetItems(); h = var_Items1->AddItem("Group 1"); var_Items1->PutCellMerge(h,long(0),long(1)); var_Items1->PutCellMerge(h,long(0),long(2)); var_Items1->PutCellMerge(h,long(0),long(3)); var_Items1->PutCellMerge(h,long(0),long(4)); var_Items1->InsertItem(h,vtMissing,"Team 1"); var_Items1->InsertItem(h,vtMissing,"Team 2"); var_Items1->PutExpandItem(h,VARIANT_TRUE); h = var_Items1->AddItem("Group 2"); var_Items1->PutCellMerge(h,long(0),long(1)); var_Items1->PutCellMerge(h,long(0),long(2)); var_Items1->PutCellMerge(h,long(0),long(3)); var_Items1->PutCellMerge(h,long(0),long(4)); var_Items1->InsertItem(h,vtMissing,"Team 1"); var_Items1->InsertItem(h,vtMissing,"Team 2"); var_Items1->PutExpandItem(h,VARIANT_TRUE); var_Group2->PutAutoHeight(VARIANT_TRUE); var_Group2->PutExpanded(VARIANT_TRUE); spExplorerTree1->EndUpdate(); |
23 |
Is it possible to change the visual appearance of the position signs when user changes the column's position by drag and drop
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERTREELib' for the library: 'ExplorerTree 1.0 Control Library' #import <ExplorerTree.dll> using namespace EXPLORERTREELib; */ EXPLORERTREELib::IExplorerTreePtr spExplorerTree1 = GetDlgItem(IDC_EXPLORERTREE1)->GetControlUnknown(); spExplorerTree1->BeginUpdate(); EXPLORERTREELib::IAppearancePtr var_Appearance = spExplorerTree1->GetVisualAppearance(); var_Appearance->Add(1,_bstr_t("gBFLBCJwBAEHhEJAAEhABZEGACAADACAxRDgMQBQKAAzAJBIYhiG4cYCgMYxXDOCYXABCEYRXBIZQ7BKNIxjSJwFgmEgADKMA4SOKIZhrE4bBhGaQRUgyI43RhHUBzV") + "IUcQvE6TZRHCQYHgkNIhDJIM7TPLkeSVJaTIRoKhJUogApQThTMgVRDEThkGoSa6soSoYTDBKybLrSLKagOT5YUDKUqSdKEZRpEq1YztWbaQoCUoqVRRVIWfbNd4JJa4" + "aDhWpYdpeeY5R7bWLgBYVVABL7LLRsSxpHxPF6RXxaeI3GKsaS8G6ic6nPQMHj7I4NS5pUa6Rh2VYNSa8AAtETRYznOw4bTMXAjNIea5bAYIIR5HIoDzVbQcCQAHL9DB" + "eEMIQEEISgGhMGZQmocgymoYRRCIEQ0G2HYBnEIBig4V4zCQGINnmagCECY43medZ6H2Pw/g+X5fnueh/h+R5+AKABfkMWgGgGYA4AICoCGCE5WA4CphACMgSD2IRIDI" + "BICmEd5YGCBpRjGBgegWIYIgWdgoGIRQsiKCZiAiJZ0gGQI4jUS4LECOAiBmDJflGfg2BSY4Al4OhGkOCJ2DgFJjGGfgqgiH5Ch4RhGkqOQmEOEpkFkHQYhJRYyESAok" + "GKHhIhKIxJEmf4VGUeRGFmF5iBkchPhYJQ5GoYIZg6Ug6GoFYmkmNhuhulRGHKGoImefh0BUZ4JmYeoemeSZ2H6HQmgoBgXDqXwUAQgI="); var_Appearance->Add(2,"CP:1 0 -36 0 0"); spExplorerTree1->PutBackground(EXPLORERTREELib::exColumnsPositionSign,0x2000000); EXPLORERTREELib::IGroupPtr var_Group = spExplorerTree1->GetGroups()->Add(L"New"); var_Group->PutHeaderVisible(VARIANT_TRUE); var_Group->PutHeaderHeight(22); EXPLORERTREELib::IColumnsPtr var_Columns = var_Group->GetColumns(); var_Columns->Clear(); var_Columns->Add(L"Column 1"); var_Columns->Add(L"Column 2"); var_Columns->Add(L"Column 3"); var_Group->PutExpanded(VARIANT_TRUE); spExplorerTree1->EndUpdate(); |
22 |
How do I get sorted the column as string, numeric, date, date and time. Also how can it be applied to drop down filter panel
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERTREELib' for the library: 'ExplorerTree 1.0 Control Library' #import <ExplorerTree.dll> using namespace EXPLORERTREELib; */ EXPLORERTREELib::IExplorerTreePtr spExplorerTree1 = GetDlgItem(IDC_EXPLORERTREE1)->GetControlUnknown(); spExplorerTree1->BeginUpdate(); EXPLORERTREELib::IGroupPtr var_Group = spExplorerTree1->GetGroups()->Add(L"Group"); var_Group->PutHeaderVisible(VARIANT_TRUE); var_Group->GetColumns()->Clear(); EXPLORERTREELib::IColumnPtr var_Column = ((EXPLORERTREELib::IColumnPtr)(var_Group->GetColumns()->Add(L"Date"))); var_Column->PutSortType(EXPLORERTREELib::SortDate); var_Column->PutDisplayFilterButton(VARIANT_TRUE); var_Column->PutDisplayFilterPattern(VARIANT_FALSE); var_Column->PutDisplayFilterDate(VARIANT_TRUE); var_Column->PutFilterList(EXPLORERTREELib::FilterListEnum(EXPLORERTREELib::exShowFocusItem | EXPLORERTREELib::exShowCheckBox | EXPLORERTREELib::exSortItemsDesc)); EXPLORERTREELib::IColumnPtr var_Column1 = ((EXPLORERTREELib::IColumnPtr)(var_Group->GetColumns()->Add(L"DateTime"))); var_Column1->PutSortType(EXPLORERTREELib::SortDateTime); var_Column1->PutDisplayFilterButton(VARIANT_TRUE); var_Column1->PutDisplayFilterPattern(VARIANT_FALSE); var_Column1->PutFilterList(EXPLORERTREELib::FilterListEnum(EXPLORERTREELib::exShowFocusItem | EXPLORERTREELib::exShowCheckBox | EXPLORERTREELib::exSortItemsDesc)); EXPLORERTREELib::IColumnPtr var_Column2 = ((EXPLORERTREELib::IColumnPtr)(var_Group->GetColumns()->Add(L"Time"))); var_Column2->PutSortType(EXPLORERTREELib::SortTime); var_Column2->PutDisplayFilterButton(VARIANT_TRUE); var_Column2->PutDisplayFilterPattern(VARIANT_FALSE); var_Column2->PutFilterList(EXPLORERTREELib::FilterListEnum(EXPLORERTREELib::exShowFocusItem | EXPLORERTREELib::exShowCheckBox | EXPLORERTREELib::exSortItemsDesc)); var_Column2->PutFormatColumn(L"time(value)"); EXPLORERTREELib::IColumnPtr var_Column3 = ((EXPLORERTREELib::IColumnPtr)(var_Group->GetColumns()->Add(L"Numeric"))); var_Column3->PutSortType(EXPLORERTREELib::SortNumeric); var_Column3->PutDisplayFilterButton(VARIANT_TRUE); var_Column3->PutFilterList(EXPLORERTREELib::FilterListEnum(EXPLORERTREELib::exShowFocusItem | EXPLORERTREELib::exShowCheckBox | EXPLORERTREELib::exSortItemsDesc)); EXPLORERTREELib::IColumnPtr var_Column4 = ((EXPLORERTREELib::IColumnPtr)(var_Group->GetColumns()->Add(L"String"))); var_Column4->PutDisplayFilterButton(VARIANT_TRUE); var_Column4->PutFilterList(EXPLORERTREELib::FilterListEnum(EXPLORERTREELib::exShowFocusItem | EXPLORERTREELib::exShowCheckBox | EXPLORERTREELib::exSortItemsDesc)); EXPLORERTREELib::IItemsPtr var_Items = var_Group->GetItems(); long h = var_Items->AddItem(COleDateTime(2010,1,27,0,00,00).operator DATE()); var_Items->PutCellCaption(h,long(1),COleDateTime(2010,1,27,10,00,00).operator DATE()); var_Items->PutCellCaption(h,long(2),var_Items->GetCellCaption(h,long(1))); var_Items->PutCellCaption(h,long(3),long(1)); var_Items->PutCellCaption(h,long(4),var_Items->GetCellCaption(h,long(3))); h = var_Items->AddItem(COleDateTime(2011,1,27,0,00,00).operator DATE()); var_Items->PutCellCaption(h,long(1),COleDateTime(2011,1,27,9,00,00).operator DATE()); var_Items->PutCellCaption(h,long(2),var_Items->GetCellCaption(h,long(1))); var_Items->PutCellCaption(h,long(3),long(11)); var_Items->PutCellCaption(h,long(4),var_Items->GetCellCaption(h,long(3))); h = var_Items->AddItem(COleDateTime(2010,11,2,0,00,00).operator DATE()); var_Items->PutCellCaption(h,long(1),COleDateTime(2010,11,2,9,00,00).operator DATE()); var_Items->PutCellCaption(h,long(2),var_Items->GetCellCaption(h,long(1))); var_Items->PutCellCaption(h,long(3),long(2)); var_Items->PutCellCaption(h,long(4),var_Items->GetCellCaption(h,long(3))); var_Group->GetColumns()->GetItem("DateTime")->PutDisplayFilterDate(VARIANT_FALSE); var_Group->PutExpanded(VARIANT_TRUE); spExplorerTree1->EndUpdate(); |
21 |
How do I get the caption of the cell/item from the point
// MouseMove event - Occurs when the user moves the mouse. void OnMouseMoveExplorerTree1(short Button,short Shift,long X,long Y) { /* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERTREELib' for the library: 'ExplorerTree 1.0 Control Library' #import <ExplorerTree.dll> using namespace EXPLORERTREELib; */ EXPLORERTREELib::IExplorerTreePtr spExplorerTree1 = GetDlgItem(IDC_EXPLORERTREE1)->GetControlUnknown(); ObjectPtr var_Object = ((ObjectPtr)(spExplorerTree1->GetGroupListFromPoint(-1,-1))); } EXPLORERTREELib::IExplorerTreePtr spExplorerTree1 = GetDlgItem(IDC_EXPLORERTREE1)->GetControlUnknown(); spExplorerTree1->BeginUpdate(); EXPLORERTREELib::IGroupPtr var_Group = spExplorerTree1->GetGroups()->Add(L"Group 1"); var_Group->PutHeaderVisible(VARIANT_TRUE); var_Group->GetColumns()->Clear(); var_Group->GetColumns()->Add(L"Number"); ((EXPLORERTREELib::IColumnPtr)(var_Group->GetColumns()->Add(L"Round")))->PutComputedField(L"round(%0)"); EXPLORERTREELib::IItemsPtr var_Items = var_Group->GetItems(); var_Items->AddItem("-1.98"); var_Items->AddItem("0.99"); var_Items->AddItem("1.23"); var_Items->AddItem("2.34"); var_Group->PutExpanded(VARIANT_TRUE); EXPLORERTREELib::IGroupPtr var_Group1 = spExplorerTree1->GetGroups()->Add(L"Group 2"); var_Group1->PutHeaderVisible(VARIANT_TRUE); var_Group1->GetColumns()->Clear(); var_Group1->GetColumns()->Add(L"Number"); ((EXPLORERTREELib::IColumnPtr)(var_Group1->GetColumns()->Add(L"Round")))->PutComputedField(L"round(%0)"); EXPLORERTREELib::IItemsPtr var_Items1 = var_Group1->GetItems(); var_Items1->AddItem("-1.98"); var_Items1->AddItem("0.99"); var_Items1->AddItem("1.23"); var_Items1->AddItem("2.34"); var_Group1->PutExpanded(VARIANT_TRUE); spExplorerTree1->EndUpdate(); |
20 |
How can I ensure that a specified item is visible
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERTREELib' for the library: 'ExplorerTree 1.0 Control Library' #import <ExplorerTree.dll> using namespace EXPLORERTREELib; */ EXPLORERTREELib::IExplorerTreePtr spExplorerTree1 = GetDlgItem(IDC_EXPLORERTREE1)->GetControlUnknown(); spExplorerTree1->BeginUpdate(); EXPLORERTREELib::IGroupsPtr var_Groups = spExplorerTree1->GetGroups(); EXPLORERTREELib::IGroupPtr var_Group = var_Groups->Add(L"Group"); var_Group->PutExpanded(VARIANT_TRUE); EXPLORERTREELib::IItemsPtr var_Items = var_Group->GetItems(); var_Items->AddItem("Item"); var_Items->AddItem("Item"); var_Items->AddItem("Item"); var_Items->AddItem("Item"); var_Group->PutItems(var_Group->GetItems(long(0)),long(0)); var_Group->PutItems(var_Group->GetItems(long(0)),long(0)); var_Group->GetItems()->AddItem("Ensure"); EXPLORERTREELib::IItemsPtr var_Items1 = spExplorerTree1->GetGroups()->GetItem(long(0))->GetItems(); long h = var_Items1->GetItemByIndex(16); var_Items1->PutItemBackColor(h,RGB(255,255,0)); var_Items1->EnsureVisibleItem(h); spExplorerTree1->EndUpdate(); |
19 |
is it possible to display icons in the control's shortcut bar
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERTREELib' for the library: 'ExplorerTree 1.0 Control Library' #import <ExplorerTree.dll> using namespace EXPLORERTREELib; */ EXPLORERTREELib::IExplorerTreePtr spExplorerTree1 = GetDlgItem(IDC_EXPLORERTREE1)->GetControlUnknown(); spExplorerTree1->BeginUpdate(); spExplorerTree1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spExplorerTree1->PutShowShortcutBar(VARIANT_TRUE); EXPLORERTREELib::IGroupsPtr var_Groups = spExplorerTree1->GetGroups(); var_Groups->Add(L"Group A.1")->PutShortcut(L"<img>1</img> First Group"); var_Groups->Add(L"Group A.2")->PutShortcut(L"<img>1</img> First Group"); var_Groups->Add(L"Group B.1")->PutShortcut(L"<img>2</img> Second Group"); var_Groups->Add(L"Group B.2")->PutShortcut(L"<img>2</img> Second Group"); var_Groups->Add(L"Group B.3")->PutShortcut(L"<img>2</img> Second Group"); spExplorerTree1->EndUpdate(); |
18 |
How can I display the control's shortcut bar
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERTREELib' for the library: 'ExplorerTree 1.0 Control Library' #import <ExplorerTree.dll> using namespace EXPLORERTREELib; */ EXPLORERTREELib::IExplorerTreePtr spExplorerTree1 = GetDlgItem(IDC_EXPLORERTREE1)->GetControlUnknown(); spExplorerTree1->BeginUpdate(); spExplorerTree1->PutShowShortcutBar(VARIANT_TRUE); EXPLORERTREELib::IGroupsPtr var_Groups = spExplorerTree1->GetGroups(); var_Groups->Add(L"Group A.1")->PutShortcut(L"A"); var_Groups->Add(L"Group A.2")->PutShortcut(L"A"); var_Groups->Add(L"Group B.1")->PutShortcut(L"B"); var_Groups->Add(L"Group B.2")->PutShortcut(L"B"); var_Groups->Add(L"Group B.3")->PutShortcut(L"B"); spExplorerTree1->EndUpdate(); |
17 |
Can I display the cell's check box after the text
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERTREELib' for the library: 'ExplorerTree 1.0 Control Library' #import <ExplorerTree.dll> using namespace EXPLORERTREELib; */ EXPLORERTREELib::IExplorerTreePtr spExplorerTree1 = GetDlgItem(IDC_EXPLORERTREE1)->GetControlUnknown(); spExplorerTree1->BeginUpdate(); EXPLORERTREELib::IGroupPtr var_Group = spExplorerTree1->GetGroups()->Add(L"Default"); var_Group->PutExpanded(VARIANT_TRUE); EXPLORERTREELib::IColumnPtr var_Column = var_Group->GetColumns()->GetItem(long(0)); var_Column->PutDef(EXPLORERTREELib::exCellHasCheckBox,VARIANT_TRUE); var_Column->PutDef(EXPLORERTREELib::exCellDrawPartsOrder,"caption,check"); EXPLORERTREELib::IItemsPtr var_Items = var_Group->GetItems(); var_Items->PutCellHasCheckBox(var_Items->AddItem("Caption 1"),long(0),VARIANT_TRUE); var_Items->PutCellHasCheckBox(var_Items->AddItem("Caption 2"),long(0),VARIANT_TRUE); spExplorerTree1->EndUpdate(); |
16 |
Can I change the order of the parts in the cell, as checkbox after the text, and so on
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERTREELib' for the library: 'ExplorerTree 1.0 Control Library' #import <ExplorerTree.dll> using namespace EXPLORERTREELib; */ EXPLORERTREELib::IExplorerTreePtr spExplorerTree1 = GetDlgItem(IDC_EXPLORERTREE1)->GetControlUnknown(); spExplorerTree1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spExplorerTree1->BeginUpdate(); EXPLORERTREELib::IGroupPtr var_Group = spExplorerTree1->GetGroups()->Add(L"Default"); var_Group->PutExpanded(VARIANT_TRUE); var_Group->GetColumns()->GetItem(long(0))->PutDef(EXPLORERTREELib::exCellDrawPartsOrder,"caption,check,icon,icons,picture"); EXPLORERTREELib::IItemsPtr var_Items = var_Group->GetItems(); long h = var_Items->AddItem("Text"); var_Items->PutCellImage(h,long(0),1); var_Items->PutCellHasCheckBox(h,long(0),VARIANT_TRUE); spExplorerTree1->EndUpdate(); |
15 |
Can I have an image displayed after the text. Can I get that effect without using HTML content
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERTREELib' for the library: 'ExplorerTree 1.0 Control Library' #import <ExplorerTree.dll> using namespace EXPLORERTREELib; */ EXPLORERTREELib::IExplorerTreePtr spExplorerTree1 = GetDlgItem(IDC_EXPLORERTREE1)->GetControlUnknown(); spExplorerTree1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spExplorerTree1->BeginUpdate(); EXPLORERTREELib::IGroupPtr var_Group = spExplorerTree1->GetGroups()->Add(L"Default"); var_Group->PutExpanded(VARIANT_TRUE); var_Group->GetColumns()->GetItem(long(0))->PutDef(EXPLORERTREELib::exCellDrawPartsOrder,"caption,icon,check,icons,picture"); EXPLORERTREELib::IItemsPtr var_Items = var_Group->GetItems(); long h = var_Items->AddItem("Text"); var_Items->PutCellImage(h,long(0),1); spExplorerTree1->EndUpdate(); |
14 |
How do I enable the filter prompt feature
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERTREELib' for the library: 'ExplorerTree 1.0 Control Library' #import <ExplorerTree.dll> using namespace EXPLORERTREELib; */ EXPLORERTREELib::IExplorerTreePtr spExplorerTree1 = GetDlgItem(IDC_EXPLORERTREE1)->GetControlUnknown(); spExplorerTree1->BeginUpdate(); spExplorerTree1->GetGroups()->Add(L"Group 1"); EXPLORERTREELib::IGroupPtr var_Group = spExplorerTree1->GetGroups()->Add(L"Group 2"); var_Group->PutAutoHeight(VARIANT_TRUE); var_Group->PutHeaderVisible(VARIANT_TRUE); var_Group->GetColumns()->Clear(); var_Group->PutColumnAutoResize(VARIANT_TRUE); var_Group->PutContinueColumnScroll(VARIANT_FALSE); var_Group->PutMarkSearchColumn(VARIANT_FALSE); var_Group->PutSearchColumnIndex(1); var_Group->PutFilterBarPromptVisible(VARIANT_TRUE); EXPLORERTREELib::IColumnsPtr var_Columns = var_Group->GetColumns(); ((EXPLORERTREELib::IColumnPtr)(var_Columns->Add(L"Name")))->PutWidth(96); ((EXPLORERTREELib::IColumnPtr)(var_Columns->Add(L"Title")))->PutWidth(96); var_Columns->Add(L"City"); EXPLORERTREELib::IItemsPtr var_Items = var_Group->GetItems(); long h0 = var_Items->AddItem("Nancy Davolio"); var_Items->PutCellCaption(h0,long(1),"Sales Representative"); var_Items->PutCellCaption(h0,long(2),"Seattle"); h0 = var_Items->AddItem("Andrew Fuller"); var_Items->PutCellCaption(h0,long(1),"Vice President, Sales"); var_Items->PutCellCaption(h0,long(2),"Tacoma"); var_Items->PutSelectItem(h0,VARIANT_TRUE); h0 = var_Items->AddItem("Janet Leverling"); var_Items->PutCellCaption(h0,long(1),"Sales Representative"); var_Items->PutCellCaption(h0,long(2),"Kirkland"); h0 = var_Items->AddItem("Margaret Peacock"); var_Items->PutCellCaption(h0,long(1),"Sales Representative"); var_Items->PutCellCaption(h0,long(2),"Redmond"); h0 = var_Items->AddItem("Steven Buchanan"); var_Items->PutCellCaption(h0,long(1),"Sales Manager"); var_Items->PutCellCaption(h0,long(2),"London"); h0 = var_Items->AddItem("Michael Suyama"); var_Items->PutCellCaption(h0,long(1),"Sales Representative"); var_Items->PutCellCaption(h0,long(2),"London"); h0 = var_Items->AddItem("Robert King"); var_Items->PutCellCaption(h0,long(1),"Sales Representative"); var_Items->PutCellCaption(h0,long(2),"London"); h0 = var_Items->AddItem("Laura Callahan"); var_Items->PutCellCaption(h0,long(1),"Inside Sales Coordinator"); var_Items->PutCellCaption(h0,long(2),"Seattle"); h0 = var_Items->AddItem("Anne Dodsworth"); var_Items->PutCellCaption(h0,long(1),"Sales Representative"); var_Items->PutCellCaption(h0,long(2),"London"); var_Group->PutExpanded(VARIANT_TRUE); spExplorerTree1->GetGroups()->Add(L"Group 3"); spExplorerTree1->EndUpdate(); |
13 |
Can I specify unsortable items
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERTREELib' for the library: 'ExplorerTree 1.0 Control Library' #import <ExplorerTree.dll> using namespace EXPLORERTREELib; */ EXPLORERTREELib::IExplorerTreePtr spExplorerTree1 = GetDlgItem(IDC_EXPLORERTREE1)->GetControlUnknown(); spExplorerTree1->BeginUpdate(); EXPLORERTREELib::IGroupPtr var_Group = spExplorerTree1->GetGroups()->Add(L"Default"); var_Group->PutAutoHeight(VARIANT_TRUE); var_Group->PutHeaderVisible(VARIANT_TRUE); var_Group->GetColumns()->Clear(); var_Group->PutHasLines(EXPLORERTREELib::exNoLine); var_Group->PutScrollBySingleLine(VARIANT_TRUE); var_Group->PutMarkSearchColumn(VARIANT_FALSE); EXPLORERTREELib::IColumnsPtr var_Columns = var_Group->GetColumns(); var_Columns->Add(L"Name"); var_Columns->Add(L"A"); var_Columns->Add(L"B"); var_Columns->Add(L"C"); EXPLORERTREELib::IItemsPtr var_Items = var_Group->GetItems(); long h = var_Items->AddItem("Group 1"); var_Items->PutCellHAlignment(h,long(0),EXPLORERTREELib::CenterAlignment); var_Items->PutItemDivider(h,0); var_Items->PutItemDividerLineAlignment(h,EXPLORERTREELib::DividerBoth); var_Items->PutItemHeight(h,24); var_Items->PutSortableItem(h,VARIANT_FALSE); long h1 = var_Items->InsertItem(h,vtMissing,"Child 1"); var_Items->PutCellCaption(h1,long(1),long(1)); var_Items->PutCellCaption(h1,long(2),long(2)); var_Items->PutCellCaption(h1,long(3),long(3)); h1 = var_Items->InsertItem(h,vtMissing,"Child 2"); var_Items->PutCellCaption(h1,long(1),long(4)); var_Items->PutCellCaption(h1,long(2),long(5)); var_Items->PutCellCaption(h1,long(3),long(6)); var_Items->PutExpandItem(h,VARIANT_TRUE); h = var_Items->AddItem("Group 2"); var_Items->PutCellHAlignment(h,long(0),EXPLORERTREELib::CenterAlignment); var_Items->PutItemDivider(h,0); var_Items->PutItemDividerLineAlignment(h,EXPLORERTREELib::DividerBoth); var_Items->PutItemHeight(h,24); var_Items->PutSortableItem(h,VARIANT_FALSE); h1 = var_Items->InsertItem(h,vtMissing,"Child 1"); var_Items->PutCellCaption(h1,long(1),long(1)); var_Items->PutCellCaption(h1,long(2),long(2)); var_Items->PutCellCaption(h1,long(3),long(3)); h1 = var_Items->InsertItem(h,vtMissing,"Child 2"); var_Items->PutCellCaption(h1,long(1),long(4)); var_Items->PutCellCaption(h1,long(2),long(5)); var_Items->PutCellCaption(h1,long(3),long(6)); var_Items->PutExpandItem(h,VARIANT_TRUE); var_Group->PutExpanded(VARIANT_TRUE); spExplorerTree1->EndUpdate(); |
12 |
Can I change the style of the line being displayed by a divider item
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERTREELib' for the library: 'ExplorerTree 1.0 Control Library' #import <ExplorerTree.dll> using namespace EXPLORERTREELib; */ EXPLORERTREELib::IExplorerTreePtr spExplorerTree1 = GetDlgItem(IDC_EXPLORERTREE1)->GetControlUnknown(); spExplorerTree1->BeginUpdate(); EXPLORERTREELib::IGroupPtr var_Group = spExplorerTree1->GetGroups()->Add(L"Default"); var_Group->PutHeaderVisible(VARIANT_TRUE); var_Group->GetColumns()->Clear(); var_Group->PutMarkSearchColumn(VARIANT_FALSE); var_Group->PutTreeColumnIndex(-1); var_Group->PutScrollBySingleLine(VARIANT_FALSE); var_Group->GetColumns()->Add(L"C1"); var_Group->GetColumns()->Add(L"C2"); var_Group->PutSelBackMode(EXPLORERTREELib::exTransparent); EXPLORERTREELib::IItemsPtr var_Items = var_Group->GetItems(); long h = var_Items->AddItem("Cell 1"); var_Items->PutCellCaption(h,long(1),"This is bit of text that's shown on multiple lines. This is bit of text that's shown on multiple lines."); var_Items->PutCellSingleLine(h,long(1),EXPLORERTREELib::exCaptionWordWrap); h = var_Items->AddItem("This is bit of text that's displayed on the entire item, divider."); var_Items->PutItemDivider(h,0); var_Items->PutItemDividerLine(h,EXPLORERTREELib::DoubleDotLine); var_Items->PutItemDividerLineAlignment(h,EXPLORERTREELib::DividerBoth); var_Items->PutCellHAlignment(h,long(0),EXPLORERTREELib::CenterAlignment); var_Items->PutItemHeight(h,24); var_Group->PutExpanded(VARIANT_TRUE); spExplorerTree1->EndUpdate(); |
11 |
How can I expand all items
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERTREELib' for the library: 'ExplorerTree 1.0 Control Library' #import <ExplorerTree.dll> using namespace EXPLORERTREELib; */ EXPLORERTREELib::IExplorerTreePtr spExplorerTree1 = GetDlgItem(IDC_EXPLORERTREE1)->GetControlUnknown(); spExplorerTree1->BeginUpdate(); EXPLORERTREELib::IGroupPtr var_Group = spExplorerTree1->GetGroups()->Add(L"Default"); var_Group->PutHeaderVisible(VARIANT_TRUE); var_Group->GetColumns()->Clear(); var_Group->PutLinesAtRoot(EXPLORERTREELib::exLinesAtRoot); var_Group->GetColumns()->Add(L"Items"); EXPLORERTREELib::IItemsPtr var_Items = var_Group->GetItems(); long h = var_Items->AddItem("Root 1"); var_Items->InsertItem(h,vtMissing,"Child 1"); var_Items->InsertItem(h,vtMissing,"Child 2"); h = var_Items->AddItem("Root 2"); var_Items->InsertItem(h,vtMissing,"Child 1"); var_Items->InsertItem(h,vtMissing,"Child 2"); var_Items->PutExpandItem(0,VARIANT_TRUE); var_Group->PutExpanded(VARIANT_TRUE); spExplorerTree1->EndUpdate(); |
10 |
Is it possible display numbers in the same format no matter of regional settings in the control panel
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERTREELib' for the library: 'ExplorerTree 1.0 Control Library' #import <ExplorerTree.dll> using namespace EXPLORERTREELib; */ EXPLORERTREELib::IExplorerTreePtr spExplorerTree1 = GetDlgItem(IDC_EXPLORERTREE1)->GetControlUnknown(); EXPLORERTREELib::IGroupPtr var_Group = spExplorerTree1->GetGroups()->Add(L"Default"); var_Group->PutHeaderVisible(VARIANT_TRUE); var_Group->GetColumns()->Clear(); ((EXPLORERTREELib::IColumnPtr)(var_Group->GetColumns()->Add(L"Def")))->PutDef(EXPLORERTREELib::exCellCaptionFormat,long(1)); EXPLORERTREELib::IItemsPtr var_Items = var_Group->GetItems(); long h = var_Items->AddItem(double(100000.27)); var_Items->PutFormatCell(h,long(0),L"(value format '') + ' <fgcolor=808080>(default positive)'"); h = var_Items->AddItem(double(100000.27)); var_Items->PutFormatCell(h,long(0),L"(value format '2|.|3|,|1|1')"); h = var_Items->AddItem(double(-100000.27)); var_Items->PutFormatCell(h,long(0),L"(value format '') + ' <fgcolor=808080>(default negative)'"); h = var_Items->AddItem(double(-100000.27)); var_Items->PutFormatCell(h,long(0),L"(value format '2|.|3|,|1|1')"); var_Group->PutExpanded(VARIANT_TRUE); |
9 |
Is it possible to format numbers
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERTREELib' for the library: 'ExplorerTree 1.0 Control Library' #import <ExplorerTree.dll> using namespace EXPLORERTREELib; */ EXPLORERTREELib::IExplorerTreePtr spExplorerTree1 = GetDlgItem(IDC_EXPLORERTREE1)->GetControlUnknown(); spExplorerTree1->BeginUpdate(); EXPLORERTREELib::IGroupPtr var_Group = spExplorerTree1->GetGroups()->Add(L"Default"); var_Group->PutHeaderVisible(VARIANT_TRUE); var_Group->PutMarkSearchColumn(VARIANT_FALSE); var_Group->GetColumns()->Clear(); EXPLORERTREELib::IColumnsPtr var_Columns = var_Group->GetColumns(); var_Columns->Add(L"Name"); EXPLORERTREELib::IColumnPtr var_Column = ((EXPLORERTREELib::IColumnPtr)(var_Columns->Add(L"A"))); var_Column->PutSortType(EXPLORERTREELib::SortNumeric); var_Column->PutAllowSizing(VARIANT_FALSE); var_Column->PutWidth(36); var_Column->PutFormatColumn(L"len(value) ? value + ' +'"); EXPLORERTREELib::IColumnPtr var_Column1 = ((EXPLORERTREELib::IColumnPtr)(var_Columns->Add(L"B"))); var_Column1->PutSortType(EXPLORERTREELib::SortNumeric); var_Column1->PutAllowSizing(VARIANT_FALSE); var_Column1->PutWidth(36); var_Column1->PutFormatColumn(L"len(value) ? value + ' +'"); EXPLORERTREELib::IColumnPtr var_Column2 = ((EXPLORERTREELib::IColumnPtr)(var_Columns->Add(L"C"))); var_Column2->PutSortType(EXPLORERTREELib::SortNumeric); var_Column2->PutAllowSizing(VARIANT_FALSE); var_Column2->PutWidth(36); var_Column2->PutFormatColumn(L"len(value) ? value + ' ='"); EXPLORERTREELib::IColumnPtr var_Column3 = ((EXPLORERTREELib::IColumnPtr)(var_Columns->Add(L"A+B+C"))); var_Column3->PutSortType(EXPLORERTREELib::SortNumeric); var_Column3->PutWidth(64); var_Column3->PutComputedField(L"dbl(%1)+dbl(%2)+dbl(%3)"); var_Column3->PutFormatColumn(_bstr_t("type(value) in (0,1) ? 'null' : ( dbl(value)<0 ? '<fgcolor=FF0000>'+ (value format '2|.|3|,|1' ) : (dbl(value)>0 ? '<fgcolor=00") + "00FF>+'+(value format '2|.|3|,' ): '0.00') )"); var_Column3->PutDef(EXPLORERTREELib::exCellCaptionFormat,long(1)); EXPLORERTREELib::IItemsPtr var_Items = var_Group->GetItems(); long h = var_Items->AddItem("Root"); var_Items->PutCellCaptionFormat(h,long(4),EXPLORERTREELib::exComputedField); long h1 = var_Items->InsertItem(h,vtMissing,"Child 1"); var_Items->PutCellCaption(h1,long(1),long(7)); var_Items->PutCellCaption(h1,long(2),long(3)); var_Items->PutCellCaption(h1,long(3),long(1)); h1 = var_Items->InsertItem(h,vtMissing,"Child 2"); var_Items->PutCellCaption(h1,long(1),long(-2)); var_Items->PutCellCaption(h1,long(2),long(-2)); var_Items->PutCellCaption(h1,long(3),long(-4)); h1 = var_Items->InsertItem(h,vtMissing,"Child 3"); var_Items->PutCellCaption(h1,long(1),long(2)); var_Items->PutCellCaption(h1,long(2),long(2)); var_Items->PutCellCaption(h1,long(3),long(-4)); var_Items->PutExpandItem(h,VARIANT_TRUE); var_Group->PutExpanded(VARIANT_TRUE); spExplorerTree1->EndUpdate(); |
8 |
Is there any function to round the values base on the .5 value
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERTREELib' for the library: 'ExplorerTree 1.0 Control Library' #import <ExplorerTree.dll> using namespace EXPLORERTREELib; */ EXPLORERTREELib::IExplorerTreePtr spExplorerTree1 = GetDlgItem(IDC_EXPLORERTREE1)->GetControlUnknown(); EXPLORERTREELib::IGroupPtr var_Group = spExplorerTree1->GetGroups()->Add(L"Default"); var_Group->PutHeaderVisible(VARIANT_TRUE); var_Group->GetColumns()->Clear(); var_Group->GetColumns()->Add(L"Number"); ((EXPLORERTREELib::IColumnPtr)(var_Group->GetColumns()->Add(L"Round")))->PutComputedField(L"round(%0)"); EXPLORERTREELib::IItemsPtr var_Items = var_Group->GetItems(); var_Items->AddItem("-1.98"); var_Items->AddItem("0.99"); var_Items->AddItem("1.23"); var_Items->AddItem("2.34"); var_Group->PutExpanded(VARIANT_TRUE); |
7 |
How can I show a column that adds values in the cells
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERTREELib' for the library: 'ExplorerTree 1.0 Control Library' #import <ExplorerTree.dll> using namespace EXPLORERTREELib; */ EXPLORERTREELib::IExplorerTreePtr spExplorerTree1 = GetDlgItem(IDC_EXPLORERTREE1)->GetControlUnknown(); EXPLORERTREELib::IGroupPtr var_Group = spExplorerTree1->GetGroups()->Add(L"Default"); var_Group->GetColumns()->Clear(); var_Group->PutHeaderVisible(VARIANT_TRUE); var_Group->GetColumns()->Add(L"A"); var_Group->GetColumns()->Add(L"B"); ((EXPLORERTREELib::IColumnPtr)(var_Group->GetColumns()->Add(L"A+B")))->PutComputedField(L"dbl(%0) + dbl(%1)"); EXPLORERTREELib::IItemsPtr var_Items = var_Group->GetItems(); var_Items->PutCellCaption(var_Items->AddItem(long(1)),long(1),long(2)); EXPLORERTREELib::IItemsPtr var_Items1 = var_Group->GetItems(); var_Items1->PutCellCaption(var_Items1->AddItem(long(10)),long(1),long(20)); var_Group->PutExpanded(VARIANT_TRUE); |
6 |
How do I change the item's background color for numbers less than a value
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERTREELib' for the library: 'ExplorerTree 1.0 Control Library' #import <ExplorerTree.dll> using namespace EXPLORERTREELib; */ EXPLORERTREELib::IExplorerTreePtr spExplorerTree1 = GetDlgItem(IDC_EXPLORERTREE1)->GetControlUnknown(); EXPLORERTREELib::IGroupPtr var_Group = spExplorerTree1->GetGroups()->Add(L"Default"); var_Group->GetConditionalFormats()->Add(L"dbl(%0) < 10",vtMissing)->PutBackColor(RGB(255,0,0)); var_Group->GetItems()->AddItem(long(1)); var_Group->GetItems()->AddItem(long(2)); var_Group->GetItems()->AddItem(long(10)); var_Group->GetItems()->AddItem(long(20)); var_Group->PutExpanded(VARIANT_TRUE); |
5 |
How do I highlight in bold the numbers greater than a value
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERTREELib' for the library: 'ExplorerTree 1.0 Control Library' #import <ExplorerTree.dll> using namespace EXPLORERTREELib; */ EXPLORERTREELib::IExplorerTreePtr spExplorerTree1 = GetDlgItem(IDC_EXPLORERTREE1)->GetControlUnknown(); EXPLORERTREELib::IGroupPtr var_Group = spExplorerTree1->GetGroups()->Add(L"Default"); var_Group->GetConditionalFormats()->Add(L"dbl(%0) >= 10",vtMissing)->PutBold(VARIANT_TRUE); var_Group->GetItems()->AddItem(long(1)); var_Group->GetItems()->AddItem(long(2)); var_Group->GetItems()->AddItem(long(10)); var_Group->GetItems()->AddItem(long(20)); var_Group->PutExpanded(VARIANT_TRUE); |
4 |
How do I change the caption being displayed in the control's filter bar
|
3 |
Is it possible to change the style for the vertical or horizontal grid lines, in the list area
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERTREELib' for the library: 'ExplorerTree 1.0 Control Library' #import <ExplorerTree.dll> using namespace EXPLORERTREELib; */ EXPLORERTREELib::IExplorerTreePtr spExplorerTree1 = GetDlgItem(IDC_EXPLORERTREE1)->GetControlUnknown(); spExplorerTree1->BeginUpdate(); EXPLORERTREELib::IGroupPtr var_Group = spExplorerTree1->GetGroups()->Add(L"Default"); var_Group->PutAutoHeight(VARIANT_TRUE); var_Group->PutDrawGridLines(EXPLORERTREELib::exAllLines); var_Group->PutGridLineStyle(EXPLORERTREELib::GridLinesStyleEnum(EXPLORERTREELib::exGridLinesVSolid | EXPLORERTREELib::exGridLinesHDot4)); var_Group->PutColumnAutoResize(VARIANT_FALSE); EXPLORERTREELib::IColumnPtr var_Column = var_Group->GetColumns()->GetItem(long(0)); var_Column->PutCaption(L"C1"); var_Column->PutWidth(64); var_Group->GetColumns()->Add(L"C2"); var_Group->GetColumns()->Add(L"C3"); var_Group->PutColumnAutoResize(VARIANT_TRUE); EXPLORERTREELib::IItemsPtr var_Items = var_Group->GetItems(); long h = var_Items->AddItem("Item 1"); var_Items->PutCellCaption(h,long(1),"SubItem 1.2"); var_Items->PutCellCaption(h,long(2),"SubItem 1.3"); h = var_Items->AddItem("Item 2"); var_Items->PutCellCaption(h,long(1),"SubItem 2.2"); var_Items->PutCellCaption(h,long(2),"SubItem 2.3"); h = var_Items->AddItem("Item 3"); var_Items->PutCellCaption(h,long(1),"SubItem 3.2"); var_Items->PutCellCaption(h,long(2),"SubItem 3.3"); var_Group->PutExpanded(VARIANT_TRUE); spExplorerTree1->EndUpdate(); |
2 |
Is it possible to change the style for the grid lines, for instance to be solid not dotted
|
1 |
How can I change the visual appearance for the groups, using your EBN files
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERTREELib' for the library: 'ExplorerTree 1.0 Control Library' #import <ExplorerTree.dll> using namespace EXPLORERTREELib; */ EXPLORERTREELib::IExplorerTreePtr spExplorerTree1 = GetDlgItem(IDC_EXPLORERTREE1)->GetControlUnknown(); spExplorerTree1->BeginUpdate(); spExplorerTree1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spExplorerTree1->PutBackColorGroup(0x1000000); EXPLORERTREELib::IGroupsPtr var_Groups = spExplorerTree1->GetGroups(); var_Groups->Add(L"Group 1"); var_Groups->Add(L"Group 2"); var_Groups->Add(L"Group 3"); spExplorerTree1->EndUpdate(); |