165:
How can I change the control's background/foreground colors while the control is locked/read-only

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutLocked(VARIANT_TRUE);
spEdit1->PutSelBackColor(RGB(128,128,128));
spEdit1->PutForeColorLockedLine(RGB(128,128,128));
spEdit1->PutBackColorLockedLine(RGB(255,255,255));

164:
How can change the color for selected text, when the control has no focus

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutHideSelection(VARIANT_FALSE);
spEdit1->PutSelLength(10);
spEdit1->PutSelBackColorHide(RGB(255,0,0));

163:
How do I change the "Incremental Search" caption

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutCursor(EXEDITLib::exIncrementalSearchArea,"exHelp");
spEdit1->PutCaption(EXEDITLib::exIncrementalSearchField,EXEDITLib::exCaption,L"Search for: %s");
spEdit1->PutIncrementalSearchError(RGB(255,0,0));

162:
How do I enable the scrollbar-extension, as thumb to be shown outside of the control's client area

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutScrollBars(EXEDITLib::exBoth);
spEdit1->PutScrollPartVisible(EXEDITLib::exVScroll,EXEDITLib::exExtentThumbPart,VARIANT_TRUE);
spEdit1->PutScrollPartVisible(EXEDITLib::exHScroll,EXEDITLib::exExtentThumbPart,VARIANT_TRUE);
spEdit1->PutScrollPartVisible(EXEDITLib::ScrollBarEnum(0x2),EXEDITLib::exExtentThumbPart,VARIANT_TRUE);
spEdit1->PutScrollWidth(4);
spEdit1->PutBackground(EXEDITLib::exVSBack,RGB(240,240,240));
spEdit1->PutBackground(EXEDITLib::exVSThumb,RGB(128,128,128));
spEdit1->PutScrollHeight(4);
spEdit1->PutBackground(EXEDITLib::exHSBack,spEdit1->GetBackground(EXEDITLib::exVSBack));
spEdit1->PutBackground(EXEDITLib::exHSThumb,spEdit1->GetBackground(EXEDITLib::exVSThumb));
spEdit1->PutBackground(EXEDITLib::exSizeGrip,spEdit1->GetBackground(EXEDITLib::exVSBack));

161:
How can I get ride of control's horizontal scroll bar

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->AddKeyword(L"<b>CExHelperDialog</b>",vtMissing,vtMissing,vtMissing);
spEdit1->Refresh();
spEdit1->PutScrollBars(EXEDITLib::exVertical);

160:
How do I specify the characters to close the sensitive context

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->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=");
spEdit1->AddKeyword(L"<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",vtMissing);
spEdit1->AddKeyword(L"<b>public</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",vtMissing);
spEdit1->Refresh();
EXEDITLib::IEditContextPtr var_Context = spEdit1->GetContext(vtMissing);
	var_Context->Add(L"<b>class</b>","",long(1),vtMissing);
	var_Context->Add(L"<b>public</b>","",long(2),vtMissing);
	var_Context->PutOptions(EXEDITLib::exContextAllowChars,"_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz");

159:
How do I sort items in the sensitive context

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->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=");
spEdit1->AddKeyword(L"<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",vtMissing);
spEdit1->AddKeyword(L"<b>public</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",vtMissing);
spEdit1->Refresh();
spEdit1->GetContext(vtMissing)->Add(L"<b>public</b>","",long(2),vtMissing);
spEdit1->GetContext(vtMissing)->Add(L"<b>class</b>","",long(1),vtMissing);
spEdit1->GetContext(vtMissing)->Sort(VARIANT_TRUE);

158:
Can I add icons to the sensitive context

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->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=");
spEdit1->AddKeyword(L"<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",vtMissing);
spEdit1->Refresh();
spEdit1->GetContext(vtMissing)->Add(L"<b>class</b>","",long(1),vtMissing);

157:
How can I change the keys combination that invokes the sensitive context

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutContextKey(544);
spEdit1->AddKeyword(L"<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",vtMissing);
spEdit1->Refresh();
spEdit1->GetContext(vtMissing)->Add(L"class",vtMissing,vtMissing,vtMissing);

156:
How do I enable or disable the sensitive context menu
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutCodeCompletion(VARIANT_FALSE);
spEdit1->AddKeyword(L"<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",vtMissing);
spEdit1->Refresh();
spEdit1->GetContext(vtMissing)->Add(L"class",vtMissing,vtMissing,vtMissing);

155:
How can I add a sensitive context menu

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->AddKeyword(L"<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",vtMissing);
spEdit1->Refresh();
spEdit1->GetContext(vtMissing)->Add(L"class",vtMissing,vtMissing,vtMissing);

