84. 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 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spScrollBar1->PutBackground(EXSCROLLBARLib::exToolTipAppearance,0x100ffa0);
spScrollBar1->PutToolTipText(_bstr_t("This is just a text that's displayed when the user clicks and drags the thumb to a new position") +
"");
spScrollBar1->PutValue(43);

83. 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 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spScrollBar1->PutAppearance(EXSCROLLBARLib::AppearanceEnum(0x10000f8 | EXSCROLLBARLib::Flat | EXSCROLLBARLib::Sunken | EXSCROLLBARLib::Etched));

82. 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 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spScrollBar1->PutAppearance(EXSCROLLBARLib::AppearanceEnum(0x1000000));

81. How can I change the visual appearance of the right button usign your EBN files
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutMode(EXSCROLLBARLib::exHorizontal);
spScrollBar1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spScrollBar1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn");
spScrollBar1->GetVisualAppearance()->Add(3,"c:\\exontrol\\images\\hot.ebn");
spScrollBar1->PutBackground(EXSCROLLBARLib::exHSRight,0x1000000);
spScrollBar1->PutBackground(EXSCROLLBARLib::exHSRightP,0x2000000);
spScrollBar1->PutBackground(EXSCROLLBARLib::exHSRightD,0x1000000);
spScrollBar1->PutBackground(EXSCROLLBARLib::exHSRightH,0x3000000);

80. 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 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutMode(EXSCROLLBARLib::exHorizontal);
spScrollBar1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spScrollBar1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn");
spScrollBar1->GetVisualAppearance()->Add(3,"c:\\exontrol\\images\\hot.ebn");
spScrollBar1->PutBackground(EXSCROLLBARLib::exHSThumb,0x1000000);
spScrollBar1->PutBackground(EXSCROLLBARLib::exHSThumbP,0x2000000);
spScrollBar1->PutBackground(EXSCROLLBARLib::exHSThumbD,0x1000000);
spScrollBar1->PutBackground(EXSCROLLBARLib::exHSThumbH,0x3000000);

79. How can I change the visual appearance of the left button usign your EBN files
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutMode(EXSCROLLBARLib::exHorizontal);
spScrollBar1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spScrollBar1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn");
spScrollBar1->GetVisualAppearance()->Add(3,"c:\\exontrol\\images\\hot.ebn");
spScrollBar1->PutBackground(EXSCROLLBARLib::exHSLeft,0x1000000);
spScrollBar1->PutBackground(EXSCROLLBARLib::exHSLeftP,0x2000000);
spScrollBar1->PutBackground(EXSCROLLBARLib::exHSLeftD,0x1000000);
spScrollBar1->PutBackground(EXSCROLLBARLib::exHSLeftH,0x3000000);

78. How can I change the visual appearance for all buttons usign your EBN files
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutMode(EXSCROLLBARLib::exHorizontal);
spScrollBar1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spScrollBar1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn");
spScrollBar1->GetVisualAppearance()->Add(3,"c:\\exontrol\\images\\hot.ebn");
spScrollBar1->PutBackground(EXSCROLLBARLib::exSBtn,0x1000000);
spScrollBar1->PutBackground(EXSCROLLBARLib::exSBtnP,0x2000000);
spScrollBar1->PutBackground(EXSCROLLBARLib::exSBtnD,0x1000000);
spScrollBar1->PutBackground(EXSCROLLBARLib::exSBtnH,0x3000000);

77. How can I change the visual appearance of the down button usign your EBN files
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spScrollBar1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn");
spScrollBar1->GetVisualAppearance()->Add(3,"c:\\exontrol\\images\\hot.ebn");
spScrollBar1->PutBackground(EXSCROLLBARLib::exVSDown,0x1000000);
spScrollBar1->PutBackground(EXSCROLLBARLib::exVSDownP,0x2000000);
spScrollBar1->PutBackground(EXSCROLLBARLib::exVSDownD,0x1000000);
spScrollBar1->PutBackground(EXSCROLLBARLib::exVSDownH,0x3000000);

