100 |
ImageSize property on 32 (specifies the size of control' icons/images/check-boxes/radio-buttons)
|
99 |
ImageSize property on 16 (default) (specifies the size of control' icons)
|
98 |
I am trying to replicate the green slider image example you have in the helpfile under the "property Slider.ShowThumbProgress as Boolean" help topic
// Change event - Occurs when the value of the control is changed. void OnChangeSlider1() { /* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->PutCaption(EXSLIDERLib::exThumbPart,_bstr_t(spSlider1->GetValue())); } EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->BeginUpdate(); spSlider1->GetVisualAppearance()->Add(1,_bstr_t("gBFLBCJwBAEHhEJAAChABbEGACAADACAxRDAMgBQKAAzQFAYaBgGKGAAGIZRVgmFgAQhFcZQSKUOQTDKMIziaQAChwOYlQKMYxRCKYZhpCIZBwGCIYWiiIYiQKCUIiD") + "BMIxseCgAAfSg5YiACIJFAaJhnIapZDKGKQCqASAyCI2UoaDZCIoQTLUBx5AaEAwicQKTjiIiQOgjdoWU46HIhNq3bauCybRoOdj8QKdbhHMbFdz0Oq/cBvbAzVbvBqH" + "QKXLalVhWGYXRrIMbyIqnZxXFoDEQ1ZBZTjeNY5T7PNBIJ5tEyWKTTC4MeoaVpOV5dVrYHj2LY4DCtUgrbYJe47Xq+eZ1W6gOBeDZddZLP7HbZuHDbYJfBSCADkd65To" + "XAOHZEmUcg5HwXpPDeLZQm2dQ7ByTh3A+P5im0b58n6HwnF+KZpnCew8l6boPiOE5xnodh9n8XovAuW57H6HZHl2YB+l6J5Zl4fgeBeQgHgCXZICmfR8h+eAhlodxgng" + "SgNgEIAoBYE4DhwF55nmBYgGgVgMHSYYIC4GoAB4OIZnOCJfkgdgQgeYpIFILoICGOIWA8DgNFCVg4g6I4Ym4PoPGQAJUnGEJkEQDBQDaBJJBwToSiSQxqEuEgklEOJ0" + "hSZVEGcN5GGkXhZhYJYpHYXIXkYZoViYAAHmOEB8hkR5BnSYwemaCY2GaG4HkYWYXAACRjiSFYdEkUhUmkJQngmdh2h+CRVl0RAAAqQ40iuIRoHoGoIiKaIqWwIIXoWA" + "SAg=="); spSlider1->PutShowThumbProgress(VARIANT_TRUE); spSlider1->PutVisiblePart(EXSLIDERLib::exBackgroundPart,VARIANT_FALSE); spSlider1->PutTickStyle(EXSLIDERLib::exNoTicks); spSlider1->PutValue(3); spSlider1->PutBackground(EXSLIDERLib::exVSThumb,0x1000000); spSlider1->EndUpdate(); |
97 |
How can I change the position of the control's tooltip
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->PutToolTipTitle(L"Title"); spSlider1->PutToolTipText(L"This is just a text that's displayed when the user clicks and drags the thumb to a new position"); spSlider1->PutToolTipX(L"value + 18"); spSlider1->PutToolTipY(L"value + 18"); |
96 |
How can I display the value in reverse order or from bottom to top
|
95 |
How can I display the value in reverse order or from right to left
|
94 |
I need only to change the knob of the slider with a picture. Is it possible
|
93 |
Is it possible to print the control's Value on the thumb
// Change event - Occurs when the value of the control is changed. void OnChangeSlider1() { /* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->PutCaption(EXSLIDERLib::exThumbPart,_bstr_t(spSlider1->GetValue())); } EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->PutTickStyle(EXSLIDERLib::exBoth); spSlider1->PutThumbSize(48); spSlider1->PutTickFrequency(0); spSlider1->PutValue(5); |
92 |
How can I display the value on the thumb
|
91 |
How can I display a different text than the slider's value
|
90 |
How can I show values for selec range only
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->PutSelectRange(VARIANT_TRUE); spSlider1->PutSelStart(1); spSlider1->PutSelLength(2); spSlider1->PutLabelTick(L"value=current ? '<b><font ;10>' + value : ( value>=smin and value<=smax ? '<fgcolor=0000FF>' + value : '' ) "); |
89 |
Is it possible to display min max value
|
88 |
How can I show the value for current value only
|
87 |
Is it possible to show the value using the tooltip
|
86 |
Is it possible to show labels for ticks
|
85 |
How can I change the tooltip's border using your EBN files with a different color
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spSlider1->PutBackground(EXSLIDERLib::exToolTipAppearance,0x100ffa0); spSlider1->PutToolTipText(L"This is just a text that's displayed when the user clicks and drags the thumb to a new position"); spSlider1->PutValue(43); |
84 |
Can I change the color for the control's border
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spSlider1->PutAppearance(EXSLIDERLib::AppearanceEnum(0x10000f8 | EXSLIDERLib::Bump | EXSLIDERLib::Sunken)); |
83 |
How can I display a character from a specified font ( for vertical alignment )
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->PutThumbSize(96); spSlider1->PutCaption(EXSLIDERLib::exThumbPart,L"<img>-1</img><font Webdings;10>a</font>"); spSlider1->PutOrientation(EXSLIDERLib::exVertical); |
82 |
How can I display a character from a specified font
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->PutThumbSize(96); spSlider1->PutCaption(EXSLIDERLib::exThumbPart,L"<font Webdings;10>a</font>"); |
81 |
When I have a slider in vertical orientation, how can I get the caption horizontal
|
80 |
Does your control support floating points
|
79 |
How do I change the control's border, using your EBN files
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spSlider1->PutAppearance(EXSLIDERLib::AppearanceEnum(0x1000000)); |
78 |
How can I change the color of the selected range in the control
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->PutOrientation(EXSLIDERLib::exVertical); spSlider1->PutSelectRange(VARIANT_TRUE); spSlider1->PutSelStart(2); spSlider1->PutSelLength(2); spSlider1->PutValue(1); spSlider1->PutBackground(EXSLIDERLib::exVSSel,RGB(255,0,0)); |
77 |
How can I change the color of the selection in the control
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->PutSelectRange(VARIANT_TRUE); spSlider1->PutSelStart(2); spSlider1->PutSelLength(2); spSlider1->PutValue(1); spSlider1->PutBackground(EXSLIDERLib::exHSSel,RGB(255,0,0)); |
76 |
How can I change the visual appearance of the selected range in the control
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->PutOrientation(EXSLIDERLib::exVertical); spSlider1->PutSelectRange(VARIANT_TRUE); spSlider1->PutSelStart(2); spSlider1->PutSelLength(2); spSlider1->PutValue(1); spSlider1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spSlider1->PutBackground(EXSLIDERLib::exVSSel,0x1000000); spSlider1->PutCaption(EXSLIDERLib::exSelPart,L"selection"); |
75 |
How can I change the visual appearance of the selection in the control
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->PutSelectRange(VARIANT_TRUE); spSlider1->PutSelStart(2); spSlider1->PutSelLength(2); spSlider1->PutValue(1); spSlider1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spSlider1->PutBackground(EXSLIDERLib::exHSSel,0x1000000); spSlider1->PutCaption(EXSLIDERLib::exSelPart,L"selection"); |
74 |
Is there any option to select a range in the control, or to highlight my selection
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->PutSelectRange(VARIANT_TRUE); spSlider1->PutSelStart(2); spSlider1->PutSelLength(2); spSlider1->PutValue(1); |
73 |
How can I specify the upper and lower parts using gradient colors
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->PutValue(3); spSlider1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spSlider1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn"); spSlider1->PutBackground(EXSLIDERLib::exHSLower,0x1000000); spSlider1->PutBackground(EXSLIDERLib::exHSUpper,0x2000000); |
72 |
How can I specify the upper and lower parts using gradient colors
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->PutOrientation(EXSLIDERLib::exVertical); spSlider1->PutValue(3); spSlider1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spSlider1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn"); spSlider1->PutBackground(EXSLIDERLib::exVSLower,0x1000000); spSlider1->PutBackground(EXSLIDERLib::exVSUpper,0x2000000); |
71 |
How can I change the color of the progress bar
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->PutShowThumbProgress(VARIANT_TRUE); spSlider1->PutVisiblePart(EXSLIDERLib::exBackgroundPart,VARIANT_FALSE); spSlider1->PutTickStyle(EXSLIDERLib::exNoTicks); spSlider1->PutValue(3); spSlider1->PutBackground(EXSLIDERLib::exVSThumb,RGB(255,0,0)); |
70 |
How can I change the visual appearance of the progress bar using your EBN files
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->PutShowThumbProgress(VARIANT_TRUE); spSlider1->PutVisiblePart(EXSLIDERLib::exBackgroundPart,VARIANT_FALSE); spSlider1->PutTickStyle(EXSLIDERLib::exNoTicks); spSlider1->PutValue(3); spSlider1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spSlider1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn"); spSlider1->GetVisualAppearance()->Add(3,"c:\\exontrol\\images\\hot.ebn"); spSlider1->PutBackground(EXSLIDERLib::exVSThumb,0x1000000); spSlider1->PutBackground(EXSLIDERLib::exVSThumbP,0x2000000); spSlider1->PutBackground(EXSLIDERLib::exVSThumbD,0x1000000); spSlider1->PutBackground(EXSLIDERLib::exVSThumbH,0x3000000); |
69 |
How can I show a progress bar
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->PutShowThumbProgress(VARIANT_TRUE); spSlider1->PutVisiblePart(EXSLIDERLib::exBackgroundPart,VARIANT_FALSE); spSlider1->PutTickStyle(EXSLIDERLib::exNoTicks); spSlider1->PutValue(3); |
68 |
May I change the color of the ticks
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->PutTickColor(RGB(255,0,0)); |
67 |
How do I specify the frequency of the ticks on the control
|
66 |
How can I show the tickers on bottom/right side only
|
65 |
How can I show the tickers on top/left side only
|
64 |
How can I show the tickers on both sides
|
63 |
How can I hide the tickers
|
62 |
Is there any function to show the tooltip
|
61 |
Is there any function to highligth the control when it gets the focus
|
60 |
I am using your control in a C++ application, and I would preffer handle messages instead events
|
59 |
How can I change the visual appearance of the thumb usign your EBN files
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->PutOrientation(EXSLIDERLib::exVertical); spSlider1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spSlider1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn"); spSlider1->GetVisualAppearance()->Add(3,"c:\\exontrol\\images\\hot.ebn"); spSlider1->PutBackground(EXSLIDERLib::exVSThumb,0x1000000); spSlider1->PutBackground(EXSLIDERLib::exVSThumbP,0x2000000); spSlider1->PutBackground(EXSLIDERLib::exVSThumbD,0x1000000); spSlider1->PutBackground(EXSLIDERLib::exVSThumbH,0x3000000); |
58 |
How can I change the visual appearance of the thumb usign your EBN files
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spSlider1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn"); spSlider1->GetVisualAppearance()->Add(3,"c:\\exontrol\\images\\hot.ebn"); spSlider1->PutBackground(EXSLIDERLib::exVSThumb,0x1000000); spSlider1->PutBackground(EXSLIDERLib::exVSThumbP,0x2000000); spSlider1->PutBackground(EXSLIDERLib::exVSThumbD,0x1000000); spSlider1->PutBackground(EXSLIDERLib::exVSThumbH,0x3000000); |
57 |
Can I indent the caption in parts of the control
|
56 |
Does your control support owner draw feature
|
55 |
Can I assing any extra data to a button or part of the control
|
54 |
How can I specify the size of the thumb
|
53 |
Can I change the tooltip's border using your EBN files
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spSlider1->PutBackground(EXSLIDERLib::exToolTipAppearance,0x1000000); spSlider1->PutToolTipText(L"This is just a text that's displayed when the user clicks and drags the thumb to a new position"); spSlider1->PutValue(4); |
52 |
Can I change the tooltip's background color
|
51 |
Can I change the tooltip's background color
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->PutBackground(EXSLIDERLib::exToolTipBackColor,RGB(255,0,0)); spSlider1->PutToolTipText(L"This is just a text that's displayed when the user clicks and drags the thumb to a new position"); spSlider1->PutValue(4); |
50 |
Can I change the tooltip's foreground color
|
49 |
Can I change the tooltip's foreground color
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->PutBackground(EXSLIDERLib::exToolTipForeColor,RGB(255,0,0)); spSlider1->PutToolTipText(L"This is just a text that's displayed when the user clicks and drags the thumb to a new position"); spSlider1->PutValue(4); |
48 |
Can I change the tooltip's width
|
47 |
Can I change the tooltip's font
|
46 |
Can I change the tooltip's font
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->BeginUpdate(); /* Includes the definition for CreateObject function like follows: #include <comdef.h> IUnknownPtr CreateObject( BSTR Object ) { IUnknownPtr spResult; spResult.CreateInstance( Object ); return spResult; }; */ /* 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 f = ::CreateObject(L"StdFont"); f->PutName(L"Tahoma"); f->PutSize(_variant_t(long(12))); spSlider1->PutToolTipFont(IFontDispPtr(((stdole::FontPtr)(f)))); spSlider1->PutToolTipTitle(L"Title"); spSlider1->PutToolTipText(L"This is just a text that's displayed when the user clicks and drags the thumb to a new position"); spSlider1->PutValue(4); spSlider1->EndUpdate(); |
45 |
Can I display a tooltip when user clicks the thumb and drags it to a new position
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->PutToolTipTitle(L"Title"); spSlider1->PutToolTipText(L"This is just a text that's displayed when the user clicks and drags the thumb to a new position"); spSlider1->PutValue(4); |
44 |
How can I get the value from the cursor
|
43 |
Is there any function to identify the part from the cursor
|
42 |
Is there any option to specify the value to be added or subtracted when user presses the contro's background
|
41 |
Is there any option to specify the value to be added or subtracted when user presses the up or down button
|
40 |
How do I specify the maxmimum value in the control
|
39 |
How do I specify the minimum value in the control
|
38 |
How do I change control's position
|
37 |
How do I change the position of the thumb
|
36 |
How do I enable or disable a part of the control
|
35 |
How do show or hide parts in the control
|
34 |
How do I arrange the control vertically
|
33 |
How do I prevent painting the control when I perform several changes
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->BeginUpdate(); spSlider1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spSlider1->PutHTMLPicture(L"p1","c:\\exontrol\\images\\zipdisk.gif"); spSlider1->PutHTMLPicture(L"p2","c:\\exontrol\\images\\auction.gif"); spSlider1->PutCaption(EXSLIDERLib::exThumbPart,L"<img>p1</img> thumb <img>p2</img> <br><br><br>... <img>1</img> icon"); spSlider1->PutThumbSize(124); spSlider1->EndUpdate(); |
32 |
How do I add icons
|
31 |
How can I align the caption to the right
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->PutThumbSize(64); spSlider1->PutCaption(EXSLIDERLib::exThumbPart,L"thumb right"); spSlider1->PutCaptionAlignment(EXSLIDERLib::exThumbPart,EXSLIDERLib::RightAlignment); |
30 |
How can I align the caption to the left
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->PutThumbSize(64); spSlider1->PutCaption(EXSLIDERLib::exThumbPart,L" thumb left"); spSlider1->PutCaptionAlignment(EXSLIDERLib::exThumbPart,EXSLIDERLib::LeftAlignment); |
29 |
How can show the caption using a different font
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->PutCaption(EXSLIDERLib::exLowerBackPart,L"<font Tahoma;12>upper</font> part"); spSlider1->PutCaption(EXSLIDERLib::exUpperBackPart,L"<font ;4>lower</font> part"); spSlider1->PutValue(4); |
28 |
Is there any option to display icons or pictures in the parts of the control
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->PutThumbSize(124); spSlider1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spSlider1->PutHTMLPicture(L"p1","c:\\exontrol\\images\\zipdisk.gif"); spSlider1->PutHTMLPicture(L"p2","c:\\exontrol\\images\\auction.gif"); spSlider1->PutCaption(EXSLIDERLib::exThumbPart,L"<img>p1</img> thumb <img>p2</img> <br><br><br>... <img>1</img> icon"); |
27 |
Is there any option to display icons or pictures in the parts of the control
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->PutThumbSize(124); spSlider1->PutHTMLPicture(L"p1","c:\\exontrol\\images\\zipdisk.gif"); spSlider1->PutHTMLPicture(L"p2","c:\\exontrol\\images\\auction.gif"); spSlider1->PutCaption(EXSLIDERLib::exThumbPart,L"<img>p1</img> thumb <img>p2</img>"); |
26 |
Is there any option to display icons or pictures in the parts of the control
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->PutThumbSize(96); spSlider1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spSlider1->PutCaption(EXSLIDERLib::exThumbPart,L"<img>1</img> thumb <img>2</img>"); |
25 |
Is there any option to display icons or pictures in the parts of the control
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->PutThumbSize(96); spSlider1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spSlider1->PutCaption(EXSLIDERLib::exThumbPart,L"<img>1:4</img><img>1:4</img><img>1:4</img><img>1</img>thumb"); |
24 |
Is there any option to display icons or pictures in the parts of the control
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->PutThumbSize(96); spSlider1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spSlider1->PutCaption(EXSLIDERLib::exThumbPart,L"<img>1</img>thumb"); |
23 |
How can paint the caption using multiple lines
|
22 |
How can change the background color for a portion of text
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->PutCaption(EXSLIDERLib::exLowerBackPart,L"<bgcolor=FF0000><fgcolor=0000FF>upper</fgcolor></bgcolor> part"); spSlider1->PutCaption(EXSLIDERLib::exUpperBackPart,L"<bgcolor=0000FF><fgcolor=FF0000>upper</fgcolor></bgcolor> part"); spSlider1->PutValue(4); |
21 |
How can change the foreground color for a portion of text
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->PutCaption(EXSLIDERLib::exLowerBackPart,L"<fgcolor=FF0000>upper</fgcolor> part"); spSlider1->PutCaption(EXSLIDERLib::exUpperBackPart,L"<fgcolor=0000FF>upper</fgcolor> part"); spSlider1->PutValue(4); |
20 |
How can show the caption as strikeout
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); /* Includes the definition for CreateObject function like follows: #include <comdef.h> IUnknownPtr CreateObject( BSTR Object ) { IUnknownPtr spResult; spResult.CreateInstance( Object ); return spResult; }; */ /* 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 f = ::CreateObject(L"StdFont"); f->PutName(L"Tahoma"); f->PutSize(_variant_t(long(12))); spSlider1->PutFont(IFontDispPtr(((stdole::FontPtr)(f)))); spSlider1->PutCaption(EXSLIDERLib::exLowerBackPart,L"<s>upper</s> part"); spSlider1->PutCaption(EXSLIDERLib::exUpperBackPart,L"<s>lower</s> part"); spSlider1->PutValue(4); |
19 |
How can underline a portion of the caption
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); /* Includes the definition for CreateObject function like follows: #include <comdef.h> IUnknownPtr CreateObject( BSTR Object ) { IUnknownPtr spResult; spResult.CreateInstance( Object ); return spResult; }; */ /* 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 f = ::CreateObject(L"StdFont"); f->PutName(L"Tahoma"); f->PutSize(_variant_t(long(12))); spSlider1->PutFont(IFontDispPtr(((stdole::FontPtr)(f)))); spSlider1->PutCaption(EXSLIDERLib::exLowerBackPart,L"<u>upper</u> part"); spSlider1->PutCaption(EXSLIDERLib::exUpperBackPart,L"<u>lower</u> part"); spSlider1->PutValue(4); |
18 |
How can I draw in italic a portion of the caption
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); /* Includes the definition for CreateObject function like follows: #include <comdef.h> IUnknownPtr CreateObject( BSTR Object ) { IUnknownPtr spResult; spResult.CreateInstance( Object ); return spResult; }; */ /* 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 f = ::CreateObject(L"StdFont"); f->PutName(L"Tahoma"); f->PutSize(_variant_t(long(12))); spSlider1->PutFont(IFontDispPtr(((stdole::FontPtr)(f)))); spSlider1->PutCaption(EXSLIDERLib::exLowerBackPart,L"<i>upper</i> part"); spSlider1->PutCaption(EXSLIDERLib::exUpperBackPart,L"<i>lower</i> part"); spSlider1->PutValue(4); |
17 |
How can I draw in bold a portion of the caption
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); /* Includes the definition for CreateObject function like follows: #include <comdef.h> IUnknownPtr CreateObject( BSTR Object ) { IUnknownPtr spResult; spResult.CreateInstance( Object ); return spResult; }; */ /* 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 f = ::CreateObject(L"StdFont"); f->PutName(L"Tahoma"); f->PutSize(_variant_t(long(12))); spSlider1->PutFont(IFontDispPtr(((stdole::FontPtr)(f)))); spSlider1->PutCaption(EXSLIDERLib::exLowerBackPart,L"<b>upper</b> part"); spSlider1->PutCaption(EXSLIDERLib::exUpperBackPart,L"<b>lower</b> part"); spSlider1->PutValue(4); |
16 |
How can I put a text on the background part in the lower or upper side
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->PutCaption(EXSLIDERLib::exLowerBackPart,L"upper"); spSlider1->PutCaption(EXSLIDERLib::exUpperBackPart,L"lower"); spSlider1->PutValue(4); |
15 |
How can I put a text on the background part
|
14 |
How can I put a text on the thumb
|
13 |
How can I disable the control
|
12 |
How do I put a picture on the center of the control
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->PutPicture(IPictureDispPtr(((IDispatch*)(spSlider1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"))))); spSlider1->PutPictureDisplay(EXSLIDERLib::MiddleCenter); |
11 |
How do I resize/stretch a picture on the control's background
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->PutPicture(IPictureDispPtr(((IDispatch*)(spSlider1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"))))); spSlider1->PutPictureDisplay(EXSLIDERLib::Stretch); |
10 |
How do I put a picture on the control's center right bottom side
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->PutPicture(IPictureDispPtr(((IDispatch*)(spSlider1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"))))); spSlider1->PutPictureDisplay(EXSLIDERLib::LowerRight); |
9 |
How do I put a picture on the control's center left bottom side
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->PutPicture(IPictureDispPtr(((IDispatch*)(spSlider1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"))))); spSlider1->PutPictureDisplay(EXSLIDERLib::LowerLeft); |
8 |
How do I put a picture on the control's center top side
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->PutPicture(IPictureDispPtr(((IDispatch*)(spSlider1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"))))); spSlider1->PutPictureDisplay(EXSLIDERLib::UpperCenter); spSlider1->PutValue(5); |
7 |
How do I put a picture on the control's right top corner
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->PutPicture(IPictureDispPtr(((IDispatch*)(spSlider1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"))))); spSlider1->PutPictureDisplay(EXSLIDERLib::UpperRight); spSlider1->PutValue(5); |
6 |
How do I put a picture on the control's left top corner
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->PutPicture(IPictureDispPtr(((IDispatch*)(spSlider1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"))))); spSlider1->PutPictureDisplay(EXSLIDERLib::UpperLeft); spSlider1->PutValue(5); |
5 |
How do I put a picture on the control's background
|
4 |
How can I change the size of control's font
|
3 |
How do I change the control's font
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->PutThumbSize(32); spSlider1->GetFont()->PutName(L"Tahoma"); spSlider1->PutForeColor(RGB(255,0,0)); spSlider1->PutCaption(EXSLIDERLib::exThumbPart,L"thumb"); |
2 |
How can I change the control's foreground color
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->PutForeColor(RGB(255,0,0)); spSlider1->PutThumbSize(32); spSlider1->PutCaption(EXSLIDERLib::exThumbPart,L"thumb"); |
1 |
How can I change the control's background color
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSLIDERLib' for the library: 'ExSlider 1.0 Control Library' #import <ExSlider.dll> using namespace EXSLIDERLib; */ EXSLIDERLib::ISliderPtr spSlider1 = GetDlgItem(IDC_SLIDER1)->GetControlUnknown(); spSlider1->PutBackColor(RGB(0,255,0)); |