154:
Can I use wild characters to define keys in your control

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->AddWild(L"<b>a</b>");
spEdit1->Refresh();

153:
Can I use wild characters to define keys in your control

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->AddWild(L"<s> </s>");
spEdit1->Refresh();

152:
How can I remove or delete all expressions

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->AddExpression(L"(",L"<b><fgcolor=FF0000> </fgcolor></b>",L")",VARIANT_FALSE,vtMissing);
spEdit1->ClearExpressions();
spEdit1->Refresh();

151:
How can I remove or delete an expression

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->AddExpression(L"(",L"<b><fgcolor=FF0000> </fgcolor></b>",L")",VARIANT_FALSE,vtMissing);
spEdit1->DeleteExpression(L"(");
spEdit1->Refresh();

150:
How can I add an expression

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->AddExpression(L"(",L"<b><fgcolor=FF0000> </fgcolor></b>",L")",VARIANT_FALSE,vtMissing);
spEdit1->Refresh();

149:
How can I add an expression on multiple lines

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->AddExpression(L"<fgcolor=800000><b>BEGIN_MSG_MAP</b></fgcolor>",L"<b><fgcolor=FF0000> </fgcolor></b>",L"<fgcolor=800000><b>END_MSG_MAP</b></fgcolor>",VARIANT_TRUE,vtMissing);
spEdit1->Refresh();

148:
How can I remove or delete all keywords
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->AddKeyword(L"<b><fgcolor=FF0000>class</fgcolor></b>",vtMissing,vtMissing,vtMissing);
spEdit1->ClearKeywords();
spEdit1->Refresh();

147:
How can I remove or delete keyword
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->AddKeyword(L"<b><fgcolor=FF0000>class</fgcolor></b>",vtMissing,vtMissing,vtMissing);
spEdit1->DeleteKeyword(L"class");
spEdit1->Refresh();

146:
How do I add a keyword that's not case sensitive

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->AddKeyword(L"<b><fgcolor=FF0000>class</fgcolor></b>","","",long(2));
spEdit1->Refresh();
spEdit1->InsertText(L"ClasS\\r\\n",long(1));
spEdit1->InsertText(L"CLASS\\r\\n",long(1));

145:
How do I add a keyword that's not case sensitive

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->AddKeyword(L"<fgcolor=FF0000>class</fgcolor>","","",long(1));
spEdit1->Refresh();
spEdit1->InsertText(L"ClasS\\r\\n",long(1));
spEdit1->InsertText(L"CLASS\\r\\n",long(1));

144:
How can I assign a tooltip to a keyword

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->AddKeyword(L"<fgcolor=FF0000>class</fgcolor>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",vtMissing);
spEdit1->Refresh();

143:
How do I add a keyword

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->AddKeyword(L"<fgcolor=FF0000>class</fgcolor>",vtMissing,vtMissing,vtMissing);
spEdit1->Refresh();

142:
How do I add a keyword

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->AddKeyword(L"<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",vtMissing);
spEdit1->Refresh();

141:
How can I display a tooltip as soon as the user types a keyword

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutToolTipDelay(1);
spEdit1->PutToolTipOnTyping(VARIANT_TRUE);
spEdit1->AddKeyword(L"<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",vtMissing);
spEdit1->Refresh();

140:
How do I change the color for a locked or a read only line

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutForeColorLockedLine(RGB(0,0,0));
spEdit1->PutBackColorLockedLine(RGB(255,0,0));
spEdit1->PutLockedLine(1,VARIANT_TRUE);

139:
How do I lock or make read only a line

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutLockedLine(1,VARIANT_TRUE);

138:
How do I start overtyping

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutOvertype(VARIANT_TRUE);

137:
How do I get the selection

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->GetSelection(sy,sx,ey,ex);
OutputDebugStringW( L"sy" );
OutputDebugStringW( L"sx" );
OutputDebugStringW( L"ey" );
OutputDebugStringW( L"ex" );

136:
How do I select multiple lines

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->SetSelection(long(0),long(0),long(10),long(0));
spEdit1->PutHideSelection(VARIANT_FALSE);

135:
How can I change the shape of the cursor when it hovers the selected text

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutCursor(EXEDITLib::exSelectedText,"exHelp");
spEdit1->PutSelLength(10);
spEdit1->PutHideSelection(VARIANT_FALSE);

134:
How can I change the shape of the cursor when it hovers the incremental search area

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutCursor(EXEDITLib::exIncrementalSearchArea,"exHelp");