76. 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 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spScrollBar1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn");
spScrollBar1->GetVisualAppearance()->Add(3,"c:\\exontrol\\images\\hot.ebn");
spScrollBar1->PutBackground(EXSCROLLBARLib::exVSThumb,0x1000000);
spScrollBar1->PutBackground(EXSCROLLBARLib::exVSThumbP,0x2000000);
spScrollBar1->PutBackground(EXSCROLLBARLib::exVSThumbD,0x1000000);
spScrollBar1->PutBackground(EXSCROLLBARLib::exVSThumbH,0x3000000);

75. How can I change the visual appearance of the up button usign your EBN files
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spScrollBar1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn");
spScrollBar1->GetVisualAppearance()->Add(3,"c:\\exontrol\\images\\hot.ebn");
spScrollBar1->PutBackground(EXSCROLLBARLib::exVSUp,0x1000000);
spScrollBar1->PutBackground(EXSCROLLBARLib::exVSUpP,0x2000000);
spScrollBar1->PutBackground(EXSCROLLBARLib::exVSUpD,0x1000000);
spScrollBar1->PutBackground(EXSCROLLBARLib::exVSUpH,0x3000000);

74. How can I change the visual appearance for all buttons usign your EBN files
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spScrollBar1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn");
spScrollBar1->GetVisualAppearance()->Add(3,"c:\\exontrol\\images\\hot.ebn");
spScrollBar1->PutBackground(EXSCROLLBARLib::exSBtn,0x1000000);
spScrollBar1->PutBackground(EXSCROLLBARLib::exSBtnP,0x2000000);
spScrollBar1->PutBackground(EXSCROLLBARLib::exSBtnD,0x1000000);
spScrollBar1->PutBackground(EXSCROLLBARLib::exSBtnH,0x3000000);

73. Can I indent the caption in the button or part
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutCaption(EXSCROLLBARLib::exThumbPart,L"<img>0</img>thumb indented by 20 pixels and moved up by 5 pixels");
spScrollBar1->PutCaptionAlignment(EXSCROLLBARLib::exThumbPart,EXSCROLLBARLib::LeftAlignment);
spScrollBar1->PutCaptionIndentX(EXSCROLLBARLib::exThumbPart,20);
spScrollBar1->PutCaptionIndentY(EXSCROLLBARLib::exThumbPart,-5);

72. Can I indent the caption in the button or part
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutCaption(EXSCROLLBARLib::exThumbPart,L"<img>0</img>thumb indented by 20 pixels");
spScrollBar1->PutCaptionAlignment(EXSCROLLBARLib::exThumbPart,EXSCROLLBARLib::LeftAlignment);
spScrollBar1->PutCaptionIndentX(EXSCROLLBARLib::exThumbPart,20);

71. Can i specify to ignore the large change value when getting the maximum value
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutIgnoreLargeChange(VARIANT_TRUE);

70. Is there any way to specify the order of the buttons/parts
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutOrderParts(L"l,r,t");
spScrollBar1->PutValue(15);

69. Does your control support owner draw feature
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutOwnerDrawPart(EXSCROLLBARLib::exThumbPart,VARIANT_TRUE);

68. Can I assing any extra data to a button or part of the control
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutUserData(EXSCROLLBARLib::exThumbPart,"This is just some extra data assigned to the control's thumb");

67. How can I specify the size of the thumb
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutHTMLPicture(L"p1","c:\\exontrol\\images\\zipdisk.gif");
spScrollBar1->PutHTMLPicture(L"p2","c:\\exontrol\\images\\auction.gif");
spScrollBar1->PutCaption(EXSCROLLBARLib::exThumbPart,L"<img>p1</img> thumb <img>p2</img>");
spScrollBar1->PutThumbSize(48);

66. Is there any property to disable the up or down button, as a disable when there is no scroll
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutDisableNoScroll(VARIANT_TRUE);

65. Is there any property to disable the up or down button, so user can't click it
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutEnablePart(EXSCROLLBARLib::exRightBPart,VARIANT_FALSE);

64. Is there any property to disable the up or down button, so user can't click it
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutDisableNoScroll(VARIANT_TRUE);

