190. Is it possible to specify a different background/foreground color for the property from the cursor, aka hot item
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->Select(spPropertiesList1); spPropertiesList1->PutHotBackColor(RGB(0,0,255)); spPropertiesList1->PutHotForeColor(RGB(255,255,255)); spPropertiesList1->PutSelBackColor(RGB(0,0,128)); spPropertiesList1->PutSelForeColor(RGB(255,255,255));
189. My development environment does not have any Object,GetOcx,DefaultDispatch,GetControlUnknown,nativeObject, ... property, is there any alternative I can pass the component to PrintExt so I can get printed
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->Select(spPropertiesList1); spPropertiesList1->PutTemplate(L"Dim p;p = CreateObject(`Exontrol.Print`);p.PrintExt = Me;p.AutoRelease = False;p.Preview();");
188. How can I display checkboxes for flags values only
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->PutAllowMultipleValuesOnEnum(VARIANT_TRUE); EXPROPERTIESLISTLib::IPropertyPtr var_Property = spPropertiesList1->Add(L"Nextevent",long(81),EXPROPERTIESLISTLib::EditEnum,vtMissing,vtMissing); var_Property->AddValue(1,L"Option A"); var_Property->AddValue(2,L"Option B"); var_Property->AddValue(3,L"Option C"); var_Property->AddValue(4,L"Option D"); var_Property->AddValue(16,L"Flag A"); var_Property->AddValue(32,L"Flag B"); var_Property->AddValue(64,L"Flag C"); var_Property->AddValue(128,L"Flag D"); spPropertiesList1->Refresh(); spPropertiesList1->EndUpdate();
187. Is is possible to display a checkbox on ENUM types
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->PutAllowMultipleValuesOnEnum(VARIANT_TRUE); EXPROPERTIESLISTLib::IPropertyPtr var_Property = spPropertiesList1->Add(L"Nextevent",long(5),EXPROPERTIESLISTLib::EditEnum,vtMissing,vtMissing); var_Property->AddValue(1,L"Flag A"); var_Property->AddValue(2,L"Flag B"); var_Property->AddValue(4,L"Flag C"); var_Property->AddValue(8,L"Flag D"); var_Property->AddValue(16,L"Flag E"); spPropertiesList1->Refresh(); spPropertiesList1->EndUpdate();
186. Is it possible to display the full path in the EditFolder editor
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); EXPROPERTIESLISTLib::IPropertyPtr var_Property = spPropertiesList1->Add(L"Folder","c:\\",EXPROPERTIESLISTLib::EditFolder,vtMissing,vtMissing); var_Property->PutOption(EXPROPERTIESLISTLib::exEditFolderTitle,"Current Folder"); var_Property->PutOption(EXPROPERTIESLISTLib::exEditFolderShowEditBox,VARIANT_FALSE); var_Property->PutOption(EXPROPERTIESLISTLib::exEditFolderShowPath,VARIANT_TRUE);
185. How can I include a "New Folder" button so user can create new folders when using the EditFolder form
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->Add(L"Folder","",EXPROPERTIESLISTLib::EditFolder,vtMissing,vtMissing)->PutOption(EXPROPERTIESLISTLib::exEditFolderAllowNewFolder,VARIANT_TRUE);
184. Is it possible to show always the selection in the files/folders list in the EditFolder dialog
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->Add(L"Folder","",EXPROPERTIESLISTLib::EditFolder,vtMissing,vtMissing)->PutOption(EXPROPERTIESLISTLib::exEditFolderNewUI,VARIANT_TRUE);
183. How can I hide the editbox in the EditFolder editor
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->Add(L"Folder","",EXPROPERTIESLISTLib::EditFolder,vtMissing,vtMissing)->PutOption(EXPROPERTIESLISTLib::exEditFolderShowEditBox,VARIANT_FALSE);
182. How can I include the files in the in the EditFolder editor
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->Add(L"Folder","",EXPROPERTIESLISTLib::EditFolder,vtMissing,vtMissing)->PutOption(EXPROPERTIESLISTLib::exEditFolderIncludeFiles,VARIANT_TRUE);
181. Is it possible to change the caption in the EditFolder editor
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->Add(L"Folder","",EXPROPERTIESLISTLib::EditFolder,vtMissing,vtMissing)->PutOption(EXPROPERTIESLISTLib::exEditFolderTitle,"Select a directory...");
180. Is it possible to filter for properties that contains a specified text
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->Select(spPropertiesList1); spPropertiesList1->Sort(VARIANT_TRUE,vtMissing); spPropertiesList1->PutFilterBarPromptVisible(VARIANT_TRUE); spPropertiesList1->PutFilterBarPrompt(L"<font ;7><fgcolor=FF0000><c>Start Filtering..."); spPropertiesList1->PutFilterBarPromptPattern(L"back"); spPropertiesList1->PutIncrementalSearch(EXPROPERTIESLISTLib::exContains); spPropertiesList1->EndUpdate();
179. How can I filter the properties at runtime
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->Select(spPropertiesList1); spPropertiesList1->Sort(VARIANT_TRUE,vtMissing); spPropertiesList1->PutFilterBarPromptVisible(VARIANT_TRUE); spPropertiesList1->PutFilterBarPrompt(L"<font ;7><fgcolor=FF0000><c>Start Filtering..."); spPropertiesList1->PutFilterBarPromptPattern(L"Back"); spPropertiesList1->EndUpdate();
178. Is it possible to change the caption being displayed in the filter bar
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->Select(spPropertiesList1); spPropertiesList1->Sort(VARIANT_TRUE,vtMissing); spPropertiesList1->PutFilterBarPromptVisible(VARIANT_TRUE); spPropertiesList1->PutFilterBarPrompt(L"<font ;7><fgcolor=FF0000><c>Start Filtering..."); spPropertiesList1->EndUpdate();
177. How can I enable the filter-prompt feature
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->Select(spPropertiesList1); spPropertiesList1->Sort(VARIANT_TRUE,vtMissing); spPropertiesList1->PutFilterBarPromptVisible(VARIANT_TRUE); spPropertiesList1->EndUpdate();
176. How do I specify the height of the control's header bar
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->PutHeaderVisible(VARIANT_TRUE); spPropertiesList1->PutHeaderHeight(36); spPropertiesList1->Select(spPropertiesList1); spPropertiesList1->Sort(VARIANT_TRUE,vtMissing); spPropertiesList1->EndUpdate();
175. Is it possible to display a checkbox for ENUM types that allow BIT combinations
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->PutAllowMultipleValuesOnEnum(VARIANT_TRUE); spPropertiesList1->Select(spPropertiesList1); spPropertiesList1->Sort(VARIANT_TRUE,vtMissing); spPropertiesList1->PutFilterBarPromptVisible(VARIANT_TRUE); spPropertiesList1->PutFilterBarPromptPattern(L"Inc"); spPropertiesList1->EndUpdate();
174. Can I add different EditFile entries with different filters
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->Add(L"Text File","text.txt",EXPROPERTIESLISTLib::EditFile,vtMissing,vtMissing)->PutOption(EXPROPERTIESLISTLib::exEditFileFilter,"Text Files (*.txt)|*.txt"); spPropertiesList1->Add(L"INI File","text.ini",EXPROPERTIESLISTLib::EditFile,vtMissing,vtMissing)->PutOption(EXPROPERTIESLISTLib::exEditFileFilter,"INI Files (*.ini)|*.ini"); spPropertiesList1->EndUpdate();
173. Is it possible to expand items/entries when user types for searching properties
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->PutExpandOnSearch(VARIANT_TRUE); spPropertiesList1->Select(spPropertiesList1); spPropertiesList1->EndUpdate();
172. Is it possible to show ticks on the slider control
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->Add(L"Slider",long(50),EXPROPERTIESLISTLib::EditSlider,vtMissing,vtMissing); EXPROPERTIESLISTLib::IPropertyPtr var_Property = spPropertiesList1->Add(L"Slider w/h ticks",long(50),EXPROPERTIESLISTLib::EditSlider,vtMissing,vtMissing); var_Property->PutSliderStep(10); var_Property->PutSliderTickFrequency(10); spPropertiesList1->Refresh();
171. How can I edit a number between a range or interval
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); EXPROPERTIESLISTLib::IPropertyPtr var_Property = spPropertiesList1->Add(L"Slider",long(50),EXPROPERTIESLISTLib::EditSlider,vtMissing,vtMissing); var_Property->PutNumeric(VARIANT_TRUE); var_Property->PutSpinStep(0); var_Property->PutSliderWidth(0); var_Property->PutSliderStep(0); var_Property->PutSliderMin(0); var_Property->PutSliderMax(100);
170. How can I edit a number between a range or interval
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); EXPROPERTIESLISTLib::IPropertyPtr var_Property = spPropertiesList1->Add(L"Slider","0.5",EXPROPERTIESLISTLib::EditSlider,vtMissing,vtMissing); var_Property->PutNumericFloat(VARIANT_TRUE); var_Property->PutSpinStep(0); var_Property->PutSliderWidth(0); var_Property->PutSliderStep(0); var_Property->PutSliderMin(0); var_Property->PutSliderMax(1);
169. How can I add a slider or track bar editor, with a fixed size
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->Add(L"Slider","0.5",EXPROPERTIESLISTLib::EditSlider,vtMissing,vtMissing)->PutSliderWidth(48); spPropertiesList1->EndUpdate();
168. How can I add a slider or track bar editor, so it covers half of the cell
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->Add(L"Slider","0.5",EXPROPERTIESLISTLib::EditSlider,vtMissing,vtMissing)->PutSliderWidth(-50); spPropertiesList1->EndUpdate();
167. How can I add a slider or track bar editor, so it covers the full cell
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->Add(L"Slider","0.5",EXPROPERTIESLISTLib::EditSlider,vtMissing,vtMissing)->PutSliderWidth(-100); spPropertiesList1->EndUpdate();
166. How can I add a spin editor within a range or interval of float numbers
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->PutAllowSpin(VARIANT_TRUE); EXPROPERTIESLISTLib::IPropertyPtr var_Property = spPropertiesList1->Add(L"Slider","0.5",EXPROPERTIESLISTLib::EditSlider,vtMissing,vtMissing); var_Property->PutNumericFloat(VARIANT_TRUE); var_Property->PutSpinStep(".01"); var_Property->PutSliderWidth(0); var_Property->PutSliderMin(0); var_Property->PutSliderMax(1); spPropertiesList1->EndUpdate();
165. How can I add a spin editor within a range or interval of numbers
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->PutAllowSpin(VARIANT_TRUE); EXPROPERTIESLISTLib::IPropertyPtr var_Property = spPropertiesList1->Add(L"Slider",long(10),EXPROPERTIESLISTLib::EditSlider,vtMissing,vtMissing); var_Property->PutNumeric(VARIANT_TRUE); var_Property->PutSliderWidth(0); var_Property->PutSliderMin(5); var_Property->PutSliderMax(15); spPropertiesList1->EndUpdate();
164. Can I use your HTML format to display a property
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spPropertiesList1->PutSelBackColor(0x1000000); spPropertiesList1->PutSelForeColor(RGB(0,0,0)); spPropertiesList1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spPropertiesList1->PutColumnWidth(long(0),304); EXPROPERTIESLISTLib::IPropertyPtr var_Property = spPropertiesList1->Add(L"I1","link1",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing); var_Property->PutHTMLName(_bstr_t("<br>text icons <img>1</img>, <img>2</img>, ... pictures <img>p1</img>, <img>p2</img> <br><br>te") + "xt <b>bold</b>, <i>italic</i>, <u>underline</u>, <s>strikeout</s>, ...<br><dotline>and so on...<" + "br> <a>anchor</a> or <a2>hyperlink</a><br><fgcolor=FF0000>fgcolor</fgcolor> or <bgcolor=00FF00>b" + "gcolor</bgcolor>"); var_Property->PutHeight(128); spPropertiesList1->EndUpdate();
163. How can I display I picture to a property
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->PutHTMLPicture(L"pic1","c:\\exontrol\\images\\zipdisk.gif"); spPropertiesList1->PutHTMLPicture(L"pic2","c:\\exontrol\\images\\auction.gif"); EXPROPERTIESLISTLib::IPropertyPtr var_Property = spPropertiesList1->Add(L"Picture 1","link1",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing); var_Property->PutHTMLName(L"<img>pic1</img> <b>1</b>"); var_Property->PutHeight(48); spPropertiesList1->Add(L"Edit","text",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing); EXPROPERTIESLISTLib::IPropertyPtr var_Property1 = spPropertiesList1->Add(L"Picture 2","link2",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing); var_Property1->PutHTMLName(L"<img>pic2</img> <b>2</b>"); var_Property1->PutHeight(32); spPropertiesList1->EndUpdate();
162. How do I display an icon to a property
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutDefaultItemHeight(18); spPropertiesList1->BeginUpdate(); spPropertiesList1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spPropertiesList1->Add(L"I1","link1",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing)->PutHTMLName(L"<img>1</img> <b>1</b>"); spPropertiesList1->Add(L"Edit","text",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing); spPropertiesList1->Add(L"I2","link1",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing)->PutHTMLName(L"<img>2</img> <b>2</b>"); spPropertiesList1->EndUpdate();
161. How do I specify the height of a property
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->PutHTMLPicture(L"pic1","c:\\exontrol\\images\\zipdisk.gif"); spPropertiesList1->PutHTMLPicture(L"pic2","c:\\exontrol\\images\\auction.gif"); EXPROPERTIESLISTLib::IPropertyPtr var_Property = spPropertiesList1->Add(L"Picture 1","link1",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing); var_Property->PutHTMLName(L"<img>pic1</img> <b>1</b>"); var_Property->PutHeight(48); spPropertiesList1->Add(L"Edit","text",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing); EXPROPERTIESLISTLib::IPropertyPtr var_Property1 = spPropertiesList1->Add(L"Picture 2","link2",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing); var_Property1->PutHTMLName(L"<img>pic2</img> <b>2</b>"); var_Property1->PutHeight(48); spPropertiesList1->EndUpdate();
160. How do I edit a float number
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->PutAllowSpin(VARIANT_TRUE); EXPROPERTIESLISTLib::IPropertyPtr var_Property = spPropertiesList1->Add(L"Edit","0.5",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing); var_Property->PutNumericFloat(VARIANT_TRUE); var_Property->PutSpinStep("0.1"); spPropertiesList1->EndUpdate();
159. How do I change the step for a spin
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->PutAllowSpin(VARIANT_TRUE); spPropertiesList1->Add(L"Edit",long(10),EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing)->PutSpinStep(10); spPropertiesList1->EndUpdate();
158. How do I sort the items in a drop down editor
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); EXPROPERTIESLISTLib::IPropertyPtr var_Property = spPropertiesList1->Add(L"Enum",long(1),EXPROPERTIESLISTLib::EditEnum,vtMissing,vtMissing); var_Property->PutDropDownItems(1); var_Property->AddValue(1,L"First choice"); var_Property->AddValue(2,L"Second choice"); var_Property->AddValue(3,L"Third choice"); var_Property->SortItems(vtMissing,vtMissing); spPropertiesList1->Refresh();
157. How do I specify the number of visible items in a drop down editor
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); EXPROPERTIESLISTLib::IPropertyPtr var_Property = spPropertiesList1->Add(L"Enum",long(1),EXPROPERTIESLISTLib::EditEnum,vtMissing,vtMissing); var_Property->PutDropDownItems(1); var_Property->AddValue(1,L"First choice"); var_Property->AddValue(2,L"Second choice"); var_Property->AddValue(3,L"Third choice"); spPropertiesList1->Refresh();
156. How do I bold a property
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->Add(L"Edit","text",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing)->PutBold(VARIANT_TRUE); spPropertiesList1->EndUpdate();
155. How do I disable or enable a property
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->Add(L"Edit","text",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing)->PutEnabled(VARIANT_FALSE); spPropertiesList1->EndUpdate();
154. How do I specify a tooltip for a property
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->PutAllowTooltip(VARIANT_TRUE); spPropertiesList1->Add(L"ToolTip","",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing)->PutToolTip(L"This is a bit of text that shows up when the user hovers the cursor"); spPropertiesList1->EndUpdate();
153. How do I specify the masking character
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); EXPROPERTIESLISTLib::IPropertyPtr var_Property = spPropertiesList1->Add(L"Edit",long(12),EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing); var_Property->PutMask(L"##"); var_Property->PutMaskChar(48); spPropertiesList1->EndUpdate();
152. How do I specify a mask
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->Add(L"Edit",long(12),EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing)->PutMask(L"##"); spPropertiesList1->EndUpdate();
151. How do I edit a number
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->PutAllowSpin(VARIANT_TRUE); spPropertiesList1->Add(L"Edit",long(15),EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing)->PutNumeric(VARIANT_TRUE); spPropertiesList1->EndUpdate();
150. How do I change the foreground color for a cell
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->Add(L"Edit","text",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing)->PutCellForeColor(long(0),RGB(255,0,0)); spPropertiesList1->EndUpdate();
149. How do I change the foreground color for a cell
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->Add(L"Edit","text",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing)->PutCellForeColor(long(1),RGB(255,0,0)); spPropertiesList1->EndUpdate();
148. How do I change the background color for a cell
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->Add(L"Edit","text",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing)->PutCellBackColor(long(0),RGB(255,0,0)); spPropertiesList1->EndUpdate();
147. How do I change the background color for a cell
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->Add(L"Edit","text",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing)->PutCellBackColor(long(1),RGB(255,0,0)); spPropertiesList1->EndUpdate();
146. How do I change the background color for a property
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->Add(L"Edit","text",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing)->PutBackColor(RGB(255,0,0)); spPropertiesList1->EndUpdate();
145. How do I change the foreground color for a property
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->Add(L"Edit","text",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing)->PutForeColor(RGB(255,0,0)); spPropertiesList1->EndUpdate();
144. How do I associate an extra data to a property
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->Add(L"Color",long(255),EXPROPERTIESLISTLib::EditColor,vtMissing,vtMissing)->PutUserData("your data"); spPropertiesList1->EndUpdate();
143. How do I get the caption of the property, as it is displayed in the browser
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->Add(L"Color",long(255),EXPROPERTIESLISTLib::EditColor,vtMissing,vtMissing)->PutID(12345); spPropertiesList1->Add(spPropertiesList1->GetProperty("Color")->GetDisplayValue(),"",EXPROPERTIESLISTLib::Label,vtMissing,vtMissing)->PutBold(VARIANT_TRUE); spPropertiesList1->EndUpdate();
142. How do I get the value of the property
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->Add(L"Edit","text",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing)->PutID(12345); spPropertiesList1->Add(spPropertiesList1->GetProperty("Edit")->GetValue(),"",EXPROPERTIESLISTLib::Label,vtMissing,vtMissing)->PutBold(VARIANT_TRUE); spPropertiesList1->EndUpdate();
141. How do I make a property read only
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->Add(L"Edit","text",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing)->PutLocked(VARIANT_TRUE); spPropertiesList1->EndUpdate();
140. How do I specify a description for a property
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->Add(L"Edit","text",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing)->PutDescription(L"This is just a description"); spPropertiesList1->PutSelectedProperty(((EXPROPERTIESLISTLib::IPropertyPtr)(spPropertiesList1->GetProperty("Edit")))); spPropertiesList1->EndUpdate();
139. How do I get the identifer of the property
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->Add(L"Edit","text",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing)->PutID(12345); spPropertiesList1->Add(spPropertiesList1->GetProperty("Edit")->GetID(),"",EXPROPERTIESLISTLib::Label,vtMissing,vtMissing)->PutBold(VARIANT_TRUE); spPropertiesList1->Refresh();
138. How do I get the type of the property
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->Add(L"Edit","text",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing); spPropertiesList1->Add(spPropertiesList1->GetProperty("Edit")->GetType(),"",EXPROPERTIESLISTLib::Label,vtMissing,vtMissing)->PutBold(VARIANT_TRUE); spPropertiesList1->Refresh();
137. How do I get the name of the property
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->Add(L"Edit","text",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing); spPropertiesList1->Add(spPropertiesList1->GetProperty("Edit")->GetName(),"",EXPROPERTIESLISTLib::Label,vtMissing,vtMissing)->PutBold(VARIANT_TRUE); spPropertiesList1->Refresh();
136. How do I select a folder
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->Add(L"Folder","",EXPROPERTIESLISTLib::EditFolder,vtMissing,vtMissing); spPropertiesList1->Refresh();
135. How do I select a file
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->Add(L"File","",EXPROPERTIESLISTLib::EditFile,vtMissing,vtMissing); spPropertiesList1->Refresh();
134. How do I slider or trackbar editor
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->Add(L"Slider",long(50),EXPROPERTIESLISTLib::EditSlider,vtMissing,vtMissing); spPropertiesList1->Refresh();
133. How do I add a button
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->Add(L"Button","Aaa",EXPROPERTIESLISTLib::EditButton,vtMissing,vtMissing); spPropertiesList1->Refresh();
132. How do I add a check box editor
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->Add(L"Check",VARIANT_TRUE,EXPROPERTIESLISTLib::EditCheck,vtMissing,vtMissing); spPropertiesList1->Refresh();
131. How do I add a color editor
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->Add(L"Color",long(255),EXPROPERTIESLISTLib::EditColorPage,vtMissing,vtMissing); spPropertiesList1->Refresh();
130. How do I add a new object properties inside the control
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->Add(L"MySelf 1",spPropertiesList1,EXPROPERTIESLISTLib::EditObject,vtMissing,vtMissing); spPropertiesList1->Add(L"MySelf 2",spPropertiesList1,EXPROPERTIESLISTLib::EditObject,vtMissing,vtMissing); spPropertiesList1->EndUpdate();
129. How do I add a new objects inside the control
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->Add(L"MySelf",spPropertiesList1,EXPROPERTIESLISTLib::EditObject,vtMissing,vtMissing); spPropertiesList1->EndUpdate();
128. How do I add a drop down editor with some predefined values
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); EXPROPERTIESLISTLib::IPropertyPtr var_Property = spPropertiesList1->Add(L"DropDown","Aaa",EXPROPERTIESLISTLib::EditDropDown,vtMissing,vtMissing); var_Property->AddValue(1,L"First choice"); var_Property->AddValue(2,L"Second choice"); var_Property->AddValue(3,L"Third choice"); spPropertiesList1->Refresh();
127. How do I add a password editor
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->Add(L"Password","pass",EXPROPERTIESLISTLib::EditPassword,vtMissing,vtMissing); spPropertiesList1->Refresh();
126. How do I add a date picker editor
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->Add(L"Date","1/1/2001",EXPROPERTIESLISTLib::EditDate,vtMissing,vtMissing); spPropertiesList1->Refresh();
125. How do I add a drop down editor with some predefined values
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); EXPROPERTIESLISTLib::IPropertyPtr var_Property = spPropertiesList1->Add(L"Enum",long(1),EXPROPERTIESLISTLib::EditEnum,vtMissing,vtMissing); var_Property->AddValue(1,L"First choice"); var_Property->AddValue(2,L"Second choice"); var_Property->AddValue(3,L"Third choice"); spPropertiesList1->Refresh();
124. How do I add a boolean editor
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->Add(L"Boolean",VARIANT_TRUE,EXPROPERTIESLISTLib::EditBoolean,vtMissing,vtMissing); spPropertiesList1->Refresh();
123. How do I add a button or a page editor
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->Add(L"Page","",EXPROPERTIESLISTLib::EditPage,vtMissing,vtMissing); spPropertiesList1->Refresh();
122. How do I add a picture editor
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->Add(L"Picture",long(0),EXPROPERTIESLISTLib::EditPicture,vtMissing,vtMissing); spPropertiesList1->Refresh();
121. How do I add a font editor
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->Add(L"Font","Arial",EXPROPERTIESLISTLib::EditFontName,vtMissing,vtMissing); spPropertiesList1->Refresh();
120. How do I add a font editor
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->Add(L"Font","Arial",EXPROPERTIESLISTLib::EditFont,vtMissing,vtMissing); spPropertiesList1->Refresh();
119. How do I add a color editor
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->Add(L"Color",long(255),EXPROPERTIESLISTLib::EditColor,vtMissing,vtMissing); spPropertiesList1->Refresh();
118. How do I add an edit
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->Add(L"Edit","text",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing); spPropertiesList1->Refresh();
117. How do I specify the character sets being included in the font editor
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutOption(EXPROPERTIESLISTLib::exFontCharSet,"0"); spPropertiesList1->Add(L"Font","Arial",EXPROPERTIESLISTLib::EditFontName,vtMissing,vtMissing); spPropertiesList1->Refresh();
116. How do I show or hide the bottom scroll bar in the drop down date picker calendar editor
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutOption(EXPROPERTIESLISTLib::exDateShowScroll,VARIANT_FALSE); spPropertiesList1->Add(L"Date","1/1/2001",EXPROPERTIESLISTLib::EditDate,vtMissing,vtMissing); spPropertiesList1->Refresh();
115. How do highlight the "Today" date is the drop down date picker calendar editor
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutOption(EXPROPERTIESLISTLib::exDateMarkToday,VARIANT_TRUE); spPropertiesList1->Add(L"Date","1/1/2001",EXPROPERTIESLISTLib::EditDate,vtMissing,vtMissing); spPropertiesList1->Refresh();
114. How do I show or hide the "Today" button is the drop down date picker calendar editor
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutOption(EXPROPERTIESLISTLib::exDateShowTodayButton,VARIANT_FALSE); spPropertiesList1->Add(L"Date","1/1/2001",EXPROPERTIESLISTLib::EditDate,vtMissing,vtMissing); spPropertiesList1->Refresh();
113. How to specify the first day of the week in the drop down date picker calendar editor
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutOption(EXPROPERTIESLISTLib::exDateFirstWeekDay,long(1)); spPropertiesList1->Add(L"Date","1/1/2001",EXPROPERTIESLISTLib::EditDate,vtMissing,vtMissing); spPropertiesList1->Refresh();
112. How to specifies the shortcut for the weekdays to be displayed in the drop down date picker calendar editor
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutOption(EXPROPERTIESLISTLib::exDateWeekDays,"Du Lu Ma Mi Jo Vi Si"); spPropertiesList1->Add(L"Date","1/1/2001",EXPROPERTIESLISTLib::EditDate,vtMissing,vtMissing); spPropertiesList1->Refresh();
111. How can I change the name of the months in the drop down date picker calendar editor
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutOption(EXPROPERTIESLISTLib::exDateMonths,"Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Décembre"); spPropertiesList1->Add(L"Date","1/1/2001",EXPROPERTIESLISTLib::EditDate,vtMissing,vtMissing); spPropertiesList1->Refresh();
110. Can I change the "Today" caption being displayed in the drop down date picker calendar editor
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutOption(EXPROPERTIESLISTLib::exDateTodayCaption,"Azi"); spPropertiesList1->Add(L"Date","1/1/2001",EXPROPERTIESLISTLib::EditDate,vtMissing,vtMissing); spPropertiesList1->Refresh();
109. How can I open the drop down editors, using a different than F4 key
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutEditOnSelect(VARIANT_FALSE); spPropertiesList1->PutEditOnKey(113); spPropertiesList1->Select(spPropertiesList1);
108. How do I display the color properties as RGB
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->PutDisplayColorAs(EXPROPERTIESLISTLib::exRGB); spPropertiesList1->Add(L"Red",long(255),EXPROPERTIESLISTLib::EditColor,vtMissing,vtMissing); spPropertiesList1->Add(L"Blue",long(16711680),EXPROPERTIESLISTLib::EditColor,vtMissing,vtMissing); spPropertiesList1->EndUpdate();
107. How do I get the list of properties being listed as a string
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->Select(spPropertiesList1); spPropertiesList1->Add(L" _ toString _ ",spPropertiesList1->GetToString(EXPROPERTIESLISTLib::exLiterals),EXPROPERTIESLISTLib::EditButton,vtMissing,vtMissing)->PutBold(VARIANT_TRUE); spPropertiesList1->Sort(VARIANT_TRUE,vtMissing);
106. How can I display a picture to a property
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutDefaultItemHeight(48); spPropertiesList1->PutHTMLPicture(L"pic1","c:\\exontrol\\images\\zipdisk.gif"); spPropertiesList1->PutHTMLPicture(L"pic2","c:\\exontrol\\images\\auction.gif"); spPropertiesList1->Add(L"Picture 1","link1",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing)->PutHTMLName(L"Pic <img>pic1</img> or <img>pic2</img>"); spPropertiesList1->Refresh();
105. How do I show or hide the properties with multiple parameters
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutShowMultipleParams(VARIANT_FALSE); spPropertiesList1->Select(spPropertiesList1);
104. How can I add a hyperlink or anchor element
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutBackColor(RGB(255,255,255)); spPropertiesList1->PutSelBackColor(spPropertiesList1->GetBackColor()); spPropertiesList1->PutSelForeColor(spPropertiesList1->GetForeColor()); spPropertiesList1->Add(L"Link 1","link1",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing)->PutHTMLName(L"Link <a1>one</s>"); spPropertiesList1->Refresh();
103. 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 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutSelBackColor(RGB(255,128,255)); spPropertiesList1->PutFormatAnchor(VARIANT_FALSE,L"<b><u><fgcolor=880000> </fgcolor></u></b>"); spPropertiesList1->Add(L"Link 1","link1",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing)->PutHTMLName(L"Link <a1>one</s>"); spPropertiesList1->Refresh();
102. 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 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutSelBackColor(RGB(255,128,255)); spPropertiesList1->PutFormatAnchor(VARIANT_TRUE,L"<b><u> </u></b>"); spPropertiesList1->Add(L"Link 1","link1",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing)->PutHTMLName(L"Link <a1>one</s>"); spPropertiesList1->Refresh();
101. How do I specify the indentation of the child items relative to their parents
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutAutoIndent(VARIANT_FALSE); spPropertiesList1->PutIndent(8); spPropertiesList1->Select(spPropertiesList1); spPropertiesList1->ExpandAll();
100. How do I specify the indentation of the child items relative to their parents
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutIndent(11); spPropertiesList1->Select(spPropertiesList1); spPropertiesList1->ExpandAll();
99. How do I get the a property based on its identifier
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->Add(L"Root","",EXPROPERTIESLISTLib::Label,vtMissing,vtMissing); spPropertiesList1->Add(L"Child 1",long(1),EXPROPERTIESLISTLib::Edit,long(0),"Root")->PutID(1234); spPropertiesList1->Add(L"Child 2",long(2),EXPROPERTIESLISTLib::Edit,long(0),"Root"); spPropertiesList1->PutExpandItem("Root",VARIANT_TRUE); spPropertiesList1->Add(L"Property",spPropertiesList1->GetProperty(long(1234))->GetName(),EXPROPERTIESLISTLib::Label,vtMissing,vtMissing); spPropertiesList1->EndUpdate();
98. How do I get the a property based on its index
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->Add(L"Root","",EXPROPERTIESLISTLib::Label,vtMissing,vtMissing); spPropertiesList1->Add(L"Child 1",long(1),EXPROPERTIESLISTLib::Edit,long(0),"Root"); spPropertiesList1->Add(L"Child 2",long(2),EXPROPERTIESLISTLib::Edit,long(0),"Root"); spPropertiesList1->PutExpandItem("Root",VARIANT_TRUE); spPropertiesList1->Add(L"Item",spPropertiesList1->GetItem(long(1))->GetName(),EXPROPERTIESLISTLib::Label,vtMissing,vtMissing); spPropertiesList1->EndUpdate();
97. How do I get the number or count of the properties being listed
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->Add(L"Root","",EXPROPERTIESLISTLib::Label,vtMissing,vtMissing); spPropertiesList1->Add(L"Child 1",long(1),EXPROPERTIESLISTLib::Edit,long(0),"Root"); spPropertiesList1->Add(L"Child 2",long(2),EXPROPERTIESLISTLib::Edit,long(0),"Root"); spPropertiesList1->PutExpandItem("Root",VARIANT_TRUE); spPropertiesList1->Add(L"Count",spPropertiesList1->GetCount(),EXPROPERTIESLISTLib::Label,vtMissing,vtMissing); spPropertiesList1->EndUpdate();
96. How do I change the name or the caption for a column
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutHeaderVisible(VARIANT_TRUE); spPropertiesList1->PutColumnCaption(long(0),L"Properties"); spPropertiesList1->Select(spPropertiesList1);
95. How do I expand a property
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->Add(L"Root","",EXPROPERTIESLISTLib::Label,vtMissing,vtMissing); spPropertiesList1->Add(L"Child 1",long(1),EXPROPERTIESLISTLib::Edit,long(0),"Root"); spPropertiesList1->Add(L"Child 2",long(2),EXPROPERTIESLISTLib::Edit,long(0),"Root"); spPropertiesList1->PutExpandItem("Root",VARIANT_TRUE); spPropertiesList1->EndUpdate();
94. How do I change the width for a column
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutColumnWidth(long(1),48); spPropertiesList1->Select(spPropertiesList1);
93. How do I clear or remove all properties
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->Add(L"First","A",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing); spPropertiesList1->Clear(); spPropertiesList1->Refresh();
92. How do I remove a property
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->Add(L"First","A",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing); spPropertiesList1->Remove("First"); spPropertiesList1->Refresh();
91. How do I add a property
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->Add(L"First Name","Mihai",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing); spPropertiesList1->Refresh();
90. How do I change the visual aspect description's spliter, using EBN
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spPropertiesList1->PutBackground(EXPROPERTIESLISTLib::exSplitDesc,0x1000000); spPropertiesList1->Select(spPropertiesList1);
89. How do I change the visual aspect for thumb parts in the scroll bars, using EBN
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spPropertiesList1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn"); spPropertiesList1->GetVisualAppearance()->Add(3,"c:\\exontrol\\images\\hot.ebn"); spPropertiesList1->PutBackground(EXPROPERTIESLISTLib::exHSThumb,0x1000000); spPropertiesList1->PutBackground(EXPROPERTIESLISTLib::exHSThumbP,0x2000000); spPropertiesList1->PutBackground(EXPROPERTIESLISTLib::exHSThumbH,0x3000000); spPropertiesList1->PutBackground(EXPROPERTIESLISTLib::exVSThumb,0x1000000); spPropertiesList1->PutBackground(EXPROPERTIESLISTLib::exVSThumbP,0x2000000); spPropertiesList1->PutBackground(EXPROPERTIESLISTLib::exVSThumbH,0x3000000); spPropertiesList1->Select(spPropertiesList1);
88. I've seen that you can change the visual appearance for the scroll bar. How can I do that
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spPropertiesList1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn"); spPropertiesList1->GetVisualAppearance()->Add(3,"c:\\exontrol\\images\\hot.ebn"); spPropertiesList1->PutBackground(EXPROPERTIESLISTLib::exSBtn,0x1000000); spPropertiesList1->PutBackground(EXPROPERTIESLISTLib::exSBtnP,0x2000000); spPropertiesList1->PutBackground(EXPROPERTIESLISTLib::exSBtnH,0x3000000); spPropertiesList1->PutBackground(EXPROPERTIESLISTLib::exHSBack,RGB(240,240,240)); spPropertiesList1->PutBackground(EXPROPERTIESLISTLib::exVSBack,RGB(240,240,240)); spPropertiesList1->PutBackground(EXPROPERTIESLISTLib::exScrollSizeGrip,RGB(240,240,240)); spPropertiesList1->PutHeaderVisible(VARIANT_TRUE); spPropertiesList1->PutColumnAutoResize(VARIANT_FALSE); spPropertiesList1->Select(spPropertiesList1);
87. Can I change the forecolor for the tooltip
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutToolTipDelay(1); spPropertiesList1->PutToolTipWidth(364); spPropertiesList1->PutBackground(EXPROPERTIESLISTLib::exToolTipForeColor,RGB(255,0,0)); spPropertiesList1->PutAllowTooltip(VARIANT_TRUE); spPropertiesList1->Select(spPropertiesList1);
86. Can I change the background color for the tooltip
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutToolTipDelay(1); spPropertiesList1->PutToolTipWidth(364); spPropertiesList1->PutBackground(EXPROPERTIESLISTLib::exToolTipBackColor,RGB(255,0,0)); spPropertiesList1->Select(spPropertiesList1); spPropertiesList1->PutAllowTooltip(VARIANT_TRUE);
85. 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 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutToolTipDelay(1); spPropertiesList1->PutToolTipWidth(364); spPropertiesList1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spPropertiesList1->PutBackground(EXPROPERTIESLISTLib::exToolTipAppearance,0x1000000); spPropertiesList1->Select(spPropertiesList1); spPropertiesList1->PutAllowTooltip(VARIANT_TRUE);
84. Is there any option to highligth the column from the cursor - point
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spPropertiesList1->PutBackground(EXPROPERTIESLISTLib::exCursorHoverColumn,0x1000000); spPropertiesList1->PutHeaderVisible(VARIANT_TRUE);
83. How can change the visual appearance for the spin control, using your EBN files
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spPropertiesList1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn"); spPropertiesList1->PutBackground(EXPROPERTIESLISTLib::exSpinUpButtonUp,0x1000000); spPropertiesList1->PutBackground(EXPROPERTIESLISTLib::exSpinUpButtonDown,0x2000000); spPropertiesList1->PutBackground(EXPROPERTIESLISTLib::exSpinDownButtonUp,0x1000000); spPropertiesList1->PutBackground(EXPROPERTIESLISTLib::exSpinDownButtonDown,0x2000000); spPropertiesList1->PutAllowSpin(VARIANT_TRUE); spPropertiesList1->Add(L"Spin",long(50),EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing); spPropertiesList1->Refresh();
82. How can change the visual appearance for the slider or track bar, using your EBN files
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spPropertiesList1->PutBackground(EXPROPERTIESLISTLib::exSliderThumb,0x1000000); spPropertiesList1->PutBackground(EXPROPERTIESLISTLib::exSliderRange,RGB(210,210,210)); spPropertiesList1->Add(L"Slider",long(50),EXPROPERTIESLISTLib::EditSlider,vtMissing,vtMissing); spPropertiesList1->Refresh();
81. How do I change the visual aspect of the drop down calendar window, that shows up if I click the drop down filter button, using EBN
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spPropertiesList1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn"); spPropertiesList1->PutBackground(EXPROPERTIESLISTLib::exDateHeader,0x1000000); spPropertiesList1->PutBackground(EXPROPERTIESLISTLib::exDateTodayUp,0x1000000); spPropertiesList1->PutBackground(EXPROPERTIESLISTLib::exDateTodayDown,0x2000000); spPropertiesList1->PutBackground(EXPROPERTIESLISTLib::exDateScrollThumb,0x1000000); spPropertiesList1->PutBackground(EXPROPERTIESLISTLib::exDateScrollRange,RGB(230,230,230)); spPropertiesList1->PutBackground(EXPROPERTIESLISTLib::exDateSeparatorBar,RGB(230,230,230)); spPropertiesList1->PutBackground(EXPROPERTIESLISTLib::exDateSelect,0x1000000); spPropertiesList1->Add(L"Date","1/1/2001",EXPROPERTIESLISTLib::EditDate,vtMissing,vtMissing); spPropertiesList1->Refresh();
80. How can change the visual appearance for the button that are visible inside the editors, using your EBN files
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spPropertiesList1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn"); spPropertiesList1->PutBackground(EXPROPERTIESLISTLib::exDropDownButtonUp | EXPROPERTIESLISTLib::exDropDownButtonDown | EXPROPERTIESLISTLib::exButtonDown,0x1000000); spPropertiesList1->PutBackground(EXPROPERTIESLISTLib::exDropDownButtonDown | EXPROPERTIESLISTLib::exButtonDown,0x2000000); spPropertiesList1->Select(spPropertiesList1);
79. How can change the visual appearance for the button that shows the drop down editors, using your EBN files
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spPropertiesList1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn"); spPropertiesList1->PutBackground(EXPROPERTIESLISTLib::exButtonDown,0x1000000); spPropertiesList1->PutBackground(EXPROPERTIESLISTLib::exDropDownButtonUp | EXPROPERTIESLISTLib::exButtonDown,0x2000000); spPropertiesList1->Select(spPropertiesList1);
78. Can I change the order of the buttons in the scroll bar
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutScrollOrderParts(EXPROPERTIESLISTLib::exHScroll,L"t,l,r"); spPropertiesList1->PutScrollOrderParts(EXPROPERTIESLISTLib::exVScroll,L"t,l,r"); spPropertiesList1->Select(spPropertiesList1);
77. The thumb size seems to be very small. Can I make it bigger
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutScrollThumbSize(EXPROPERTIESLISTLib::exVScroll,128); spPropertiesList1->Select(spPropertiesList1);
76. How do I enlarge or change the size of the control's scrollbars
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutScrollHeight(18); spPropertiesList1->PutScrollWidth(18); spPropertiesList1->PutScrollButtonWidth(18); spPropertiesList1->PutScrollButtonHeight(18); spPropertiesList1->Select(spPropertiesList1);
75. How can I display my text on the scroll bar, using a different font
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutScrollPartCaption(EXPROPERTIESLISTLib::exVScroll,EXPROPERTIESLISTLib::exThumbPart,L"This is just a text"); spPropertiesList1->GetScrollFont(EXPROPERTIESLISTLib::exVScroll)->PutSize(_variant_t(long(12))); spPropertiesList1->Select(spPropertiesList1);
74. How can I display my text on the scroll bar
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutScrollPartCaption(EXPROPERTIESLISTLib::exVScroll,EXPROPERTIESLISTLib::exThumbPart,L"this is just a text"); spPropertiesList1->Select(spPropertiesList1);
73. How do I assign a tooltip to a scrollbar
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutScrollToolTip(EXPROPERTIESLISTLib::exVScroll,L"This is a tooltip being shown when you click and drag the thumb in the vertical scroll bar"); spPropertiesList1->Select(spPropertiesList1);
72. How do I assign an icon to the button in the scrollbar
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spPropertiesList1->PutScrollPartVisible(EXPROPERTIESLISTLib::exVScroll,EXPROPERTIESLISTLib::exLeftB1Part,VARIANT_TRUE); spPropertiesList1->PutScrollPartCaption(EXPROPERTIESLISTLib::exVScroll,EXPROPERTIESLISTLib::exLeftB1Part,L"<img>1</img>"); spPropertiesList1->PutScrollHeight(18); spPropertiesList1->PutScrollButtonWidth(18); spPropertiesList1->Select(spPropertiesList1);
71. I need to add a button in the scroll bar. Is this possible
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutScrollPartVisible(EXPROPERTIESLISTLib::exVScroll,EXPROPERTIESLISTLib::exLeftB1Part,VARIANT_TRUE); spPropertiesList1->PutScrollPartCaption(EXPROPERTIESLISTLib::exVScroll,EXPROPERTIESLISTLib::exLeftB1Part,L"1"); spPropertiesList1->Select(spPropertiesList1);
70. Can I display an additional buttons in the scroll bar
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutScrollPartVisible(EXPROPERTIESLISTLib::exVScroll,EXPROPERTIESLISTLib::exLeftB1Part,VARIANT_TRUE); spPropertiesList1->PutScrollPartVisible(EXPROPERTIESLISTLib::exVScroll,EXPROPERTIESLISTLib::exLeftB2Part,VARIANT_TRUE); spPropertiesList1->PutScrollPartVisible(EXPROPERTIESLISTLib::exVScroll,EXPROPERTIESLISTLib::exRightB6Part,VARIANT_TRUE); spPropertiesList1->PutScrollPartVisible(EXPROPERTIESLISTLib::exVScroll,EXPROPERTIESLISTLib::exRightB5Part,VARIANT_TRUE); spPropertiesList1->Select(spPropertiesList1);
69. Can I change the font for the tooltip
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->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 = spPropertiesList1->GetToolTipFont(); var_StdFont->PutName(L"Tahoma"); var_StdFont->PutSize(_variant_t(long(14))); spPropertiesList1->PutAllowTooltip(VARIANT_TRUE); spPropertiesList1->Select(spPropertiesList1);
68. How do I call your x-script language
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library'
#import <ExPropertiesList.dll>
using namespace EXPROPERTIESLISTLib;
*/
EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown();
EXPROPERTIESLISTLib::IPropertyPtr var_Property = ((EXPROPERTIESLISTLib::IPropertyPtr)(spPropertiesList1->ExecuteTemplate(L"Add(`Bold`,1,1)")));
var_Property->PutBold(VARIANT_TRUE);
67. How do I disable sorting the columns when clicking the control's header
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutSortOnClick(EXPROPERTIESLISTLib::exNoSort); spPropertiesList1->PutHeaderVisible(VARIANT_TRUE); spPropertiesList1->Select(spPropertiesList1);
66. Can I use your EBN files to change the visual appearance for +/- expand - collapse buttons
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spPropertiesList1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn"); spPropertiesList1->PutHasButtons(EXPROPERTIESLISTLib::exCustom); spPropertiesList1->PutHasButtonsCustom(VARIANT_FALSE,16777216); spPropertiesList1->PutHasButtonsCustom(VARIANT_TRUE,33554432); spPropertiesList1->Select(spPropertiesList1);
65. Can I use my own icons for the +/- ( expand/collapse ) buttons
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spPropertiesList1->PutHasButtons(EXPROPERTIESLISTLib::exCustom); spPropertiesList1->PutHasButtonsCustom(VARIANT_FALSE,1); spPropertiesList1->PutHasButtonsCustom(VARIANT_TRUE,2); spPropertiesList1->Select(spPropertiesList1);
64. How do I change visual appearance of the +/- ( expand/collapse ) buttons
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutHasButtons(EXPROPERTIESLISTLib::exWPlus); spPropertiesList1->Select(spPropertiesList1);
63. How do I browse or select for a com or net object
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library'
#import <ExPropertiesList.dll>
using namespace EXPROPERTIESLISTLib;
*/
EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown();
spPropertiesList1->PutSelectedObject(((EXPROPERTIESLISTLib::IPropertiesListPtr)(spPropertiesList1)));
62. How do I expand all properties
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->Select(spPropertiesList1); spPropertiesList1->ExpandAll();
61. How do I enable resizing the columns at runtime
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutColumnsAllowSizing(VARIANT_TRUE); spPropertiesList1->Select(spPropertiesList1);
60. How do I call your x-script language
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library'
#import <ExPropertiesList.dll>
using namespace EXPROPERTIESLISTLib;
*/
EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown();
spPropertiesList1->PutTemplate(L"Add(`First`,1,1)");
59. How can I enable or disable the control
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutEnabled(VARIANT_FALSE); spPropertiesList1->Select(spPropertiesList1);
58. 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 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutToolTipWidth(328); spPropertiesList1->PutAllowTooltip(VARIANT_TRUE); spPropertiesList1->Select(spPropertiesList1);
57. 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 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutToolTipDelay(0); spPropertiesList1->PutAllowTooltip(VARIANT_TRUE); spPropertiesList1->Select(spPropertiesList1);
56. How do I let the tooltip being displayed longer
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutToolTipPopDelay(10000); spPropertiesList1->PutAllowTooltip(VARIANT_TRUE); spPropertiesList1->Select(spPropertiesList1);
55. How do I show the tooltip quicker
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutToolTipDelay(1); spPropertiesList1->PutAllowTooltip(VARIANT_TRUE); spPropertiesList1->Select(spPropertiesList1);
54. How do I get the handle of the control's window
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library'
#import <ExPropertiesList.dll>
using namespace EXPROPERTIESLISTLib;
*/
EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown();
long var_hWnd = spPropertiesList1->GethWnd();
53. How do I show alternate rows in different background color
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutBackColorAlternate(RGB(240,240,240)); spPropertiesList1->Select(spPropertiesList1);
52. How do enable or disable tooltips
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutAllowTooltip(VARIANT_TRUE); spPropertiesList1->Select(spPropertiesList1);
51. How do change the foreground color for the control's header bar, using EBN
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library'
#import <ExPropertiesList.dll>
using namespace EXPROPERTIESLISTLib;
*/
EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown();
spPropertiesList1->PutHeaderVisible(VARIANT_TRUE);
spPropertiesList1->PutForeColorHeader(RGB(255,0,0));
50. How do change the visual appearance for the control's header bar, using EBN
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutHeaderVisible(VARIANT_TRUE); spPropertiesList1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spPropertiesList1->PutBackColorHeader(0x1000000);
49. How do I change the foreground color for the description part in the bottom side of the control
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutForeColorDescription(RGB(255,0,0)); spPropertiesList1->Select(spPropertiesList1);
48. How do I change the visual appearance for the description part in the bottom side of the control, using your EBN files
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spPropertiesList1->PutBackColorDescription(0x1000000);
47. How do I change the background color for the description part in the bottom side of the control
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library'
#import <ExPropertiesList.dll>
using namespace EXPROPERTIESLISTLib;
*/
EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown();
spPropertiesList1->PutBackColorDescription(RGB(255,0,0));
46. Is there any option to specify the height of the items, before adding them
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutDefaultItemHeight(13); spPropertiesList1->Select(spPropertiesList1);
45. How do I show or hide the connection between categories
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutMarkCategories(VARIANT_TRUE); spPropertiesList1->PutLinkCategories(VARIANT_FALSE); spPropertiesList1->PutShowCategories(VARIANT_TRUE); spPropertiesList1->PutShowPropertyPages(VARIANT_FALSE); spPropertiesList1->Select(spPropertiesList1);
44. How do I show or hide the categories
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutMarkCategories(VARIANT_TRUE); spPropertiesList1->PutMarkLineColor(RGB(255,0,0)); spPropertiesList1->PutShowCategories(VARIANT_TRUE); spPropertiesList1->PutShowPropertyPages(VARIANT_FALSE); spPropertiesList1->Select(spPropertiesList1);
43. How do I change the foreground color for categories
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutForeColorCategories(RGB(255,0,0)); spPropertiesList1->PutShowCategories(VARIANT_TRUE); spPropertiesList1->PutShowPropertyPages(VARIANT_FALSE); spPropertiesList1->Select(spPropertiesList1);
42. How do I change the background color for categories
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutBackColorCategories(RGB(255,0,0)); spPropertiesList1->PutShowCategories(VARIANT_TRUE); spPropertiesList1->PutShowPropertyPages(VARIANT_FALSE); spPropertiesList1->Select(spPropertiesList1);
41. How do I sort the control
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->Select(spPropertiesList1); spPropertiesList1->Sort(VARIANT_FALSE,vtMissing);
40. Is there any option to change the color for the grid lines
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutHasGridLines(EXPROPERTIESLISTLib::exAllLines); spPropertiesList1->PutGridLineColor(RGB(255,0,0)); spPropertiesList1->Select(spPropertiesList1);
39. How do I specify the default category
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutDefaultCategory(L"Font"); spPropertiesList1->PutShowCategories(VARIANT_TRUE); spPropertiesList1->PutShowPropertyPages(VARIANT_FALSE); spPropertiesList1->Select(spPropertiesList1);
38. How do I show or hide the categories
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutMarkCategories(VARIANT_FALSE); spPropertiesList1->PutShowCategories(VARIANT_TRUE); spPropertiesList1->PutShowPropertyPages(VARIANT_FALSE); spPropertiesList1->Select(spPropertiesList1);
37. How do I get a property based on its name
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->Add(L"First Name","Mihai",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing)->PutID(100); spPropertiesList1->Add(L"Last Name","Filimon",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing); spPropertiesList1->PutSelectedProperty(((EXPROPERTIESLISTLib::IPropertyPtr)(spPropertiesList1->GetProperty(long(100))))); spPropertiesList1->Refresh();
36. How do I get a property based on its name
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->Add(L"First Name","Mihai",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing); spPropertiesList1->Add(L"Last Name","Filimon",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing); spPropertiesList1->PutSelectedProperty(((EXPROPERTIESLISTLib::IPropertyPtr)(spPropertiesList1->GetProperty("Last Name")))); spPropertiesList1->Refresh();
35. How do I maintain performance while making several changes
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->BeginUpdate(); spPropertiesList1->Add(L"First",long(1),EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing); spPropertiesList1->Add(L"Second",long(1),EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing); spPropertiesList1->EndUpdate();
34. How can I get a list of interfaces that an object implements
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library'
#import <ExPropertiesList.dll>
using namespace EXPROPERTIESLISTLib;
*/
EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown();
OutputDebugStringW( spPropertiesList1->GetInterfaces(spPropertiesList1) );
33. How can I display something else when including the elements of a collection
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutShowObjects(VARIANT_TRUE); spPropertiesList1->PutShowItemsCollection(VARIANT_TRUE); spPropertiesList1->PutNameItemsCollection(L"Name;Caption;Item;Index"); spPropertiesList1->Select(spPropertiesList1);
32. How can I include the elements of a collection
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutShowObjects(VARIANT_TRUE); spPropertiesList1->PutShowItemsCollection(VARIANT_TRUE); spPropertiesList1->Select(spPropertiesList1);
31. How can I use a spin control to edit numeric values
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutAllowSpin(VARIANT_TRUE); spPropertiesList1->Select(spPropertiesList1);
30. How can I change the control's font
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->GetFont()->PutName(L"Tahoma"); spPropertiesList1->Select(spPropertiesList1);
29. How do I show or hide the variables of an object like Font
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutShowVariables(VARIANT_TRUE); spPropertiesList1->Select(spPropertiesList1->GetFont());
28. How do I show or hide the categories
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutShowCategories(VARIANT_TRUE); spPropertiesList1->PutShowPropertyPages(VARIANT_FALSE); spPropertiesList1->Select(spPropertiesList1);
27. How do I refresh the control
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->Add(L"Last Name","Filimon",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing); spPropertiesList1->Refresh();
26. How can still display the selected items when the control loses the focus
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutHideSelection(VARIANT_FALSE); spPropertiesList1->Add(L"First Name","Mihai",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing); spPropertiesList1->Add(L"Last Name","Filimon",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing); spPropertiesList1->PutSelectedProperty(((EXPROPERTIESLISTLib::IPropertyPtr)(spPropertiesList1->GetProperty("Last Name")))); spPropertiesList1->Refresh();
25. How do I change the visual appearance effect for the selected item, using EBN
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spPropertiesList1->PutSelBackColor(0x1000000); spPropertiesList1->PutSelForeColor(RGB(0,0,0)); spPropertiesList1->Add(L"First Name","Mihai",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing); spPropertiesList1->Add(L"Last Name","Filimon",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing); spPropertiesList1->PutSelectedProperty(((EXPROPERTIESLISTLib::IPropertyPtr)(spPropertiesList1->GetProperty("Last Name")))); spPropertiesList1->Refresh();
24. How do I change the colors for the selected item
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutSelBackColor(RGB(0,0,0)); spPropertiesList1->Add(L"First Name","Mihai",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing); spPropertiesList1->Add(L"Last Name","Filimon",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing); spPropertiesList1->PutSelectedProperty(((EXPROPERTIESLISTLib::IPropertyPtr)(spPropertiesList1->GetProperty("Last Name")))); spPropertiesList1->Refresh();
23. How do I show or hide the non browseable members
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutShowNonBrowsable(VARIANT_TRUE); spPropertiesList1->Select(spPropertiesList1);
22. How can I hide or show the object's property pages
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutShowPropertyPages(VARIANT_FALSE); spPropertiesList1->Select(spPropertiesList1);
21. How do I filter properties when loading
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library'
#import <ExPropertiesList.dll>
using namespace EXPROPERTIESLISTLib;
*/
EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown();
spPropertiesList1->PutFireIncludeProperty(VARIANT_TRUE);
20. How do I get or set the selected property
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->Add(L"First Name","Mihai",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing); spPropertiesList1->Add(L"Last Name","Filimon",EXPROPERTIESLISTLib::Edit,vtMissing,vtMissing); spPropertiesList1->PutSelectedProperty(((EXPROPERTIESLISTLib::IPropertyPtr)(spPropertiesList1->GetProperty("Last Name")))); spPropertiesList1->Refresh();
19. How do I remove "Invalid property value." message
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutInvalidValueMessage(L""); spPropertiesList1->Select(spPropertiesList1);
18. How do I change the "Invalid property value." message
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutInvalidValueMessage(L"new message"); spPropertiesList1->Select(spPropertiesList1);
17. How do I edit a property as soon as the user selects it
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutEditOnSelect(VARIANT_TRUE); spPropertiesList1->Select(spPropertiesList1);
16. How do I make the control read only
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutReadOnly(VARIANT_TRUE); spPropertiesList1->Select(spPropertiesList1);
15. How do I show or hide the read only members
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutShowReadOnly(VARIANT_FALSE); spPropertiesList1->Select(spPropertiesList1);
14. How do I show or hide the grid lines
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutHasGridLines(EXPROPERTIESLISTLib::exNoLines); spPropertiesList1->Select(spPropertiesList1);
13. How do I hide the hierarchy lines
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutHasLines(VARIANT_FALSE); spPropertiesList1->Select(spPropertiesList1);
12. How can I add the horizontal scroll bar
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutColumnAutoResize(VARIANT_FALSE); spPropertiesList1->PutHeaderVisible(VARIANT_TRUE); spPropertiesList1->Select(spPropertiesList1);
11. How do I show or hide the control's header bar
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutHeaderVisible(VARIANT_TRUE); spPropertiesList1->Select(spPropertiesList1);
10. How do I show or hide the objects members
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutShowObjects(VARIANT_FALSE); spPropertiesList1->Select(spPropertiesList1);
9. How do I show or hide the restricted members
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutShowRestricted(VARIANT_FALSE); spPropertiesList1->Select(spPropertiesList1);
8. How do I show or hide the hidden members
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutShowHidden(VARIANT_FALSE); spPropertiesList1->Select(spPropertiesList1);
7. How do I browse or select an object
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library'
#import <ExPropertiesList.dll>
using namespace EXPROPERTIESLISTLib;
*/
EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown();
spPropertiesList1->Select(spPropertiesList1);
6. How do I change the control's foreground color
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->PutForeColor(RGB(120,0,120)); spPropertiesList1->Select(spPropertiesList1);
5. How do I change the control's background color
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library'
#import <ExPropertiesList.dll>
using namespace EXPROPERTIESLISTLib;
*/
EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown();
spPropertiesList1->PutBackColor(RGB(200,200,200));
4. How do change the visual appearance for the control's border, using EBN
/* Copy and paste the following directives to your header file as it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library' #import <ExPropertiesList.dll> using namespace EXPROPERTIESLISTLib; */ EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown(); spPropertiesList1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spPropertiesList1->PutBorderStyle(EXPROPERTIESLISTLib::BorderStyleEnum(0x1000000)); spPropertiesList1->PutBackColor(RGB(255,255,255));
3. How do I remove the control's border
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library'
#import <ExPropertiesList.dll>
using namespace EXPROPERTIESLISTLib;
*/
EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown();
spPropertiesList1->PutBorderStyle(EXPROPERTIESLISTLib::None);
2. How do I change the height of the description part in the bottom side of the control
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library'
#import <ExPropertiesList.dll>
using namespace EXPROPERTIESLISTLib;
*/
EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown();
spPropertiesList1->PutDescriptionHeight(100);
1. How do I hide or show the description part in the bottom side of the control
/*
Copy and paste the following directives to your header file as
it defines the namespace 'EXPROPERTIESLISTLib' for the library: 'ExPropertiesList 1.0 Control Library'
#import <ExPropertiesList.dll>
using namespace EXPROPERTIESLISTLib;
*/
EXPROPERTIESLISTLib::IPropertiesListPtr spPropertiesList1 = GetDlgItem(IDC_PROPERTIESLIST1)->GetControlUnknown();
spPropertiesList1->PutDescriptionVisible(VARIANT_FALSE);