133:
How can I change the shape of the cursor when it hovers the line numbers area

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutCursor(EXEDITLib::exLineNumberArea,"exHelp");
spEdit1->PutLineNumberWidth(16);

132:
How can I change the shape of the cursor when it hovers the bookmark area

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutCursor(EXEDITLib::exBookmarkArea,"exHelp");
spEdit1->PutBookmarkWidth(16);

131:
How can I change the shape of the cursor when it hovers the edit
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutCursor(EXEDITLib::exEditArea,"exHelp");

130:
How can I enable or disable OLE drag and drop operations
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutOLEDropMode(EXEDITLib::exOLEDropAutomatic);

129:
How can I change the descriptions for items in the control's context menu

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutCaption(EXEDITLib::exContextMenu,EXEDITLib::exContextUndo,L"U N D O");
spEdit1->PutCaption(EXEDITLib::exContextMenu,EXEDITLib::exContextRedo,L"R E D O");
spEdit1->PutCaption(EXEDITLib::exContextMenu,EXEDITLib::exContextCut,L"C U T");
spEdit1->PutCaption(EXEDITLib::exContextMenu,EXEDITLib::exContextCopy,L"C O P Y");
spEdit1->PutCaption(EXEDITLib::exContextMenu,EXEDITLib::exContextPaste,L"P A S T E");
spEdit1->PutCaption(EXEDITLib::exContextMenu,EXEDITLib::exContextDelete,L"D E L");
spEdit1->PutCaption(EXEDITLib::exContextMenu,EXEDITLib::exContextSelectAll,L"A L L ");

128:
How can I change the descriptions for fields in the Replace dialog

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutCaption(EXEDITLib::exReplaceDialog,EXEDITLib::exFieldFindWhat,L"What");
spEdit1->PutCaption(EXEDITLib::exReplaceDialog,EXEDITLib::exFieldReplaceWith,L"Replace");
spEdit1->PutCaption(EXEDITLib::exReplaceDialog,EXEDITLib::exFieldWordOnly,L"Word");
spEdit1->PutCaption(EXEDITLib::exReplaceDialog,EXEDITLib::exFieldMatchCase,L"Case");
spEdit1->PutCaption(EXEDITLib::exReplaceDialog,EXEDITLib::exFieldFindNext,L"Dir");
spEdit1->PutCaption(EXEDITLib::exReplaceDialog,EXEDITLib::exFieldSelection,L"Sel");
spEdit1->PutCaption(EXEDITLib::exReplaceDialog,EXEDITLib::exFieldWholeFile,L"File");
spEdit1->PutCaption(EXEDITLib::exReplaceDialog,EXEDITLib::exFieldReplace,L"Rep");
spEdit1->PutCaption(EXEDITLib::exReplaceDialog,EXEDITLib::exFieldReplaceAll,L"All");
spEdit1->PutCaption(EXEDITLib::exReplaceDialog,EXEDITLib::exFieldCancel,L"Abandon");
spEdit1->PutCaption(EXEDITLib::exReplaceDialog,EXEDITLib::exErrorTitle,L"Title");
spEdit1->PutCaption(EXEDITLib::exReplaceDialog,EXEDITLib::exErrorFindNext,L"Failed!");
spEdit1->PutCaption(EXEDITLib::exReplaceDialog,EXEDITLib::exErrorFindNext,L"Done");

127:
How can I change the descriptions for fields in the Find dialog

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutCaption(EXEDITLib::exFindDialog,EXEDITLib::exFieldFindWhat,L"What");
spEdit1->PutCaption(EXEDITLib::exFindDialog,EXEDITLib::exFieldWordOnly,L"Word");
spEdit1->PutCaption(EXEDITLib::exFindDialog,EXEDITLib::exFieldMatchCase,L"Case");
spEdit1->PutCaption(EXEDITLib::exFindDialog,EXEDITLib::exFieldFindNext,L"Dir");
spEdit1->PutCaption(EXEDITLib::exFindDialog,EXEDITLib::exFieldSelection,L"U");
spEdit1->PutCaption(EXEDITLib::exFindDialog,EXEDITLib::exFieldWholeFile,L"D");
spEdit1->PutCaption(EXEDITLib::exFindDialog,EXEDITLib::exFieldFindNext,L"Next");
spEdit1->PutCaption(EXEDITLib::exFindDialog,EXEDITLib::exFieldReplace,L"All");
spEdit1->PutCaption(EXEDITLib::exFindDialog,EXEDITLib::exFieldCancel,L"Abandon");
spEdit1->PutCaption(EXEDITLib::exFindDialog,EXEDITLib::exErrorFindNext,L"Failed!");