63. 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 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spScrollBar1->PutBackground(EXSCROLLBARLib::exToolTipAppearance,0x1000000);
spScrollBar1->PutToolTipText(_bstr_t("This is just a text that's displayed when the user clicks and drags the thumb to a new position") +
"");
spScrollBar1->PutValue(43);

62. Can I change the tooltip's background color
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutToolTipText(_bstr_t("This is <bgcolor=FF0000>just a text</bgcolor> that's displayed when the user clicks and drags t") +
"he thumb to a new position");
spScrollBar1->PutValue(43);

61. Can I change the tooltip's background color
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutBackground(EXSCROLLBARLib::exToolTipBackColor,RGB(255,0,0));
spScrollBar1->PutToolTipText(_bstr_t("This is just a text that's displayed when the user clicks and drags the thumb to a new position") +
"");
spScrollBar1->PutValue(43);

60. Can I change the tooltip's foreground color
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutToolTipText(_bstr_t("This is <fgcolor=FF0000>just a text</fgcolor> that's displayed when the user clicks and drags t") +
"he thumb to a new position");
spScrollBar1->PutValue(43);

59. Can I change the tooltip's foreground color
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutBackground(EXSCROLLBARLib::exToolTipForeColor,RGB(255,0,0));
spScrollBar1->PutToolTipText(_bstr_t("This is just a text that's displayed when the user clicks and drags the thumb to a new position") +
"");
spScrollBar1->PutValue(43);

58. Can I change the tooltip's width
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->BeginUpdate();
spScrollBar1->PutToolTipWidth(256);
spScrollBar1->PutToolTipText(_bstr_t("This is <font Tahoma;12>just a text with a different font</font> that's displayed when the user") +
" clicks and drags the thumb to a new position");
spScrollBar1->PutValue(43);
spScrollBar1->EndUpdate();

57. Can I change the tooltip's font
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->BeginUpdate();
spScrollBar1->PutToolTipTitle(L"Title");
spScrollBar1->PutToolTipText(_bstr_t("This is <font Tahoma;12>just a text with a different font</font> that's displayed when the user") +
" clicks and drags the thumb to a new position");
spScrollBar1->PutValue(43);
spScrollBar1->EndUpdate();

56. Can I change the tooltip's font
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->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)));
spScrollBar1->PutToolTipFont(IFontDispPtr(((stdole::FontPtr)(f))));
spScrollBar1->PutToolTipTitle(L"Title");
spScrollBar1->PutToolTipText(_bstr_t("This is just a text that's displayed when the user clicks and drags the thumb to a new position") +
"");
spScrollBar1->PutValue(43);
spScrollBar1->EndUpdate();

55. 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 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutToolTipTitle(L"Title");
spScrollBar1->PutToolTipText(_bstr_t("This is just a text that's displayed when the user clicks and drags the thumb to a new position") +
"");
spScrollBar1->PutValue(43);

54. Is there any function to specify the size/width of the buttons
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutMode(EXSCROLLBARLib::exHorizontal);
spScrollBar1->PutBtnWidth(32);

53. Is there any function to specify the size/height of the buttons
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutBtnHeight(32);

52. How do scroll to a specified position
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutValue(10);

51. How do scroll to a specified position
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->Scroll(EXSCROLLBARLib::exScrollToPosition,10);

50. How do simulate clicking the down button
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->Scroll(EXSCROLLBARLib::exScrollRight,0);

49. I am using your control in a C++ application, and I would preffer handle messages instead events
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutSendMessage(VARIANT_TRUE);

48. How can I get the value from the cursor
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
long var_ValueFromPoint = spScrollBar1->GetValueFromPoint(-1,-1);

47. Is there any function to identify the part from the cursor
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
EXSCROLLBARLib::PartEnum var_PartFromPoint = spScrollBar1->GetPartFromPoint(-1,-1);

46. Is there any option to specify the value to be added or subtracted when user presses the contro's background
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutLargeChange(20);

45. Is there any option to specify the value to be added or subtracted when user presses the up or down button
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutSmallChange(5);

44. How do I specify the maxmimum value in the control
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutMaximum(95);
spScrollBar1->PutValue(90);

43. How do I specify the minimum value in the control
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutMinimum(5);
spScrollBar1->PutValue(7);

