171. Can I specify a different colors for groups using your EBN files
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spExplorerBar1->PutBackColorGroup(0x1000000); spExplorerBar1->GetGroups()->Add(L"Group 1"); spExplorerBar1->GetGroups()->Add(L"Group 2")->PutBackColor(0x100aabb);
170. Can I change the color of the control's border (EBN files)
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'
#import <ExplorerBar.dll>
using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spExplorerBar1->PutAppearance(EXPLORERBARLib::AppearanceEnum(0x1aabbc8 | EXPLORERBARLib::exDrop));
169. How can I make the items visible automatically, or how can I ensure an item is visible or it is shown in the control's client area
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->BeginUpdate(); spExplorerBar1->PutGroupHeight(48); EXPLORERBARLib::IGroupsPtr var_Groups = spExplorerBar1->GetGroups(); var_Groups->Add(L"Group 1"); var_Groups->Add(L"Group 2"); var_Groups->Add(L"Group 3"); var_Groups->Add(L"Group 4"); var_Groups->Add(L"Group 5"); var_Groups->Add(L"Group 6"); var_Groups->Add(L"Group 7"); var_Groups->Add(L"Group 8"); var_Groups->Add(L"Group 9"); var_Groups->Add(L"Group 10"); var_Groups->Add(L"Group 11"); EXPLORERBARLib::IGroupPtr var_Group = var_Groups->Add(L"Group 12"); var_Group->AddItem(L"0",vtMissing); var_Group->AddItem(L"1",vtMissing); var_Group->AddItem(L"2",vtMissing); spExplorerBar1->EnsureVisible(long(11),long(2),vtMissing); spExplorerBar1->EndUpdate();
168. How can I scroll to the end of the groups
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->BeginUpdate(); spExplorerBar1->PutGroupHeight(48); EXPLORERBARLib::IGroupsPtr var_Groups = spExplorerBar1->GetGroups(); var_Groups->Add(L"Group 1"); var_Groups->Add(L"Group 2"); var_Groups->Add(L"Group 3"); var_Groups->Add(L"Group 4"); var_Groups->Add(L"Group 5"); var_Groups->Add(L"Group 6"); var_Groups->Add(L"Group 7"); var_Groups->Add(L"Group 8"); var_Groups->Add(L"Group 9"); var_Groups->Add(L"Group 10"); var_Groups->Add(L"Group 11"); var_Groups->Add(L"Group 12"); spExplorerBar1->EnsureVisible(long(11),vtMissing,vtMissing); spExplorerBar1->EndUpdate();
167. How can I display an item by multiple lines
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"SingleLine",vtMissing); EXPLORERBARLib::IItemPtr var_Item = var_Group->AddItem(L"This is bit of text that should break the lines, and so <b>multiple</b> lines are displayed",vtMissing); var_Item->PutAlignment(EXPLORERBARLib::exLeft); var_Item->PutCaptionFormat(EXPLORERBARLib::exHTML); var_Item->PutSingleLine(VARIANT_FALSE); var_Group->AddItem(L"Item 3",vtMissing); var_Group->PutExpanded(VARIANT_TRUE);
166. How can I indent an item
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing)->PutAlignment(EXPLORERBARLib::exLeft); EXPLORERBARLib::IItemPtr var_Item = var_Group->AddItem(L"Sub Item <b>1</b>",vtMissing); var_Item->PutCaptionFormat(EXPLORERBARLib::exHTML); var_Item->PutAlignment(EXPLORERBARLib::exLeft); var_Item->PutIndent(12); EXPLORERBARLib::IItemPtr var_Item1 = var_Group->AddItem(L"Sub Item <b>2</b>",vtMissing); var_Item1->PutCaptionFormat(EXPLORERBARLib::exHTML); var_Item1->PutAlignment(EXPLORERBARLib::exLeft); var_Item1->PutIndent(12); EXPLORERBARLib::IItemPtr var_Item2 = var_Group->AddItem(L"Sub Item <b>3</b>",vtMissing); var_Item2->PutCaptionFormat(EXPLORERBARLib::exHTML); var_Item2->PutAlignment(EXPLORERBARLib::exLeft); var_Item2->PutIndent(12); EXPLORERBARLib::IItemPtr var_Item3 = var_Group->AddItem(L"Sub Sub Item <b>3</b>",vtMissing); var_Item3->PutCaptionFormat(EXPLORERBARLib::exHTML); var_Item3->PutAlignment(EXPLORERBARLib::exLeft); var_Item3->PutIndent(24); EXPLORERBARLib::IItemPtr var_Item4 = var_Group->AddItem(L"Item 2",vtMissing); var_Item4->PutAlignment(EXPLORERBARLib::exLeft); var_Group->PutExpanded(VARIANT_TRUE);
165. How can I use HTML format to display my item
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing); var_Group->AddItem(_bstr_t("<font Tahoma;11>T</font>his is an HTML <b>item</b> assigned to a <fgcolor=FF0000>group</fgcolor") + ">",vtMissing)->PutCaptionFormat(EXPLORERBARLib::exHTML); var_Group->AddItem(L"Item 3",vtMissing); var_Group->PutExpanded(VARIANT_TRUE);
164. How can I assign a tooltip to an item
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing); var_Group->AddItem(L"ToolTip",vtMissing)->PutToolTip("This is bit of text that should appear when the cursor hovers the <b>item</b>."); var_Group->AddItem(L"Item 3",vtMissing); var_Group->PutExpanded(VARIANT_TRUE);
163. How can I show or hide an item
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing); var_Group->AddItem(L"Item 2",vtMissing)->PutVisible(VARIANT_FALSE); var_Group->AddItem(L"Item 3",vtMissing); var_Group->PutExpanded(VARIANT_TRUE);
162. How can I align an icon for an item
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); EXPLORERBARLib::IItemPtr var_Item = var_Group->AddItem(L"Item 1",vtMissing); var_Item->PutImage(long(1)); var_Item->PutImageAlignment(EXPLORERBARLib::exLeft); EXPLORERBARLib::IItemPtr var_Item1 = var_Group->AddItem(L"Item 2",vtMissing); var_Item1->PutImage(long(2)); var_Item1->PutImageAlignment(EXPLORERBARLib::exRight); var_Group->PutExpanded(VARIANT_TRUE);
161. How can I stop highlighting an item
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing); var_Group->AddItem(L"Item 2 - no ",vtMissing)->PutAllowHighLight(VARIANT_FALSE); var_Group->AddItem(L"Item 3",vtMissing); var_Group->PutExpanded(VARIANT_TRUE);
160. How can I change the item's background color
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing); EXPLORERBARLib::IItemPtr var_Item = var_Group->AddItem(L"Item 2",vtMissing); var_Item->PutBackColor(RGB(255,0,0)); var_Item->PutBackColor2(RGB(255,255,255)); var_Group->AddItem(L"Item 3",vtMissing); var_Group->PutExpanded(VARIANT_TRUE);
159. How can I change the item's background color
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing); var_Group->AddItem(L"<bgcolor=FF0000>Item</bgcolor> 2",vtMissing)->PutCaptionFormat(EXPLORERBARLib::exHTML); var_Group->AddItem(L"Item 3",vtMissing); var_Group->PutExpanded(VARIANT_TRUE);
158. How can I change the item's foreground color
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing); var_Group->AddItem(L"Item 2",vtMissing)->PutForeColor(RGB(255,0,0)); var_Group->AddItem(L"Item 3",vtMissing); var_Group->PutExpanded(VARIANT_TRUE);
157. How can I change the visual appearance of the item using your EBN files
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing); var_Group->AddItem(L"Item 2",vtMissing)->PutBackColor(0x1000000); var_Group->AddItem(L"Item 3",vtMissing); var_Group->PutExpanded(VARIANT_TRUE);
156. How can I change the item's background color
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing); var_Group->AddItem(L"Item 2",vtMissing)->PutBackColor(RGB(255,0,0)); var_Group->AddItem(L"Item 3",vtMissing); var_Group->PutExpanded(VARIANT_TRUE);
155. How can I get the group of the item
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing); var_Group->AddItem(L"Item 2",vtMissing)->GetGroup()->PutBold(VARIANT_TRUE); var_Group->AddItem(L"Item 3",vtMissing); var_Group->PutExpanded(VARIANT_TRUE);
154. How can I get the index of the item
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); EXPLORERBARLib::IItemPtr var_Item = var_Group->AddItem(L"Item 1",vtMissing); var_Item->PutCaption(_bstr_t(var_Item->GetIndex())); EXPLORERBARLib::IItemPtr var_Item1 = var_Group->AddItem(L"Item 2",vtMissing); var_Item1->PutCaption(_bstr_t(var_Item1->GetIndex())); EXPLORERBARLib::IItemPtr var_Item2 = var_Group->AddItem(L"Item 3",vtMissing); var_Item2->PutCaption(_bstr_t(var_Item2->GetIndex())); var_Group->PutExpanded(VARIANT_TRUE);
153. How can I draw underlined an item
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing); var_Group->AddItem(L"<u>Item</u> 2",vtMissing)->PutCaptionFormat(EXPLORERBARLib::exHTML); var_Group->AddItem(L"Item 3",vtMissing); var_Group->PutExpanded(VARIANT_TRUE);
152. How can I draw underlined an item
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing); var_Group->AddItem(L"Item 2",vtMissing)->PutUnderline(VARIANT_TRUE); var_Group->AddItem(L"Item 3",vtMissing); var_Group->PutExpanded(VARIANT_TRUE);
151. How can I draw as strikeout an item
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing); var_Group->AddItem(L"<s>Item</s> 2",vtMissing)->PutCaptionFormat(EXPLORERBARLib::exHTML); var_Group->AddItem(L"Item 3",vtMissing); var_Group->PutExpanded(VARIANT_TRUE);
150. How can I draw as strikeout an item
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing); var_Group->AddItem(L"Item 2",vtMissing)->PutStrikeOut(VARIANT_TRUE); var_Group->AddItem(L"Item 3",vtMissing); var_Group->PutExpanded(VARIANT_TRUE);
149. How can I draw as italic an item
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing); var_Group->AddItem(L"<i>Item</i> 2",vtMissing)->PutCaptionFormat(EXPLORERBARLib::exHTML); var_Group->AddItem(L"Item 3",vtMissing); var_Group->PutExpanded(VARIANT_TRUE);
148. How can I draw as italic an item
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing); var_Group->AddItem(L"Item 2",vtMissing)->PutItalic(VARIANT_TRUE); var_Group->AddItem(L"Item 3",vtMissing); var_Group->PutExpanded(VARIANT_TRUE);
147. How can I add a anchor or a hyperlink
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutHighlightItemType(EXPLORERBARLib::exNoHighlight); spExplorerBar1->PutHandCursor(VARIANT_FALSE); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Link <a1><b>1</b></a>",vtMissing)->PutCaptionFormat(EXPLORERBARLib::exHTML); var_Group->AddItem(L"Link <a2><b>2</b></a>",vtMissing)->PutCaptionFormat(EXPLORERBARLib::exHTML); var_Group->PutExpanded(VARIANT_TRUE);
146. How do I bold an item
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing); var_Group->AddItem(L"<b>Item</a> 2",vtMissing)->PutCaptionFormat(EXPLORERBARLib::exHTML); var_Group->AddItem(L"Item 3",vtMissing); var_Group->PutExpanded(VARIANT_TRUE);
145. How do I bold an item
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing); var_Group->AddItem(L"Item 2",vtMissing)->PutBold(VARIANT_TRUE); var_Group->AddItem(L"Item 3",vtMissing); var_Group->PutExpanded(VARIANT_TRUE);
144. How can I align an item
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->PutItemHeight(28); var_Group->AddItem(L"Left",long(1))->PutAlignment(EXPLORERBARLib::exLeft); var_Group->AddItem(L"Center",long(2))->PutAlignment(EXPLORERBARLib::exCenter); var_Group->AddItem(L"Right",long(3))->PutAlignment(EXPLORERBARLib::exRight); var_Group->AddItem(L"Middle",long(1))->PutAlignment(EXPLORERBARLib::exMiddle); var_Group->PutExpanded(VARIANT_TRUE);
143. How can I assign some extra data to an item
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing)->PutUserData("your data"); var_Group->AddItem(L"Item 2",vtMissing); var_Group->AddItem(L"Item 3",vtMissing); var_Group->PutExpanded(VARIANT_TRUE);
142. How can I assign or display an icon for an item
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item <img>1</img> text <img>2</img>",vtMissing)->PutCaptionFormat(EXPLORERBARLib::exHTML); var_Group->AddItem(L"Item 2",vtMissing)->PutImage(long(2)); var_Group->AddItem(L"Item 3",vtMissing)->PutImage(long(3)); var_Group->PutExpanded(VARIANT_TRUE);
141. How can I assign or display an icon for an item
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing)->PutImage(long(1)); var_Group->AddItem(L"Item 2",vtMissing)->PutImage(long(2)); var_Group->AddItem(L"Item 3",vtMissing)->PutImage(long(3)); var_Group->PutExpanded(VARIANT_TRUE);
140. How can I assign or display an icon for an item
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",long(1)); var_Group->AddItem(L"Item 2",long(2)); var_Group->AddItem(L"Item 3",long(3)); var_Group->PutExpanded(VARIANT_TRUE);
139. How can I change the item's position
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing); var_Group->AddItem(L"Item 2",vtMissing); var_Group->AddItem(L"Item 3",vtMissing)->PutPosition(0); var_Group->PutExpanded(VARIANT_TRUE);
138. How can I change the item's caption
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing); var_Group->AddItem(L"Item 2",vtMissing)->PutCaption(L"new caption"); var_Group->AddItem(L"Item 3",vtMissing); var_Group->PutExpanded(VARIANT_TRUE);
137. How do I add new items
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->GetGroups()->Add(L"Group 1")->AddItem(L"Item 1",vtMissing)->PutBold(VARIANT_TRUE);
136. How do I assign a group to a set in the shortcut bar
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spExplorerBar1->PutShowShortcutBar(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 1")->PutShortcut(L"Set <img>1</img>"); spExplorerBar1->GetGroups()->Add(L"Group 2")->PutShortcut(L"Set <img>1</img>"); spExplorerBar1->GetGroups()->Add(L"Group 3")->PutShortcut(L"Set <img>2</img>"); spExplorerBar1->GetGroups()->Add(L"Group 4")->PutShortcut(L"Set <img>2</img>");
135. How can I show or hide the expanding or collapsing button
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->GetGroups()->Add(L"Group 1")->AddItem(L"Item 1",vtMissing); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 2, expanding/collapsing button is missing "); var_Group->AddItem(L"Item 1",vtMissing); var_Group->AddItem(L"Item 2",vtMissing); var_Group->PutExpanded(VARIANT_TRUE); var_Group->PutAllowExpand(VARIANT_FALSE); spExplorerBar1->GetGroups()->Add(L"Group 3")->AddItem(L"Item 1",vtMissing);
134. How can I avoid expanding or collapsing a group
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->GetGroups()->Add(L"Group 1")->AddItem(L"Item 1",vtMissing); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 2"); var_Group->AddItem(L"Item 1",vtMissing); var_Group->AddItem(L"Item 2",vtMissing); var_Group->PutExpanded(VARIANT_TRUE); var_Group->PutAllowExpand(VARIANT_FALSE); spExplorerBar1->GetGroups()->Add(L"Group 3")->AddItem(L"Item 1",vtMissing);
133. How can I assign a tooltip to a group
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutToolTipDelay(1); spExplorerBar1->GetGroups()->Add(L"ToolTip")->PutToolTip("This is a bit of text that's shown when the cursor hovers the <b>group</b>.");
132. How can I display HTML text in the group's caption
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutGroupHeight(44); spExplorerBar1->PutHTMLPicture(L"pic1","c:\\exontrol\\images\\zipdisk.gif"); spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spExplorerBar1->GetGroups()->Add(L"<img>pic1</img> <s>HTML</s> <img>1</img> <b>format</b>")->PutCaptionFormat(EXPLORERBARLib::exHTML);
131. How can I disable scrolling the group's list when it is expanded or collapsed
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->GetGroups()->Add(L"Group 1"); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 2"); var_Group->AddItem(L"Item 1",vtMissing); var_Group->AddItem(L"Item 2",vtMissing); var_Group->PutExpanded(VARIANT_TRUE); var_Group->PutAllowScroll(VARIANT_FALSE); spExplorerBar1->GetGroups()->Add(L"Group 3");
130. How can I change the group's background color ( gradient )
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->GetGroups()->Add(L"Group 1"); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 2"); var_Group->PutBackColor(RGB(255,0,0)); var_Group->PutBackColor2(RGB(255,255,255)); spExplorerBar1->GetGroups()->Add(L"Group 3");
129. How can I access the bounding rectangle of the group's area
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->GetGroups()->Add(L"Group 1"); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 2"); var_Group->AddItem(L"Item 1",vtMissing); var_Group->AddItem(L"Item 2",vtMissing); var_Group->AddItem(_bstr_t(var_Group->GetTop()),vtMissing); var_Group->AddItem(_bstr_t(var_Group->GetLeft()),vtMissing); var_Group->AddItem(_bstr_t(var_Group->GetWidth()),vtMissing); var_Group->PutExpanded(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 3");
128. How can I expand or collapse a group
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->GetGroups()->Add(L"Group 1"); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 2"); var_Group->AddItem(L"Item 1",vtMissing); var_Group->AddItem(L"Item 2",vtMissing); var_Group->PutExpanded(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 3");
127. How can I specify the height of the items
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->GetGroups()->Add(L"Group 1"); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 2"); var_Group->AddItem(L"Item 1",vtMissing); var_Group->AddItem(L"Item 2",vtMissing); var_Group->PutItemHeight(13); var_Group->PutExpanded(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 3");
126. How do I put a picture on the group's background
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->GetGroups()->Add(L"Group 1"); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 2"); var_Group->AddItem(L"Item 1",vtMissing); var_Group->AddItem(L"Item 2",vtMissing); var_Group->PutPicture(IPictureDispPtr(((IDispatch*)(spExplorerBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"))))); var_Group->PutPictureDisplay(EXPLORERBARLib::UpperRight); var_Group->PutExpanded(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 3");
125. How do I put a picture on the group's background
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->GetGroups()->Add(L"Group 1"); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 2"); var_Group->AddItem(L"Item 1",vtMissing); var_Group->AddItem(L"Item 2",vtMissing); var_Group->PutPicture(IPictureDispPtr(((IDispatch*)(spExplorerBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"))))); var_Group->PutExpanded(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 3");
124. How can I change the foreground color for items
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->GetGroups()->Add(L"Group 1"); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 2"); var_Group->AddItem(L"Item 1",vtMissing); var_Group->AddItem(L"Item 2",vtMissing); var_Group->PutForeColorList(RGB(255,0,0)); var_Group->PutExpanded(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 3");
123. How can I change the background color for the items
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->GetGroups()->Add(L"Group 1"); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 2"); var_Group->AddItem(L"Item 1",vtMissing); var_Group->AddItem(L"Item 2",vtMissing); var_Group->PutBackColorList(RGB(255,0,0)); var_Group->PutExpanded(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 3");
122. How can I change the group's foreground color
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->GetGroups()->Add(L"Group 1"); spExplorerBar1->GetGroups()->Add(L"<fgcolor=FF0000>Group</fgcolor> 2")->PutCaptionFormat(EXPLORERBARLib::exHTML); spExplorerBar1->GetGroups()->Add(L"Group 3");
121. How can I change the group's foreground color
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->GetGroups()->Add(L"Group 1"); spExplorerBar1->GetGroups()->Add(L"Group 2")->PutForeColor(RGB(255,0,0)); spExplorerBar1->GetGroups()->Add(L"Group 3");
120. How can I change the group's background color
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->GetGroups()->Add(L"Group 1"); spExplorerBar1->GetGroups()->Add(L"<bgcolor=FF0000>Group</bgcolor> 2")->PutCaptionFormat(EXPLORERBARLib::exHTML); spExplorerBar1->GetGroups()->Add(L"Group 3");
119. How can I change the visual appearance of the group, using EBN files
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spExplorerBar1->PutGroupAppearance(EXPLORERBARLib::exSingle); spExplorerBar1->GetGroups()->Add(L"Group 1"); spExplorerBar1->GetGroups()->Add(L"Group 2")->PutBackColor(0x1000000); spExplorerBar1->GetGroups()->Add(L"Group 3");
118. How can I change the group's background color
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->GetGroups()->Add(L"Group 1"); spExplorerBar1->GetGroups()->Add(L"Group 2")->PutBackColor(RGB(255,0,0)); spExplorerBar1->GetGroups()->Add(L"Group 3");
117. How do I get the index of the group
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->PutCaption(_bstr_t(var_Group->GetIndex())); EXPLORERBARLib::IGroupPtr var_Group1 = spExplorerBar1->GetGroups()->Add(L"Group 2"); var_Group1->PutCaption(_bstr_t(var_Group1->GetIndex())); EXPLORERBARLib::IGroupPtr var_Group2 = spExplorerBar1->GetGroups()->Add(L"Group 3"); var_Group2->PutCaption(_bstr_t(var_Group2->GetIndex()));
116. How can I underline the group's name
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->GetGroups()->Add(L"<u>Group</u> 1")->PutCaptionFormat(EXPLORERBARLib::exHTML);
115. How can I underline the group's name
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->GetGroups()->Add(L"Group 1"); spExplorerBar1->GetGroups()->Add(L"Group 2")->PutUnderline(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 3");
114. How can I show the group's name as strikeout
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->GetGroups()->Add(L"<s>Group</s> 1")->PutCaptionFormat(EXPLORERBARLib::exHTML);
113. How can I show the group's name as strikeout
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->GetGroups()->Add(L"Group 1"); spExplorerBar1->GetGroups()->Add(L"Group 2")->PutStrikeOut(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 3");
112. How can I draw as italic the group's name
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->GetGroups()->Add(L"<i>Group</i> 1")->PutCaptionFormat(EXPLORERBARLib::exHTML);
111. How do I draw italic the group's name
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->GetGroups()->Add(L"Group 1"); spExplorerBar1->GetGroups()->Add(L"Group 2")->PutItalic(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 3");
110. How do I bold the group's name
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->GetGroups()->Add(L"<b>Group</b> 1")->PutCaptionFormat(EXPLORERBARLib::exHTML);
109. How do I bold the group's name
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->GetGroups()->Add(L"Group 1"); spExplorerBar1->GetGroups()->Add(L"Group 2")->PutBold(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 3");
108. How can I align the icon in the group's caption
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->PutImage(long(1)); var_Group->PutImageAlignment(EXPLORERBARLib::exRight); var_Group->PutAlignment(EXPLORERBARLib::exRight);
107. How can I align the group's name
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->GetGroups()->Add(L"Group 1")->PutAlignment(EXPLORERBARLib::exRight);
106. How can I align the group's name
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->GetGroups()->Add(L"Group 1")->PutAlignment(EXPLORERBARLib::exLeft);
105. How can I assign some extra data to a group
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->GetGroups()->Add(L"Group 1")->PutUserData("your data");
104. How can I display an icon in the group's caption
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spExplorerBar1->GetGroups()->Add(L"Group <img>1</img> text <img>2</img>")->PutCaptionFormat(EXPLORERBARLib::exHTML);
103. How can I display an icon in the group's caption
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spExplorerBar1->GetGroups()->Add(L"Group 1")->PutImage(long(1));
102. How can I access an item by its position
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing); var_Group->AddItem(L"Item 2",vtMissing); var_Group->AddItem(L"Item 3",vtMissing)->PutPosition(0); var_Group->GetItemByPos(1)->PutBold(VARIANT_TRUE); var_Group->PutExpanded(VARIANT_TRUE);
101. How can I change the position of a group
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->GetGroups()->Add(L"Group 1"); spExplorerBar1->GetGroups()->Add(L"Group 2"); spExplorerBar1->GetGroups()->Add(L"Group 3")->PutPosition(0);
100. How can I change the group's caption
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing); var_Group->AddItem(L"Item 2",vtMissing); var_Group->AddItem(L"Item 3",vtMissing); var_Group->PutCaption(L"new caption"); var_Group->PutExpanded(VARIANT_TRUE);
99. How can I get the number or count of items in a group
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing); var_Group->AddItem(L"Item 2",vtMissing); var_Group->AddItem(L"Item 3",vtMissing); var_Group->AddItem(_bstr_t(var_Group->GetCount()),vtMissing); var_Group->PutExpanded(VARIANT_TRUE);
98. How can I access an item in a group
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing); var_Group->AddItem(L"Item 2",vtMissing); var_Group->AddItem(L"Item 3",vtMissing); var_Group->GetItem(long(1))->PutBold(VARIANT_TRUE); var_Group->PutExpanded(VARIANT_TRUE);
97. How can I remove all items, from a group
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing); var_Group->AddItem(L"Item 2",vtMissing); var_Group->AddItem(L"Item 3",vtMissing); var_Group->Clear(); var_Group->PutExpanded(VARIANT_TRUE);
96. How can I remove an item, from a group
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing); var_Group->AddItem(L"Item 2",vtMissing); var_Group->AddItem(L"Item 3",vtMissing); var_Group->RemoveItem(long(1)); var_Group->PutExpanded(VARIANT_TRUE);
95. How can I add a new item to a group
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",long(1)); var_Group->PutExpanded(VARIANT_TRUE);
94. How can I add a new item to a group
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->GetGroups()->Add(L"Group 1")->AddItem(L"Item 1",vtMissing);
93. How can I add a new item to a group
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing); var_Group->PutExpanded(VARIANT_TRUE);
92. How can I get the groups as they are listed
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); EXPLORERBARLib::IGroupsPtr var_Groups = spExplorerBar1->GetGroups(); var_Groups->Add(L"Group 1"); var_Groups->Add(L"Group 2"); var_Groups->Add(L"Group 3");
91. How can I access a group by position
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); EXPLORERBARLib::IGroupsPtr var_Groups = spExplorerBar1->GetGroups(); var_Groups->Add(L"Group 1"); var_Groups->Add(L"Group 2"); var_Groups->Add(L"Group 3"); var_Groups->GetItemByPos(1)->PutBold(VARIANT_TRUE);
90. How can I access a group
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); EXPLORERBARLib::IGroupsPtr var_Groups = spExplorerBar1->GetGroups(); var_Groups->Add(L"Group 1"); var_Groups->Add(L"Group 2"); var_Groups->Add(L"Group 3"); var_Groups->GetItem(long(1))->PutBold(VARIANT_TRUE);
89. How can I clear the groups collection
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); EXPLORERBARLib::IGroupsPtr var_Groups = spExplorerBar1->GetGroups(); var_Groups->Add(L"Group 1"); var_Groups->Add(L"Group 2"); var_Groups->Add(L"Group 3"); var_Groups->Clear();
88. How can I remove a group
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); EXPLORERBARLib::IGroupsPtr var_Groups = spExplorerBar1->GetGroups(); var_Groups->Add(L"Group 1"); var_Groups->Add(L"Group 2"); var_Groups->Add(L"Group 3"); var_Groups->Remove(long(1));
87. How can I add a group
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing); var_Group->AddItem(L"Item 2",vtMissing); var_Group->PutExpanded(VARIANT_TRUE);
86. How do I count the number of groups
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); EXPLORERBARLib::IGroupsPtr var_Groups = spExplorerBar1->GetGroups(); var_Groups->Add(L"Group 1"); var_Groups->Add(L"Group 2"); var_Groups->Add(L"Group 3"); var_Groups->Add(_bstr_t(var_Groups->GetCount()));
85. How can I display pictures with a custom size, instead icons, in the shortcut bar
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutShowShortcutBar(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 1")->PutShortcut(L"Set 1"); spExplorerBar1->GetGroups()->Add(L"Group 2")->PutShortcut(L"Set 1"); spExplorerBar1->GetGroups()->Add(L"Group 3")->PutShortcut(L"Set 2"); spExplorerBar1->GetGroups()->Add(L"Group 4")->PutShortcut(L"Set 2"); spExplorerBar1->PutShortcutPicture(L"Set 1",((IDispatch*)(spExplorerBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))); spExplorerBar1->PutShortcutPicture(L"Set 2",((IDispatch*)(spExplorerBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\auction.gif`)")))); spExplorerBar1->PutShortcutPictureWidth(32); spExplorerBar1->PutShortcutPictureHeight(32); spExplorerBar1->PutShortcutBarHeight(32);
84. How can I display pictures instead icons, in the shortcut bar
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutShowShortcutBar(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 1")->PutShortcut(L"Set 1"); spExplorerBar1->GetGroups()->Add(L"Group 2")->PutShortcut(L"Set 1"); spExplorerBar1->GetGroups()->Add(L"Group 3")->PutShortcut(L"Set 2"); spExplorerBar1->GetGroups()->Add(L"Group 4")->PutShortcut(L"Set 2"); spExplorerBar1->PutShortcutPicture(L"Set 1",((IDispatch*)(spExplorerBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))); spExplorerBar1->PutShortcutPicture(L"Set 2",((IDispatch*)(spExplorerBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\auction.gif`)")))); spExplorerBar1->PutShortcutBarHeight(44);
83. How can I change the visual appearance of the shortcut bar, using EBN files
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spExplorerBar1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn"); spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spExplorerBar1->PutShowShortcutBar(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 1")->PutShortcut(L"Set <img>1</img>"); spExplorerBar1->GetGroups()->Add(L"Group 2")->PutShortcut(L"Set <img>1</img>"); spExplorerBar1->GetGroups()->Add(L"Group 3")->PutShortcut(L"Set <img>2</img>"); spExplorerBar1->GetGroups()->Add(L"Group 4")->PutShortcut(L"Set <img>2</img>"); spExplorerBar1->PutShortcutResizeBackColor(0x2000000); spExplorerBar1->PutShortcutBarSelCaptionBackColor(0x1000000); spExplorerBar1->PutShortcutBarSelBackColor(0x1000000); spExplorerBar1->PutBackColorGroup(0x1000000);
82. How can I change the visual appearance of the separator between groups and the shortcut bar, using your EBN files
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spExplorerBar1->PutShowShortcutBar(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 1")->PutShortcut(L"Set <img>1</img>"); spExplorerBar1->GetGroups()->Add(L"Group 2")->PutShortcut(L"Set <img>1</img>"); spExplorerBar1->GetGroups()->Add(L"Group 3")->PutShortcut(L"Set <img>2</img>"); spExplorerBar1->GetGroups()->Add(L"Group 4")->PutShortcut(L"Set <img>2</img>"); spExplorerBar1->PutShortcutResizeBackColor(0x1000000); spExplorerBar1->PutExpandShortcutCount(1);
81. How do I change the background color of the separator between groups and the shortcut bar
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spExplorerBar1->PutShowShortcutBar(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 1")->PutShortcut(L"Set <img>1</img>"); spExplorerBar1->GetGroups()->Add(L"Group 2")->PutShortcut(L"Set <img>1</img>"); spExplorerBar1->GetGroups()->Add(L"Group 3")->PutShortcut(L"Set <img>2</img>"); spExplorerBar1->GetGroups()->Add(L"Group 4")->PutShortcut(L"Set <img>2</img>"); spExplorerBar1->PutShortcutResizeBackColor(RGB(255,0,0)); spExplorerBar1->PutExpandShortcutCount(1);
80. How can I change the visual appearance of the shortcut bar, using your EBN files
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spExplorerBar1->PutShowShortcutBar(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 1")->PutShortcut(L"Set <img>1</img>"); spExplorerBar1->GetGroups()->Add(L"Group 2")->PutShortcut(L"Set <img>1</img>"); spExplorerBar1->GetGroups()->Add(L"Group 3")->PutShortcut(L"Set <img>2</img>"); spExplorerBar1->GetGroups()->Add(L"Group 4")->PutShortcut(L"Set <img>2</img>"); spExplorerBar1->PutShortcutBarSelCaptionBackColor(0x1000000); spExplorerBar1->PutExpandShortcutCount(1);
79. How do I change the selection background color in the shortcut bar
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spExplorerBar1->PutShowShortcutBar(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 1")->PutShortcut(L"Set <img>1</img>"); spExplorerBar1->GetGroups()->Add(L"Group 2")->PutShortcut(L"Set <img>1</img>"); spExplorerBar1->GetGroups()->Add(L"Group 3")->PutShortcut(L"Set <img>2</img>"); spExplorerBar1->GetGroups()->Add(L"Group 4")->PutShortcut(L"Set <img>2</img>"); spExplorerBar1->PutShortcutBarSelCaptionBackColor(RGB(255,0,0)); spExplorerBar1->PutExpandShortcutCount(1);
78. How can I change the visual appearance of the shortcut bar, using your EBN files
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spExplorerBar1->PutShowShortcutBar(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 1")->PutShortcut(L"Set <img>1</img>"); spExplorerBar1->GetGroups()->Add(L"Group 2")->PutShortcut(L"Set <img>1</img>"); spExplorerBar1->GetGroups()->Add(L"Group 3")->PutShortcut(L"Set <img>2</img>"); spExplorerBar1->GetGroups()->Add(L"Group 4")->PutShortcut(L"Set <img>2</img>"); spExplorerBar1->PutShortcutBarSelBackColor(0x1000000);
77. How do I change the selection background color in the shortcut bar
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spExplorerBar1->PutShowShortcutBar(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 1")->PutShortcut(L"Set <img>1</img>"); spExplorerBar1->GetGroups()->Add(L"Group 2")->PutShortcut(L"Set <img>1</img>"); spExplorerBar1->GetGroups()->Add(L"Group 3")->PutShortcut(L"Set <img>2</img>"); spExplorerBar1->GetGroups()->Add(L"Group 4")->PutShortcut(L"Set <img>2</img>"); spExplorerBar1->PutShortcutBarSelBackColor(RGB(255,0,0));
76. How can I change the visual appearance of the shortcut bar, using your EBN files
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spExplorerBar1->PutShowShortcutBar(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 1")->PutShortcut(L"Set <img>1</img>"); spExplorerBar1->GetGroups()->Add(L"Group 2")->PutShortcut(L"Set <img>1</img>"); spExplorerBar1->GetGroups()->Add(L"Group 3")->PutShortcut(L"Set <img>2</img>"); spExplorerBar1->GetGroups()->Add(L"Group 4")->PutShortcut(L"Set <img>2</img>"); spExplorerBar1->PutShortcutBarBackColor(0x1000000);
75. How do I change the background color in the shortcut bar
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spExplorerBar1->PutShowShortcutBar(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 1")->PutShortcut(L"Set <img>1</img>"); spExplorerBar1->GetGroups()->Add(L"Group 2")->PutShortcut(L"Set <img>1</img>"); spExplorerBar1->GetGroups()->Add(L"Group 3")->PutShortcut(L"Set <img>2</img>"); spExplorerBar1->GetGroups()->Add(L"Group 4")->PutShortcut(L"Set <img>2</img>"); spExplorerBar1->PutShortcutBarBackColor(RGB(255,0,0));
74. How can I programmatically change expand or collapse the shortcut bar
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spExplorerBar1->PutShowShortcutBar(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 1")->PutShortcut(L"Set <img>1</img>"); spExplorerBar1->GetGroups()->Add(L"Group 2")->PutShortcut(L"Set <img>1</img>"); spExplorerBar1->GetGroups()->Add(L"Group 3")->PutShortcut(L"Set <img>2</img>"); spExplorerBar1->GetGroups()->Add(L"Group 4")->PutShortcut(L"Set <img>2</img>"); spExplorerBar1->PutExpandShortcutCount(1);
73. How do I change the icon for the expanding or collapsing the shortcut bar
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spExplorerBar1->PutShowShortcutBar(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 1")->PutShortcut(L"Set <img>1</img>"); spExplorerBar1->GetGroups()->Add(L"Group 2")->PutShortcut(L"Set <img>1</img>"); spExplorerBar1->GetGroups()->Add(L"Group 3")->PutShortcut(L"Set <img>2</img>"); spExplorerBar1->GetGroups()->Add(L"Group 4")->PutShortcut(L"Set <img>2</img>"); spExplorerBar1->PutExpandShortcutImage(3);
72. How can I enable or disable resizing the shortcut bar
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spExplorerBar1->PutShowShortcutBar(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 1")->PutShortcut(L"Set <img>1</img>"); spExplorerBar1->GetGroups()->Add(L"Group 2")->PutShortcut(L"Set <img>1</img>"); spExplorerBar1->GetGroups()->Add(L"Group 3")->PutShortcut(L"Set <img>2</img>"); spExplorerBar1->GetGroups()->Add(L"Group 4")->PutShortcut(L"Set <img>2</img>"); spExplorerBar1->PutExpandShortcutCount(1); spExplorerBar1->PutAllowResizeShortcutBar(VARIANT_FALSE);
71. How do I specify the height of the shortcut bar
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spExplorerBar1->PutShowShortcutBar(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 1")->PutShortcut(L"Set <img>1</img>"); spExplorerBar1->GetGroups()->Add(L"Group 2")->PutShortcut(L"Set <img>1</img>"); spExplorerBar1->GetGroups()->Add(L"Group 3")->PutShortcut(L"Set <img>2</img>"); spExplorerBar1->GetGroups()->Add(L"Group 4")->PutShortcut(L"Set <img>2</img>"); spExplorerBar1->PutExpandShortcutCount(1); spExplorerBar1->PutShortcutBarHeight(16);
70. How do I select a shortcut
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spExplorerBar1->PutShowShortcutBar(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 1")->PutShortcut(L"Set <img>1</img>"); spExplorerBar1->GetGroups()->Add(L"Group 2")->PutShortcut(L"Set <img>1</img>"); spExplorerBar1->GetGroups()->Add(L"Group 3")->PutShortcut(L"Set <img>2</img>"); spExplorerBar1->GetGroups()->Add(L"Group 4")->PutShortcut(L"Set <img>2</img>"); spExplorerBar1->PutExpandShortcutCount(1); spExplorerBar1->PutSelectShortcut("Set <img>2</img>");
69. How do I show or hide the shortcut bar
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spExplorerBar1->PutShowShortcutBar(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 1")->PutShortcut(L"Set <img>1</img>"); spExplorerBar1->GetGroups()->Add(L"Group 2")->PutShortcut(L"Set <img>1</img>"); spExplorerBar1->GetGroups()->Add(L"Group 3")->PutShortcut(L"Set <img>2</img>"); spExplorerBar1->GetGroups()->Add(L"Group 4")->PutShortcut(L"Set <img>2</img>"); spExplorerBar1->PutExpandShortcutCount(1);
68. How do I access the groups collection
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->GetGroups()->Add(L"Group 1");
67. Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions, after the user clicks it
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutFormatAnchor(VARIANT_FALSE,L"<b><u><fgcolor=FF0000> </fgcolor></u></b>"); spExplorerBar1->PutHighlightItemType(EXPLORERBARLib::exNoHighlight); spExplorerBar1->PutHandCursor(VARIANT_FALSE); spExplorerBar1->GetGroups()->Add(L"Group <a1><b>1</b></a>")->PutCaptionFormat(EXPLORERBARLib::exHTML);
66. Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions, after the user clicks it
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutFormatAnchor(VARIANT_FALSE,L"<b><u><fgcolor=FF0000> </fgcolor></u></b>"); spExplorerBar1->PutHighlightItemType(EXPLORERBARLib::exNoHighlight); spExplorerBar1->PutHandCursor(VARIANT_FALSE); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item <a1><b>1</b></a>",vtMissing)->PutCaptionFormat(EXPLORERBARLib::exHTML); var_Group->PutExpanded(VARIANT_TRUE);
65. Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutHighlightItemType(EXPLORERBARLib::exNoHighlight); spExplorerBar1->PutHandCursor(VARIANT_FALSE); spExplorerBar1->PutFormatAnchor(VARIANT_TRUE,L"<b><u><fgcolor=FF0000> </fgcolor></u></b>"); spExplorerBar1->GetGroups()->Add(L"Group <a1><b>1</b></a>")->PutCaptionFormat(EXPLORERBARLib::exHTML);
64. Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutHighlightItemType(EXPLORERBARLib::exNoHighlight); spExplorerBar1->PutHandCursor(VARIANT_FALSE); spExplorerBar1->PutFormatAnchor(VARIANT_TRUE,L"<b><u><fgcolor=FF0000> </fgcolor></u></b>"); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item <a1><b>1</b></a>",vtMissing)->PutCaptionFormat(EXPLORERBARLib::exHTML); var_Group->PutExpanded(VARIANT_TRUE);
63. How can I add several pictures and icons to an item
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spExplorerBar1->PutHTMLPicture(L"pic1","c:\\exontrol\\images\\zipdisk.gif"); spExplorerBar1->PutHTMLPicture(L"pic2","c:\\exontrol\\images\\auction.gif"); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->PutItemHeight(48); EXPLORERBARLib::IItemPtr var_Item = var_Group->AddItem(L"<img>pic1</img> te <img>1:4</img><img>1:4</img><img>1:4</img><img>1</img> xt <img>pic2</img>",vtMissing); var_Item->PutImage(long(2)); var_Item->PutCaptionFormat(EXPLORERBARLib::exHTML); var_Group->PutExpanded(VARIANT_TRUE);
62. How can I add several pictures and icons to an item
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spExplorerBar1->PutHTMLPicture(L"pic1","c:\\exontrol\\images\\zipdisk.gif"); spExplorerBar1->PutHTMLPicture(L"pic2","c:\\exontrol\\images\\auction.gif"); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->PutItemHeight(48); EXPLORERBARLib::IItemPtr var_Item = var_Group->AddItem(L"<img>pic1</img> te <img>1:4</img><img>1:4</img><img>1:4</img><img>1</img> xt <img>pic2</img>",vtMissing); var_Item->PutImage(long(2)); var_Item->PutCaptionFormat(EXPLORERBARLib::exHTML); var_Group->PutExpanded(VARIANT_TRUE);
61. How can I add several pictures to an item
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutHTMLPicture(L"pic1","c:\\exontrol\\images\\zipdisk.gif"); spExplorerBar1->PutHTMLPicture(L"pic2","c:\\exontrol\\images\\auction.gif"); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->PutItemHeight(48); var_Group->AddItem(L"<img>pic1</img> text <img>pic2</img>",vtMissing)->PutCaptionFormat(EXPLORERBARLib::exHTML); var_Group->PutExpanded(VARIANT_TRUE);
60. How can I add several pictures to a group
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spExplorerBar1->PutHTMLPicture(L"pic1","c:\\exontrol\\images\\zipdisk.gif"); spExplorerBar1->PutHTMLPicture(L"pic2","c:\\exontrol\\images\\auction.gif"); spExplorerBar1->PutGroupHeight(48); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"<img>pic1</img> te <img>1:4</img><img>1:4</img><img>1:4</img><img>1</img> xt <img>pic2</img>"); var_Group->PutImage(long(2)); var_Group->PutCaptionFormat(EXPLORERBARLib::exHTML); var_Group->PutPicture(IPictureDispPtr(((IDispatch*)(spExplorerBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\colorize.gif`)"))))); var_Group->AddItem(L"Item 1",vtMissing); var_Group->AddItem(L"Item 2",vtMissing); var_Group->PutExpanded(VARIANT_TRUE);
59. How can I add several pictures and icons to a group
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spExplorerBar1->PutHTMLPicture(L"pic1","c:\\exontrol\\images\\zipdisk.gif"); spExplorerBar1->PutHTMLPicture(L"pic2","c:\\exontrol\\images\\auction.gif"); spExplorerBar1->PutGroupHeight(48); spExplorerBar1->GetGroups()->Add(L"<img>pic1</img> te <img>1:4</img><img>1:4</img><img>1:4</img><img>1</img> xt <img>pic2</img>")->PutCaptionFormat(EXPLORERBARLib::exHTML);
58. How can I add several pictures to a group
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutHTMLPicture(L"pic1","c:\\exontrol\\images\\zipdisk.gif"); spExplorerBar1->PutHTMLPicture(L"pic2","c:\\exontrol\\images\\auction.gif"); spExplorerBar1->PutGroupHeight(48); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"<img>pic1</img> text <img>pic2</img>"); var_Group->PutCaptionFormat(EXPLORERBARLib::exHTML); var_Group->PutPicture(IPictureDispPtr(((IDispatch*)(spExplorerBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\colorize.gif`)"))))); var_Group->AddItem(L"Item 1",vtMissing); var_Group->AddItem(L"Item 2",vtMissing); var_Group->PutExpanded(VARIANT_TRUE);
57. How can I add several pictures to a group
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutHTMLPicture(L"pic1","c:\\exontrol\\images\\zipdisk.gif"); spExplorerBar1->PutHTMLPicture(L"pic2","c:\\exontrol\\images\\auction.gif"); spExplorerBar1->PutGroupHeight(48); spExplorerBar1->GetGroups()->Add(L"<img>pic1</img> text <img>pic2</img>")->PutCaptionFormat(EXPLORERBARLib::exHTML);
56. How do I force refreshing the control
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->PutExpanded(VARIANT_TRUE); var_Group->AddItem(L"Item 1",vtMissing); spExplorerBar1->Refresh();
55. How can show or hide the focus rectangle
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutShowFocusRect(VARIANT_FALSE); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->PutExpanded(VARIANT_TRUE); var_Group->AddItem(L"Item 1",vtMissing);
54. I've seen that the width of the tooltip is variable. Can I make it larger
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutToolTipWidth(328); spExplorerBar1->GetGroups()->Add(L"ToolTip")->PutToolTip("<font Tahoma;11>T</font>his is an HTML <b>tooltip</b> assigned to a group.");
53. How do I let the tooltip being displayed longer
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutToolTipPopDelay(10000); spExplorerBar1->GetGroups()->Add(L"ToolTip")->PutToolTip("<font Tahoma;11>T</font>his is an HTML <b>tooltip</b> assigned to a group.");
52. Can I change the default border of the tooltip, using your EBN files
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutToolTipDelay(1); spExplorerBar1->PutToolTipWidth(364); spExplorerBar1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spExplorerBar1->PutBackground(EXPLORERBARLib::exToolTipAppearance,0x1000000); spExplorerBar1->GetGroups()->Add(L"ToolTip")->PutToolTip("<font Tahoma;11>T</font>his is an HTML <b>tooltip</b> assigned to a group.");
51. Can I change the background color for the tooltip
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutToolTipDelay(1); spExplorerBar1->PutToolTipWidth(364); spExplorerBar1->PutBackground(EXPLORERBARLib::exToolTipBackColor,RGB(255,0,0)); spExplorerBar1->GetGroups()->Add(L"ToolTip")->PutToolTip("<font Tahoma;11>T</font>his is an HTML <b>tooltip</b> assigned to a group.");
50. Does the tooltip support HTML format
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutToolTipDelay(1); spExplorerBar1->PutToolTipWidth(364); spExplorerBar1->GetGroups()->Add(L"ToolTip")->PutToolTip(_bstr_t("<font Tahoma;11>T</font>his is an HTML <b>tooltip</b> assigned to a <fgcolor=FF0000>group</fgco") + "lor>");
49. Can I change the forecolor for the tooltip
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutToolTipDelay(1); spExplorerBar1->PutToolTipWidth(364); spExplorerBar1->PutBackground(EXPLORERBARLib::exToolTipForeColor,RGB(255,0,0)); spExplorerBar1->GetGroups()->Add(L"ToolTip")->PutToolTip("This is a bit of text that's shown when the cursor hovers the group.");
48. Can I change the foreground color for the tooltip
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutToolTipDelay(1); spExplorerBar1->PutToolTipWidth(364); spExplorerBar1->GetGroups()->Add(L"ToolTip")->PutToolTip("<fgcolor=FF0000>This is a bit of text that's shown when the cursor hovers the group.</fgcolor>");
47. Can I change the font for the tooltip
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutToolTipDelay(1); spExplorerBar1->PutToolTipWidth(364); spExplorerBar1->GetGroups()->Add(L"ToolTip")->PutToolTip(_bstr_t("<font Tahoma>This is a bit of text that's shown when the cursor hovers the group.</font> Back t") + "o the normal font");
46. Can I change the font for the tooltip
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutToolTipDelay(1); /* Copy and paste the following directives to your header file as it defines the namespace 'stdole' for the library: 'OLE Automation' #import <stdole2.tlb> */ stdole::FontPtr var_StdFont = spExplorerBar1->GetToolTipFont(); var_StdFont->PutName(L"Tahoma"); var_StdFont->PutSize(_variant_t(long(14))); spExplorerBar1->PutToolTipWidth(364); spExplorerBar1->GetGroups()->Add(L"ToolTip")->PutToolTip("This is a bit of text that's shown when the cursor hovers the group.");
45. How do I disable showing the tooltip for all control
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutToolTipDelay(0); spExplorerBar1->GetGroups()->Add(L"ToolTip")->PutToolTip("This is a bit of text that's shown when the cursor hovers the group.");
44. How do I show the tooltip quicker
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutToolTipDelay(1); spExplorerBar1->GetGroups()->Add(L"ToolTip")->PutToolTip("This is a bit of text that's shown when the cursor hovers the group.");
43. How do I call your x-script language
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); EXPLORERBARLib::IGroupPtr var_Group = ((EXPLORERBARLib::IGroupPtr)(spExplorerBar1->ExecuteTemplate(L"Groups.Add(`Group 1`)"))); var_Group->AddItem(L"Item 1",vtMissing); var_Group->PutExpanded(VARIANT_TRUE);
42. How do I call your x-script language
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'
#import <ExplorerBar.dll>
using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutTemplate(L"BackColor = RGB(255,0,0)");
41. How can I hide a tooltip when the item exceeds its area, so ... are displayed
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutAllowTooltip(VARIANT_FALSE); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->PutExpanded(VARIANT_TRUE); var_Group->AddItem(L"This isa very long text that should break the control in several pieces",vtMissing);
40. How can I show a tooltip when the item exceeds its area, so ... are displayed
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutAllowTooltip(VARIANT_TRUE); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->PutExpanded(VARIANT_TRUE); var_Group->AddItem(L"This isa very long text that should break the control in several pieces",vtMissing);
39. How do I specify the distance between two groups
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutBorderGroupHeight(0); spExplorerBar1->GetGroups()->Add(L"Group 1"); spExplorerBar1->GetGroups()->Add(L"Group 2")->AddItem(L"Item 2",vtMissing);
38. How can I change the expand / collapse buttons
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spExplorerBar1->PutExpandIcon(VARIANT_TRUE,1); spExplorerBar1->PutExpandIcon(VARIANT_FALSE,2); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing); var_Group->PutExpanded(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 2")->AddItem(L"Item 2",vtMissing); spExplorerBar1->EndUpdate();
37. How do I enable or disable the control
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutEnabled(VARIANT_FALSE); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing)->PutImage(long(1)); var_Group->PutExpanded(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 2")->AddItem(L"Item 2",vtMissing);
36. How do I hide the icons in the right side of the group, the expand / collapse buttons
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->BeginUpdate(); spExplorerBar1->PutDisplayExpandIcon(VARIANT_FALSE); spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing)->PutImage(long(1)); var_Group->PutExpanded(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 2")->AddItem(L"Item 2",vtMissing); spExplorerBar1->EndUpdate();
35. Is there any option to stop using the hand shape cursor, when the cursor hovers an item
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->BeginUpdate(); spExplorerBar1->PutHandCursor(VARIANT_FALSE); spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spExplorerBar1->PutHighlightItemType(EXPLORERBARLib::exNoHighlight); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing)->PutImage(long(1)); var_Group->PutExpanded(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 2")->AddItem(L"Item 2",vtMissing); spExplorerBar1->EndUpdate();
34. How do I specify the color to highlight the item
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->BeginUpdate(); spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spExplorerBar1->PutHyperLinkColor(RGB(255,0,0)); spExplorerBar1->PutHighlightItemType(EXPLORERBARLib::exHyperLink); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing)->PutImage(long(1)); var_Group->PutExpanded(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 2")->AddItem(L"Item 2",vtMissing); spExplorerBar1->EndUpdate();
33. How can I expand or collapse a group when I click only its right icon
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->BeginUpdate(); spExplorerBar1->PutExpandOnClick(VARIANT_FALSE); spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spExplorerBar1->PutHighlightItemType(EXPLORERBARLib::exHyperLink); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing)->PutImage(long(1)); var_Group->PutExpanded(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 2")->AddItem(L"Item 2",vtMissing); spExplorerBar1->EndUpdate();
32. How do I remove the control's borders
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->BeginUpdate(); spExplorerBar1->PutAppearance(EXPLORERBARLib::exNone); spExplorerBar1->PutBorderWidth(0); spExplorerBar1->PutBorderHeight(0); spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spExplorerBar1->PutHighlightItemType(EXPLORERBARLib::exHyperLink); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing)->PutImage(long(1)); var_Group->PutExpanded(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 2")->AddItem(L"Item 2",vtMissing); spExplorerBar1->EndUpdate();
31. How do I specify width or the height of the control's borders
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->BeginUpdate(); spExplorerBar1->PutAppearance(EXPLORERBARLib::exNone); spExplorerBar1->PutBorderWidth(0); spExplorerBar1->PutBorderHeight(0); spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spExplorerBar1->PutHighlightItemType(EXPLORERBARLib::exHyperLink); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing)->PutImage(long(1)); var_Group->PutExpanded(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 2")->AddItem(L"Item 2",vtMissing); spExplorerBar1->EndUpdate();
28. How do I specify to highlight the items in the group, when the cursor hovers the item
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->BeginUpdate(); spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spExplorerBar1->PutHighlightItemType(EXPLORERBARLib::exHyperLink); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing)->PutImage(long(1)); var_Group->PutExpanded(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 2")->AddItem(L"Item 2",vtMissing); spExplorerBar1->EndUpdate();
27. How do I specify to highlight the items in the group, when the cursor hovers the item
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->BeginUpdate(); spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spExplorerBar1->PutHighlightItemType(EXPLORERBARLib::exUnion); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing)->PutImage(long(1)); var_Group->PutExpanded(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 2")->AddItem(L"Item 2",vtMissing); spExplorerBar1->EndUpdate();
26. How do I specify to highlight the items in the group, when the cursor hovers the item
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->BeginUpdate(); spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spExplorerBar1->PutHighlightItemType(EXPLORERBARLib::exIcon); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing)->PutImage(long(1)); var_Group->PutExpanded(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 2")->AddItem(L"Item 2",vtMissing); spExplorerBar1->EndUpdate();
25. How do I specify to highlight the items in the group, when the cursor hovers the item
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->BeginUpdate(); spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spExplorerBar1->PutHighlightItemType(EXPLORERBARLib::exCaption); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing)->PutImage(long(1)); var_Group->PutExpanded(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 2")->AddItem(L"Item 2",vtMissing); spExplorerBar1->EndUpdate();
24. How do I specify the way the control highlight the items in the group
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->BeginUpdate(); spExplorerBar1->PutHighlightItemType(EXPLORERBARLib::exNoHighlight); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing); var_Group->PutExpanded(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 2")->AddItem(L"Item 2",vtMissing); spExplorerBar1->EndUpdate();
23. Is there any function to avoid painting the control while adding multiple items and groups
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->BeginUpdate(); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing); var_Group->PutExpanded(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 2")->AddItem(L"Item 2",vtMissing); spExplorerBar1->EndUpdate();
22. How do I decrease the delay to scroll a group
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutDelayScroll(0); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing); var_Group->PutExpanded(VARIANT_TRUE); EXPLORERBARLib::IGroupPtr var_Group1 = spExplorerBar1->GetGroups()->Add(L"Group 2"); var_Group1->AddItem(L"Item 2",vtMissing); var_Group1->PutExpanded(VARIANT_TRUE);
21. How do I display icons
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutSmallIcons(VARIANT_TRUE); spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spExplorerBar1->GetGroups()->Add(L"Group 1")->PutImage(long(1));
20. How do I display 32x32 icons
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutSmallIcons(VARIANT_FALSE); spExplorerBar1->PutGroupHeight(36); spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spExplorerBar1->GetGroups()->Add(L"Group 1")->PutImage(long(1));
19. How do I specify the height of the groups
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutGroupHeight(40); spExplorerBar1->GetGroups()->Add(L"Group 1"); spExplorerBar1->GetGroups()->Add(L"Group 2");
18. How do I change the visual appearance of the groups
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutGroupAppearance(EXPLORERBARLib::exSingle); spExplorerBar1->GetGroups()->Add(L"Group 1"); spExplorerBar1->GetGroups()->Add(L"Group 2");
17. How do I change the visual appearance of the groups, using your EBN files
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spExplorerBar1->PutBackColorGroup(0x1000000); spExplorerBar1->GetGroups()->Add(L"Group 1"); spExplorerBar1->GetGroups()->Add(L"Group 2");
16. How do I change the background color for the groups
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutBackColorGroup(RGB(255,0,0)); spExplorerBar1->PutBackColorGroup2(RGB(255,0,0)); spExplorerBar1->GetGroups()->Add(L"Group 1");
15. How do I change the background color for the groups
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutBackColorGroup(RGB(255,0,0)); spExplorerBar1->GetGroups()->Add(L"Group 1");
14. How do I change the control's foreground color
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutForeColor(RGB(0,0,255)); spExplorerBar1->PutForeColorGroup(RGB(255,0,0)); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing); var_Group->PutExpanded(VARIANT_TRUE); spExplorerBar1->GetGroups()->Add(L"Group 2");
13. How can I change the control's font
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->GetFont()->PutName(L"Tahoma"); spExplorerBar1->GetGroups()->Add(L"Group 1");
12. How do I change the control's foreground color
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutForeColor(RGB(255,0,0)); EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1"); var_Group->AddItem(L"Item 1",vtMissing); var_Group->PutExpanded(VARIANT_TRUE);
11. How do I change the control's background color
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'
#import <ExplorerBar.dll>
using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutBackColor(RGB(200,200,200));
10. How do I change the control's border, using your EBN files
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spExplorerBar1->PutAppearance(EXPLORERBARLib::AppearanceEnum(0x1000000));
9. How do I remove the control's border
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'
#import <ExplorerBar.dll>
using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutAppearance(EXPLORERBARLib::exNone);
8. How do I put a picture on the center of the control
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutPicture(IPictureDispPtr(((IDispatch*)(spExplorerBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"))))); spExplorerBar1->PutPictureDisplay(EXPLORERBARLib::MiddleCenter);
7. How do I resize/stretch a picture on the control's background
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutPicture(IPictureDispPtr(((IDispatch*)(spExplorerBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"))))); spExplorerBar1->PutPictureDisplay(EXPLORERBARLib::Stretch);
6. How do I put a picture on the control's center right bottom side
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutPicture(IPictureDispPtr(((IDispatch*)(spExplorerBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"))))); spExplorerBar1->PutPictureDisplay(EXPLORERBARLib::LowerRight);
5. How do I put a picture on the control's center left bottom side
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutPicture(IPictureDispPtr(((IDispatch*)(spExplorerBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"))))); spExplorerBar1->PutPictureDisplay(EXPLORERBARLib::LowerLeft);
4. How do I put a picture on the control's center top side
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutPicture(IPictureDispPtr(((IDispatch*)(spExplorerBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"))))); spExplorerBar1->PutPictureDisplay(EXPLORERBARLib::UpperCenter);
3. How do I put a picture on the control's right top corner
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutPicture(IPictureDispPtr(((IDispatch*)(spExplorerBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"))))); spExplorerBar1->PutPictureDisplay(EXPLORERBARLib::UpperRight);
2. How do I put a picture on the control's left top corner
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutPicture(IPictureDispPtr(((IDispatch*)(spExplorerBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"))))); spExplorerBar1->PutPictureDisplay(EXPLORERBARLib::UpperLeft);
1. How do I put a picture on the control's background
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library' #import <ExplorerBar.dll> using namespace EXPLORERBARLib; */ EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown(); spExplorerBar1->PutPicture(IPictureDispPtr(((IDispatch*)(spExplorerBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));