126:
How can I change the caption for the Replace dialog

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutCaption(EXEDITLib::exReplaceDialog,EXEDITLib::exCaption,L"Search and Replace");

125:
How can I change the caption for the Find dialog

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutCaption(EXEDITLib::exFindDialog,EXEDITLib::exCaption,L"Search");

124:
How can I move the cursor when user invokes the control's context menu

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutRClick(VARIANT_TRUE);

123:
How can I disable indenting the selected text when the user presses the TAB key
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutIndentOnTab(VARIANT_FALSE);

122:
How can I indent a line

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutLineNumberWidth(18);
spEdit1->PutHideSelection(VARIANT_FALSE);
spEdit1->SelectLine(3);
spEdit1->IndentSel(VARIANT_TRUE);

121:
How can I show or hide the control's splitter

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutAllowSplitter(EXEDITLib::exBothSplitter);
spEdit1->PutSplitPaneHeight(128);
spEdit1->PutSplitPaneWidth(128);

120:
How can I select a line

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutLineNumberWidth(18);
spEdit1->PutHideSelection(VARIANT_FALSE);
spEdit1->SelectLine(3);

119:
How do I change the font to display the line numbers

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->GetLineNumberFont()->PutName(L"Tahoma");
spEdit1->PutLineNumberWidth(18);

118:
How can I change the height of the line

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->GetFont()->PutSize(_variant_t(long(32)));
spEdit1->PutDrawGridLines(VARIANT_TRUE);
spEdit1->Refresh();

117:
How can I show or hide the grid lines

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutDrawGridLines(VARIANT_TRUE);

116:
How do I highlight the position of multiple lines expression on the vertical scroll bar

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutAllowMark(VARIANT_TRUE);
spEdit1->PutMarkContinueBlocks(VARIANT_TRUE);
spEdit1->AddKeyword(L"<b>CAxWnd",vtMissing,vtMissing,vtMissing);
spEdit1->AddExpression(L"<fgcolor=800000><b>BEGIN_MSG_MAP</b></fgcolor>",L"<b><fgcolor=FF0000> </fgcolor></b>",L"<fgcolor=800000><b>END_MSG_MAP</b></fgcolor>",VARIANT_TRUE,vtMissing);
spEdit1->PutMarkColor(L"BEGIN_MSG_MAP",RGB(255,0,0));
spEdit1->PutMarkColor(L"END_MSG_MAP",RGB(128,0,0));
spEdit1->PutMarkColor(L"CAxWnd",RGB(0,0,0));
spEdit1->Refresh();

115:
How do I ignore \" in a string

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->InsertText(L"\"just a string \\\"expression\"\\r\\n",long(1));
spEdit1->AddExpression(L"<fgcolor=800000><b>\"</b></fgcolor>",L"<b><fgcolor=FF0000> </fgcolor></b>",L"<fgcolor=800000><b>\"</b></fgcolor>",VARIANT_TRUE,vtMissing);
spEdit1->PutIgnorePrefixInExpression(L"\"",L"\\");
spEdit1->Refresh();

114:
How can I change the color for the line number's border

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutLineNumberBorderColor(RGB(255,0,0));
spEdit1->PutLineNumberWidth(18);

113:
How can I change the color for the bookmark's border

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutBookmarkBorderColor(RGB(255,0,0));
spEdit1->PutBookmarkWidth(18);

112:
Can I display a custom icon or picture for bookmarks

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->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=");
spEdit1->PutBookmarkImage(1);
spEdit1->PutBookmark(2,VARIANT_TRUE);
spEdit1->PutBookmark(4,VARIANT_TRUE);
spEdit1->PutBookmarkWidth(18);

111:
Can I display a custom icon or picture in the bookmark area

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->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=");
spEdit1->PutBookmarkImageLine(2,1);
spEdit1->PutBookmark(4,VARIANT_TRUE);
spEdit1->PutBookmarkWidth(18);

110:
How do I remove the line's background color
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutBackColorLine(1,RGB(255,0,0));
spEdit1->ClearBackColorLine(1);

109:
How do I change the foreground color for a line

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutForeColorLine(1,RGB(255,0,0));

108:
How do I change the background color for a line

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutBackColorLine(1,RGB(255,0,0));

107:
How can I add my own items in the control's context menu

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutContextMenuItems(L"New Item");

106:
How do I ensure that a specified line is visible

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->EnsureVisibleLine(spEdit1->GetCount());

105:
How can I programmatically perform a REDO operation
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->Redo();

104:
How can I programmatically perform an UNDO operation
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->Undo();