42. How do I change control's position
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutValue(43);

41. How do I change the position of the thumb
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutValue(43);

40. How do I enable or disable a button or a part of the control
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutVisiblePart(EXSCROLLBARLib::exLeftB1Part,VARIANT_TRUE);
spScrollBar1->PutEnablePart(EXSCROLLBARLib::exLeftB1Part,VARIANT_FALSE);
spScrollBar1->PutCaption(EXSCROLLBARLib::exLeftB1Part,L"<img>0</img><fgcolor=808080>extra button</fgcolor>");

39. How do show or hide buttons in the control
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutVisiblePart(EXSCROLLBARLib::exLeftB1Part,VARIANT_TRUE);
spScrollBar1->PutCaption(EXSCROLLBARLib::exLeftB1Part,L"<img>0</img>extra button");
spScrollBar1->PutVisiblePart(EXSCROLLBARLib::exRightB6Part,VARIANT_TRUE);
spScrollBar1->PutCaption(EXSCROLLBARLib::exRightB6Part,L"<img>0</img>extra button");
spScrollBar1->PutVisiblePart(EXSCROLLBARLib::exRightB5Part,VARIANT_TRUE);
spScrollBar1->PutCaption(EXSCROLLBARLib::exRightB5Part,L"<img>0</img>extra button");

38. How do I arrange the control horizontally
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutMode(EXSCROLLBARLib::exHorizontal);

37. 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 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->BeginUpdate();
spScrollBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spScrollBar1->PutHTMLPicture(L"p1","c:\\exontrol\\images\\zipdisk.gif");
spScrollBar1->PutHTMLPicture(L"p2","c:\\exontrol\\images\\auction.gif");
spScrollBar1->PutCaption(EXSCROLLBARLib::exThumbPart,L"<img>p1</img> thumb <img>p2</img> ... <img>1</img> icon");
spScrollBar1->PutThumbSize(48);
spScrollBar1->EndUpdate();

36. How do I add icons
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spScrollBar1->PutCaption(EXSCROLLBARLib::exThumbPart,L"<img>1</img>thumb");

35. How do I change the caption for the extra button I added
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutVisiblePart(EXSCROLLBARLib::exLeftB1Part,VARIANT_TRUE);
spScrollBar1->PutCaption(EXSCROLLBARLib::exLeftB1Part,L"<img>0</img>extra button");

34. How can I align the caption to the right
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutCaption(EXSCROLLBARLib::exThumbPart,L"<img>0</img>thumb right");
spScrollBar1->PutCaptionAlignment(EXSCROLLBARLib::exThumbPart,EXSCROLLBARLib::RightAlignment);

33. How can I align the caption to the left
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutCaption(EXSCROLLBARLib::exThumbPart,L"<img>0</img> thumb left");
spScrollBar1->PutCaptionAlignment(EXSCROLLBARLib::exThumbPart,EXSCROLLBARLib::LeftAlignment);

32. How can show the caption using a different font
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutCaption(EXSCROLLBARLib::exLowerBackPart,L"<img>0</img><font Tahoma;12>upper</font> part");
spScrollBar1->PutCaption(EXSCROLLBARLib::exUpperBackPart,L"<img>0</img><font ;4>lower</font> part");
spScrollBar1->PutValue(45);

31. 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 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spScrollBar1->PutHTMLPicture(L"p1","c:\\exontrol\\images\\zipdisk.gif");
spScrollBar1->PutHTMLPicture(L"p2","c:\\exontrol\\images\\auction.gif");
spScrollBar1->PutCaption(EXSCROLLBARLib::exThumbPart,L"<img>p1</img> thumb <img>p2</img> ... <img>1</img> icon");
spScrollBar1->PutThumbSize(48);

30. 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 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutHTMLPicture(L"p1","c:\\exontrol\\images\\zipdisk.gif");
spScrollBar1->PutHTMLPicture(L"p2","c:\\exontrol\\images\\auction.gif");
spScrollBar1->PutCaption(EXSCROLLBARLib::exThumbPart,L"<img>p1</img> thumb <img>p2</img>");
spScrollBar1->PutThumbSize(48);

29. 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 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spScrollBar1->PutCaption(EXSCROLLBARLib::exThumbPart,L"<img>1</img> thumb <img>2</img>");

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 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spScrollBar1->PutCaption(EXSCROLLBARLib::exThumbPart,L"<img>1:4</img><img>1:4</img><img>1:4</img><img>1</img>thumb");

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 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spScrollBar1->PutCaption(EXSCROLLBARLib::exThumbPart,L"<img>1</img>thumb");

26. How can paint the caption using multiple lines
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutCaption(EXSCROLLBARLib::exThumbPart,L"<img>0</img>line1<br>line2");

25. 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 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutCaption(EXSCROLLBARLib::exLowerBackPart,L"<img>0</img><bgcolor=FF0000><fgcolor=0000FF>upper</fgcolor></bgcolor> part");
spScrollBar1->PutCaption(EXSCROLLBARLib::exUpperBackPart,L"<img>0</img><bgcolor=0000FF><fgcolor=FF0000>upper</fgcolor></bgcolor> part");
spScrollBar1->PutValue(45);

24. 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 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutCaption(EXSCROLLBARLib::exLowerBackPart,L"<img>0</img><fgcolor=FF0000>upper</fgcolor> part");
spScrollBar1->PutCaption(EXSCROLLBARLib::exUpperBackPart,L"<img>0</img><fgcolor=0000FF>upper</fgcolor> part");
spScrollBar1->PutValue(45);

23. How can show the caption as strikeout
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->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)));
spScrollBar1->PutFont(IFontDispPtr(((stdole::FontPtr)(f))));
spScrollBar1->PutCaption(EXSCROLLBARLib::exLowerBackPart,L"<img>0</img><s>upper</s> part");
spScrollBar1->PutCaption(EXSCROLLBARLib::exUpperBackPart,L"<img>0</img><s>lower</s> part");
spScrollBar1->PutValue(45);

22. How can underline a portion of the caption
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->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)));
spScrollBar1->PutFont(IFontDispPtr(((stdole::FontPtr)(f))));
spScrollBar1->PutCaption(EXSCROLLBARLib::exLowerBackPart,L"<img>0</img><u>upper</u> part");
spScrollBar1->PutCaption(EXSCROLLBARLib::exUpperBackPart,L"<img>0</img><u>lower</u> part");
spScrollBar1->PutValue(45);

21. 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 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->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)));
spScrollBar1->PutFont(IFontDispPtr(((stdole::FontPtr)(f))));
spScrollBar1->PutCaption(EXSCROLLBARLib::exLowerBackPart,L"<img>0</img><i>upper</i> part");
spScrollBar1->PutCaption(EXSCROLLBARLib::exUpperBackPart,L"<img>0</img><i>lower</i> part");
spScrollBar1->PutValue(45);

20. 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 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->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)));
spScrollBar1->PutFont(IFontDispPtr(((stdole::FontPtr)(f))));
spScrollBar1->PutCaption(EXSCROLLBARLib::exLowerBackPart,L"<img>0</img><b>upper</b> part");
spScrollBar1->PutCaption(EXSCROLLBARLib::exUpperBackPart,L"<img>0</img><b>lower</b> part");
spScrollBar1->PutValue(45);

19. How can I put a text on the background part in the lower or upper , horizontally
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutCaption(EXSCROLLBARLib::exLowerBackPart,L"<img>0</img>upper");
spScrollBar1->PutCaption(EXSCROLLBARLib::exUpperBackPart,L"<img>0</img>lower");
spScrollBar1->PutValue(45);

18. 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 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutCaption(EXSCROLLBARLib::exLowerBackPart,L"upper");
spScrollBar1->PutCaption(EXSCROLLBARLib::exUpperBackPart,L"lower");
spScrollBar1->PutValue(45);

17. How can I put a text on the background part, horizontally
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutCaption(EXSCROLLBARLib::exBackgroundPart,L"<img>0</img>background");

16. How can I put a text on the background part
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutCaption(EXSCROLLBARLib::exBackgroundPart,L"background");

15. How can I put a text on the thumb, horizontally
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutCaption(EXSCROLLBARLib::exThumbPart,L"<img>0</img>thumb");