103:
How do I get the bookmarks as a list

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutBookmark(2,VARIANT_TRUE);
spEdit1->PutBookmark(4,VARIANT_TRUE);
spEdit1->PutBookmarkWidth(16);
_variant_t var_BookmarksList = spEdit1->GetBookmarksList();

102:
How can I move to the previous bookmark

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutBookmark(2,VARIANT_TRUE);
spEdit1->PutBookmark(4,VARIANT_TRUE);
spEdit1->PutBookmarkWidth(16);
spEdit1->PrevBookmark();

101:
How can I move to the next bookmark

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutBookmark(2,VARIANT_TRUE);
spEdit1->PutBookmark(4,VARIANT_TRUE);
spEdit1->PutBookmarkWidth(16);
spEdit1->NextBookmark();

100:
How can I remove a bookmark
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutBookmark(2,VARIANT_TRUE);
spEdit1->PutBookmark(2,VARIANT_FALSE);
spEdit1->PutBookmarkWidth(16);

99:
How can I remove all bookmarks
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutBookmark(2,VARIANT_TRUE);
spEdit1->PutBookmark(4,VARIANT_TRUE);
spEdit1->PutBookmarkWidth(16);
spEdit1->ClearBookmarks();

98:
How can I add a bookmark

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutBookmark(2,VARIANT_TRUE);
spEdit1->PutBookmark(4,VARIANT_TRUE);
spEdit1->PutBookmarkWidth(16);

97:
How can I change the format to display the numbers

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutFormatNumbers(L"<b><fgcolor=FF0000> </fgcolor></b>");
spEdit1->InsertText(L"Just numbers: 12 22\\r\\n",long(1));

96:
Is there any option to change the color for the line that displays the cursor or the caret

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutBackColorCaretLine(RGB(255,0,0));

95:
Can I display the lines using an alternate color

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutBackColorAlternate(RGB(255,0,0));

94:
How can I disable or enable displaying the Replace dialog
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutAllowReplace(VARIANT_FALSE);

93:
Does your control support incrementasl search

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutAllowIncrementalSearch(VARIANT_TRUE);

92:
How can I programmatically find or search for a word only
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutHideSelection(VARIANT_FALSE);
spEdit1->Find(L"IDD_DIALOG_INSTALL",EXEDITLib::exMatchWholeWordOnly);

91:
How can I programmatically find or search for a string

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutHideSelection(VARIANT_FALSE);
spEdit1->Find(L"public",EXEDITLib::exSearchDown);

90:
How can I disable or enabled the Find dialog
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutAllowFind(VARIANT_FALSE);

89:
How can I enable my button as the control can perform an REDO operation

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
VARIANT_BOOL var_CanRedo = spEdit1->GetCanRedo();

88:
How can I enable my button as the control can perform an UNDO operation
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
VARIANT_BOOL var_CanUndo = spEdit1->GetCanUndo();

87:
How can I disable or enable the undo-redo feature

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutAllowUndoRedo(VARIANT_FALSE);

86:
How can I change the color for the border where the line numbers are displayed

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutLineNumberForeColor(RGB(255,0,0));
spEdit1->PutLineNumberBackColor(RGB(0,0,255));
spEdit1->PutLineNumberWidth(32);

85:
How can I change the color of the bookmark border

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutBookMarkBackColor(RGB(255,0,0));
spEdit1->PutBookMarkBackColor2(RGB(255,0,0));
spEdit1->PutBookmarkWidth(16);

84:
How can I refresh the control

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->AddKeyword(L"<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",vtMissing);
spEdit1->Refresh();

83:
How can I change the size of the tabs characters

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutTabLength(8);

82:
I've seen that if I press CTRL + ( I get the matching braket. How can I extend this
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutOpenBrackets(L"<");
spEdit1->PutCloseBrackets(L">");

81:
How can I hide the selection
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutDisplaySelection(VARIANT_FALSE);

80:
How can I display both scroll bars

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutScrollBars(EXEDITLib::exBoth);

79:
How can I display only the vertical scroll bar

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutScrollBars(EXEDITLib::exVertical);

78:
How can I display only the horizontal scroll bar

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutScrollBars(EXEDITLib::exHorizontal);

77:
How can I hide the control's scroll bars

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutScrollBars(EXEDITLib::exNoScroll);

76:
How can I insert at specified position a new line

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->InsertText(L"newline\\r\\n",long(2));
spEdit1->PutBackColorLine(2,RGB(255,0,0));

75:
How can I remove or delete all lines
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutText(L"");

74:
How can I remove or delete a line

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->DeleteLine(1);

73:
How do I change the character where the caret or the cursor is displayed
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutCaretPos(10);

72:
How do I change the line where the caret or the cursor is displayed
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutCaretLine(10);

71:
How do I replace a line

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutTextLine(1,L"new line");

70:
How do I get a line
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutTextLine(1,L"new line");

69:
How do I get the number of lines in the control
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
long var_Count = spEdit1->GetCount();

68:
How do I get the point where the selection starts

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutSelStart(4);
spEdit1->PutSelLength(10);
spEdit1->PutHideSelection(VARIANT_FALSE);

67:
How do I get the number of selected characters

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutSelLength(10);
spEdit1->PutHideSelection(VARIANT_FALSE);

66:
How can I get the selected text
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutSelLength(10);
_bstr_t var_SelText = spEdit1->GetSelText();

65:
How can I replace the selected text

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutSelLength(10);
spEdit1->PutSelText(L"-new selection-");

64:
How can I avoid changing the colors for keywords or expressions

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutApplyColors(VARIANT_FALSE);
spEdit1->AddKeyword(L"<fgcolor=FF0000><b>class</b></fgcolor>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",vtMissing);
spEdit1->Refresh();

63:
How can I display HTML text

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutEditType(EXEDITLib::exHTML);
spEdit1->PutText(L"<b>just a HTML text</b>\\r\\nnew <s>line</s>");

62:
How can I use it a a simple edit control, without highlighting

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutEditType(EXEDITLib::exStandard);

57:
How can I display only a single line
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutMultiLine(VARIANT_FALSE);

56:
How can I disable displaying multiple lines
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutMultiLine(VARIANT_FALSE);

55:
How can change the color for selected text

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutHideSelection(VARIANT_FALSE);
spEdit1->PutSelLength(10);
spEdit1->PutSelBackColor(RGB(255,0,0));

54:
How can change the color for selected text

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutHideSelection(VARIANT_FALSE);
spEdit1->PutSelLength(10);
spEdit1->PutSelForeColor(RGB(255,0,0));

53:
How can I disable displaying the control's context menu
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutAllowContextMenu(VARIANT_FALSE);

52:
Is there any option to hide the caret or the cursor
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutShowCaret(VARIANT_FALSE);

51:
How can still display the selected text when the control loses the focus

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutHideSelection(VARIANT_FALSE);
spEdit1->PutSelLength(10);

50:
How can I disable adding new TAB characters when the user enters a new line
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutAutoIndent(VARIANT_FALSE);

49:
How can I disable using the Tab key
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutUseTabKey(VARIANT_FALSE);

48:
How can I hide the number of each line
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutLineNumberWidth(0);

47:
How can I display or show the number of each line

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutLineNumberWidth(32);

46:
How can I clear the text
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutText(L"");

45:
How can I specify the text being displayed in the control

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutText(L"new line\\r\\nnew line");

44:
How can I hide the bookmark border
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutBookmarkWidth(0);

43:
How can I show the bookmark border

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutBookmarkWidth(16);

42:
How do I lock the control

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutLocked(VARIANT_TRUE);

41:
How do I disable or enable the control
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutEnabled(VARIANT_FALSE);

40:
How can I change the visual appearance of the splitter

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutAllowSplitter(EXEDITLib::exBothSplitter);
spEdit1->PutSplitPaneWidth(128);
spEdit1->PutSplitPaneHeight(128);
spEdit1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spEdit1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn");
spEdit1->PutBackground(EXEDITLib::exHSplitterApp,0x1000000);
spEdit1->PutBackground(EXEDITLib::exVSplitterApp,0x1000000);
spEdit1->PutBackground(EXEDITLib::exISplitterApp,0x2000000);

39:
How can I change the visual appearance of the vertical splitter

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutAllowSplitter(EXEDITLib::exBothSplitter);
spEdit1->PutSplitPaneWidth(128);
spEdit1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spEdit1->PutBackground(EXEDITLib::exHSplitterApp,0x1000000);

38:
How can I change the visual appearance of the horizontal splitter

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutAllowSplitter(EXEDITLib::exBothSplitter);
spEdit1->PutSplitPaneHeight(128);
spEdit1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spEdit1->PutBackground(EXEDITLib::exVSplitterApp,0x1000000);

37:
How do I change the visual aspect for thumb parts in the scroll bars, using EBN

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spEdit1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn");
spEdit1->GetVisualAppearance()->Add(3,"c:\\exontrol\\images\\hot.ebn");
spEdit1->PutBackground(EXEDITLib::exHSThumb,0x1000000);
spEdit1->PutBackground(EXEDITLib::exHSThumbP,0x2000000);
spEdit1->PutBackground(EXEDITLib::exHSThumbH,0x3000000);
spEdit1->PutBackground(EXEDITLib::exVSThumb,0x1000000);
spEdit1->PutBackground(EXEDITLib::exVSThumbP,0x2000000);
spEdit1->PutBackground(EXEDITLib::exVSThumbH,0x3000000);