14. How can I put a text on the thumb
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutCaption(EXSCROLLBARLib::exThumbPart,L"thumb");

13. How can I disable the control
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutEnabled(VARIANT_FALSE);

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 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutPicture(IPictureDispPtr(((IDispatch*)(spScrollBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spScrollBar1->PutPictureDisplay(EXSCROLLBARLib::MiddleCenter);
spScrollBar1->PutVisiblePart(EXSCROLLBARLib::exBackgroundPart,VARIANT_FALSE);
spScrollBar1->PutBackColor(0x80000004);

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 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutPicture(IPictureDispPtr(((IDispatch*)(spScrollBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spScrollBar1->PutPictureDisplay(EXSCROLLBARLib::Stretch);
spScrollBar1->PutVisiblePart(EXSCROLLBARLib::exBackgroundPart,VARIANT_FALSE);
spScrollBar1->PutBackColor(0x80000004);

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 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutPicture(IPictureDispPtr(((IDispatch*)(spScrollBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spScrollBar1->PutPictureDisplay(EXSCROLLBARLib::LowerRight);
spScrollBar1->PutVisiblePart(EXSCROLLBARLib::exBackgroundPart,VARIANT_FALSE);
spScrollBar1->PutBackColor(0x80000004);

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 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutPicture(IPictureDispPtr(((IDispatch*)(spScrollBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spScrollBar1->PutPictureDisplay(EXSCROLLBARLib::LowerLeft);
spScrollBar1->PutVisiblePart(EXSCROLLBARLib::exBackgroundPart,VARIANT_FALSE);
spScrollBar1->PutBackColor(0x80000004);

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 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutPicture(IPictureDispPtr(((IDispatch*)(spScrollBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spScrollBar1->PutPictureDisplay(EXSCROLLBARLib::UpperCenter);
spScrollBar1->PutValue(50);
spScrollBar1->PutVisiblePart(EXSCROLLBARLib::exBackgroundPart,VARIANT_FALSE);
spScrollBar1->PutBackColor(0x80000004);

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 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutPicture(IPictureDispPtr(((IDispatch*)(spScrollBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spScrollBar1->PutPictureDisplay(EXSCROLLBARLib::UpperRight);
spScrollBar1->PutVisiblePart(EXSCROLLBARLib::exBackgroundPart,VARIANT_FALSE);
spScrollBar1->PutBackColor(0x80000004);
spScrollBar1->PutValue(50);

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 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutPicture(IPictureDispPtr(((IDispatch*)(spScrollBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spScrollBar1->PutPictureDisplay(EXSCROLLBARLib::UpperLeft);
spScrollBar1->PutVisiblePart(EXSCROLLBARLib::exBackgroundPart,VARIANT_FALSE);
spScrollBar1->PutBackColor(0x80000004);
spScrollBar1->PutValue(50);

5. How do I put a picture on the control's background
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutPicture(IPictureDispPtr(((IDispatch*)(spScrollBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spScrollBar1->PutVisiblePart(EXSCROLLBARLib::exBackgroundPart,VARIANT_FALSE);
spScrollBar1->PutBackColor(0x80000004);

4. How can I change the size of control's font
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->GetFont()->PutSize(_variant_t(long(12)));
spScrollBar1->PutForeColor(RGB(255,0,0));
spScrollBar1->PutCaption(EXSCROLLBARLib::exThumbPart,L"<img>0</img>thumb");

3. How do I change the control's font
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->GetFont()->PutName(L"Tahoma");
spScrollBar1->PutForeColor(RGB(255,0,0));
spScrollBar1->PutCaption(EXSCROLLBARLib::exThumbPart,L"<img>0</img>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 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutForeColor(RGB(255,0,0));
spScrollBar1->PutCaption(EXSCROLLBARLib::exThumbPart,L"<img>0</img>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 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library'

	#import <ExScrollBar.dll>
	using namespace EXSCROLLBARLib;
*/
EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown();
spScrollBar1->PutBackColor(RGB(0,255,0));
spScrollBar1->PutVisiblePart(EXSCROLLBARLib::exBackgroundPart,VARIANT_FALSE);