36:
How do I change the visual aspect only for the thumb in the scroll bar, using EBN

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spEdit1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn");
spEdit1->GetVisualAppearance()->Add(3,"c:\\exontrol\\images\\hot.ebn");
spEdit1->PutBackground(EXEDITLib::exHSThumb,0x1000000);
spEdit1->PutBackground(EXEDITLib::exHSThumbP,0x2000000);
spEdit1->PutBackground(EXEDITLib::exHSThumbH,0x3000000);
spEdit1->PutScrollThumbSize(EXEDITLib::exHScroll,96);

35:
I've seen that you can change the visual appearance for the scroll bar. How can I do that

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spEdit1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn");
spEdit1->GetVisualAppearance()->Add(3,"c:\\exontrol\\images\\hot.ebn");
spEdit1->PutBackground(EXEDITLib::exSBtn,0x1000000);
spEdit1->PutBackground(EXEDITLib::exSBtnP,0x2000000);
spEdit1->PutBackground(EXEDITLib::exSBtnH,0x3000000);
spEdit1->PutBackground(EXEDITLib::exHSBack,RGB(240,240,240));
spEdit1->PutBackground(EXEDITLib::exVSBack,RGB(240,240,240));
spEdit1->PutBackground(EXEDITLib::exSizeGrip,RGB(240,240,240));

34:
Can I change the forecolor for the tooltip

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutToolTipDelay(1);
spEdit1->PutToolTipWidth(364);
spEdit1->PutBackground(EXEDITLib::exToolTipForeColor,RGB(255,0,0));
spEdit1->AddKeyword(L"<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",vtMissing);
spEdit1->Refresh();

33:
Can I change the background color for the tooltip

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutToolTipDelay(1);
spEdit1->PutToolTipWidth(364);
spEdit1->PutBackground(EXEDITLib::exToolTipBackColor,RGB(255,0,0));
spEdit1->AddKeyword(L"<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",vtMissing);
spEdit1->Refresh();

32:
Can I change the default border of the tooltip, using your EBN files

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutToolTipDelay(1);
spEdit1->PutToolTipWidth(364);
spEdit1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spEdit1->PutBackground(EXEDITLib::exToolTipAppearance,0x1000000);
spEdit1->AddKeyword(L"<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",vtMissing);
spEdit1->Refresh();

31:
How do I call your x-script language

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->ExecuteTemplate(L"BackColor = RGB(255,0,0)");

30:
How do I call your x-script language

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutTemplate(L"BackColor = RGB(255,0,0)");

29:
Can I change the font for the tooltip

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutToolTipDelay(1);
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'stdole' for the library: 'OLE Automation'

	#import <stdole2.tlb>
*/
stdole::FontPtr var_StdFont = spEdit1->GetToolTipFont();
	var_StdFont->PutName(L"Tahoma");
	var_StdFont->PutSize(_variant_t(long(14)));
spEdit1->PutToolTipWidth(364);
spEdit1->AddKeyword(L"<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",vtMissing);
spEdit1->Refresh();

28:
I've seen that the width of the tooltip is variable. Can I make it larger

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutToolTipWidth(328);
spEdit1->AddKeyword(L"<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",vtMissing);
spEdit1->Refresh();

27:
How do I let the tooltip being displayed longer

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutToolTipPopDelay(10000);
spEdit1->AddKeyword(L"<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",vtMissing);
spEdit1->Refresh();

26:
How do I disable showing the tooltip for all control
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutToolTipDelay(0);
spEdit1->AddKeyword(L"<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",vtMissing);
spEdit1->Refresh();

25:
How do I show the tooltip quicker

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutToolTipDelay(1);
spEdit1->AddKeyword(L"<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",vtMissing);
spEdit1->Refresh();

24:
Can I change the order of the buttons in the scroll bar

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutScrollOrderParts(EXEDITLib::exHScroll,L"t,l,r");
spEdit1->PutScrollOrderParts(EXEDITLib::exVScroll,L"t,l,r");

23:
The thumb size seems to be very small. Can I make it bigger

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutScrollThumbSize(EXEDITLib::exHScroll,164);

22:
How do I enlarge or change the size of the control's scrollbars

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutScrollHeight(18);
spEdit1->PutScrollWidth(18);
spEdit1->PutScrollButtonWidth(18);
spEdit1->PutScrollButtonHeight(18);

21:
How can I display my text on the scroll bar, using a different font

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutScrollPartCaption(EXEDITLib::exHScroll,EXEDITLib::exThumbPart,L"This is just a text");
spEdit1->GetScrollFont(EXEDITLib::exHScroll)->PutSize(_variant_t(long(12)));
spEdit1->PutScrollThumbSize(EXEDITLib::exHScroll,128);
spEdit1->PutScrollHeight(24);
spEdit1->PutScrollPartCaption(EXEDITLib::exHScroll,EXEDITLib::exThumbPart,L"This is <s><font Tahoma;12> just </font></s> text");
spEdit1->PutScrollHeight(20);

20:
How can I display my text on the scroll bar

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutScrollPartCaption(EXEDITLib::exHScroll,EXEDITLib::exThumbPart,L"this is just a text");
spEdit1->PutScrollThumbSize(EXEDITLib::exHScroll,96);

19:
How do I assign a tooltip to a scrollbar

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spEdit1->PutScrollToolTip(EXEDITLib::exHScroll,L"This is a <img>0x1000000</img>tooltip being shown when you click and drag the thumb in the horizontal scroll bar");

18:
How do I assign an icon to the button in the scrollbar

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->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=");
spEdit1->PutScrollPartVisible(EXEDITLib::exHScroll,EXEDITLib::exLeftB1Part,VARIANT_TRUE);
spEdit1->PutScrollPartCaption(EXEDITLib::exHScroll,EXEDITLib::exLeftB1Part,L"<img>1</img>");
spEdit1->PutScrollHeight(18);
spEdit1->PutScrollButtonWidth(18);

17:
I need to add a button in the scroll bar. Is this possible

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutScrollPartVisible(EXEDITLib::exHScroll,EXEDITLib::exLeftB1Part,VARIANT_TRUE);
spEdit1->PutScrollPartCaption(EXEDITLib::exHScroll,EXEDITLib::exLeftB1Part,L"1");

16:
Can I display an additional buttons in the scroll bar

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutScrollPartVisible(EXEDITLib::exHScroll,EXEDITLib::exLeftB1Part,VARIANT_TRUE);
spEdit1->PutScrollPartVisible(EXEDITLib::exHScroll,EXEDITLib::exLeftB2Part,VARIANT_TRUE);
spEdit1->PutScrollPartVisible(EXEDITLib::exHScroll,EXEDITLib::exRightB6Part,VARIANT_TRUE);
spEdit1->PutScrollPartVisible(EXEDITLib::exHScroll,EXEDITLib::exRightB5Part,VARIANT_TRUE);

15:
How do I change the control's foreground color

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutForeColor(RGB(255,0,0));

14:
How do I change the control's background color

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutBackColor(RGB(200,200,200));

13:
How can I change the control's font

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->GetFont()->PutName(L"Verdana");

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

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutPicture(IPictureDispPtr(((IDispatch*)(spEdit1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spEdit1->PutPictureDisplay(EXEDITLib::exMiddleCenter);

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

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutPicture(IPictureDispPtr(((IDispatch*)(spEdit1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spEdit1->PutPictureDisplay(EXEDITLib::exStretch);

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

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutPicture(IPictureDispPtr(((IDispatch*)(spEdit1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spEdit1->PutPictureDisplay(EXEDITLib::exLowerRight);

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

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutPicture(IPictureDispPtr(((IDispatch*)(spEdit1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spEdit1->PutPictureDisplay(EXEDITLib::exLowerLeft);

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

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutPicture(IPictureDispPtr(((IDispatch*)(spEdit1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spEdit1->PutPictureDisplay(EXEDITLib::exUpperCenter);

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

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutPicture(IPictureDispPtr(((IDispatch*)(spEdit1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spEdit1->PutPictureDisplay(EXEDITLib::exUpperRight);

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

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutPicture(IPictureDispPtr(((IDispatch*)(spEdit1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spEdit1->PutPictureDisplay(EXEDITLib::exUpperLeft);

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

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutPicture(IPictureDispPtr(((IDispatch*)(spEdit1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));

4:
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 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spEdit1->PutAppearance(EXEDITLib::AppearanceEnum(0x1000000));

3:
How do I remove the control's border

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->PutAppearance(EXEDITLib::exNone);

2:
How can I add a line

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->InsertText(L" - insert the line as the last - \\r\\n",vtMissing);

1:
How can I insert a line

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXEDITLib' for the library: 'ExEdit 1.0 Control Library'

	#import <ExEdit.dll>
	using namespace EXEDITLib;
*/
EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown();
spEdit1->InsertText(L" - insert the line as the first - \\r\\n",long(1));