205 |
Is it possible to show just expressions
|
204 |
How can I stop any highlight
|
203 |
How can I highlight the start of the line until a specified character is found
|
202 |
Can I use code completion without any UI
/* 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(EXEDITLib::exCodeCompletionEnableNoUI); 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); |
201 |
How can I hide the control's horizontal scroll bar
|
200 |
Is it possible to change the line's height
|
199 |
How to bold everything between two * (asterisk) characters
|
198 |
How to bold everything that starts with * (asterisk), to the end of the line
|
197 |
How to make a * (asterisk) bold, not the entire / rest line
|
196 |
How can I change the control's font (template)
/* 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"Font { Name = `Consolas`; Size = 12 }"); spEdit1->AddKeyword(L"<fgcolor=FF0000>class</fgcolor>",vtMissing,vtMissing,vtMissing); spEdit1->Refresh(); |
195 |
How can I change the control's font (runtime)
/* 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(); /* 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->GetFont(); var_StdFont->PutName(L"Consolas"); var_StdFont->PutSize(_variant_t(long(12))); spEdit1->AddKeyword(L"<fgcolor=FF0000>class</fgcolor>",vtMissing,vtMissing,vtMissing); spEdit1->Refresh(); |
194 |
When I click and drag to try and select some text, sometimes my cursor turns into a hand and drags the whole text in the window around. I would like to disable this feature, could you tell me what it is called so I can disable it please
|
193 |
How can I display information about events the control fires
|
192 |
How do I highlights words based on wild characters
|
191 |
How do I highlights words based on wild characters
|
190 |
How can I provide different tooltip for the same keyword
// QueryContext event - Queries for the context at the specified location, to provide different tooltips for the same keyword on QueryContextToolTip event. void OnQueryContextEdit1(long XCursor,long YCursor,VARIANT FAR* QContext) { /* 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(); QContext = YCursor; } // QueryContextToolTip event - Asks for the tooltip/title of the keyword on the context retrieved by the QueryContext event. void OnQueryContextToolTipEdit1(LPCTSTR QContext,LPCTSTR Keyword,VARIANT FAR* QToolTip,VARIANT FAR* QToolTipTitle) { EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown(); QToolTip = QContext; QToolTipTitle = "Keyword Found At Line:"; } EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown(); spEdit1->PutLineNumberWidth(-1); spEdit1->PutLineNumberBackColor(RGB(240,240,240)); spEdit1->AddKeyword(L"<fgcolor=FF0000><b>keyword</b></fgcolor>",vtMissing,vtMissing,vtMissing); spEdit1->PutText(L""); spEdit1->InsertText(L"here's the keyword on the first line",vtMissing); spEdit1->InsertText(L"\\r\\nhere's the keyword on the second line",vtMissing); spEdit1->InsertText(L"\\r\\nhere's the keyword on the third line",vtMissing); |
189 |
Is it possible to left, right or center align the inline 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->PutLineNumberWidth(-1); spEdit1->PutLineNumberBackColor(RGB(240,240,240)); spEdit1->PutCaretLine(6); spEdit1->PutBackground(EXEDITLib::exTempInlineToolTipBackColor,RGB(240,240,240)); spEdit1->PutTempInlineToolTip(L"<font ;6>Left Alignment<br><c>Center Alignment<br><r>Right Alignment"); spEdit1->Refresh(); |
188 |
Is it possible to display the inline tooltip with a different appearance than temporarily inline 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->PutLineNumberWidth(-1); spEdit1->PutLineNumberBackColor(RGB(240,240,240)); spEdit1->AddKeyword(L"<b>class</b>",_bstr_t("<r>a set or category of things having some property or attribute in common and differentiated from others by kind, type, or qua") + "lity.",vtMissing,vtMissing); spEdit1->PutAllowInlineToolTip(EXEDITLib::AllowInlineToolTipEnum(EXEDITLib::exInlineToolTipWordWrap | EXEDITLib::exInlineToolTip)); spEdit1->PutBackground(EXEDITLib::exInlineToolTipForeColor,RGB(128,128,128)); spEdit1->PutBackground(EXEDITLib::exInlineToolTipBackColor,RGB(240,240,240)); spEdit1->PutCaretLine(6); spEdit1->PutBackground(EXEDITLib::exTempInlineToolTipBackColor,RGB(255,40,0)); spEdit1->PutBackground(EXEDITLib::exTempInlineToolTipForeColor,RGB(0,0,1)); spEdit1->PutTempInlineToolTip(_bstr_t("<br><c><font ;12>This is a bit of text that's shown temporarily only. <br><c>Now, click the <off -4><b>class</b></off> keyword,") + " in the top...<br>"); spEdit1->Refresh(); |
187 |
How can I display the inline tooltip over the lines, instead pushing the 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->PutLineNumberWidth(-1); spEdit1->PutLineNumberBackColor(RGB(240,240,240)); spEdit1->PutBackground(EXEDITLib::exTempInlineToolTipBackColor,RGB(255,255,0)); spEdit1->PutCaretLine(3); spEdit1->PutTempInlineToolTip(L"This is a bit of text that's shown under the current line, and it is displayed as soon as the control's caret is changed."); spEdit1->PutAllowInlineToolTip(EXEDITLib::AllowInlineToolTipEnum(EXEDITLib::exInlineToolTipWordWrap | EXEDITLib::exInlineToolTipOver)); spEdit1->Refresh(); |
186 |
Is it possible to display the inline tooltip all the time
// SelChange event - Occurs when the user selects text in the control. void OnSelChangeEdit1() { /* 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->PutTempInlineToolTip(L"This is a bit of text that's shown under the current line, and it is displayed as soon as the control's caret is changed."); } EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown(); spEdit1->PutLineNumberWidth(-1); spEdit1->PutLineNumberBackColor(RGB(240,240,240)); spEdit1->PutBackground(EXEDITLib::exTempInlineToolTipBackColor,RGB(255,255,0)); spEdit1->PutCaretLine(12); spEdit1->PutAllowInlineToolTip(EXEDITLib::exInlineToolTipWordWrap); spEdit1->Refresh(); |
185 |
Is it possible to display images in the inline tooltip
|
184 |
How can I change the visual appearance of the temporarily inline 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->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spEdit1->PutLineNumberWidth(-1); spEdit1->PutLineNumberBackColor(RGB(240,240,240)); spEdit1->PutCaretLine(4); spEdit1->PutBackground(EXEDITLib::exTempInlineToolTipBackColor,0x1000000); spEdit1->PutAllowInlineToolTip(EXEDITLib::exInlineToolTipWordWrap); spEdit1->PutTempInlineToolTip(L"This is a bit of text that's shown programatically under the current line"); |
183 |
How can I display programmatically the inline tooltip, but using word-wrapping
/* 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(-1); spEdit1->PutLineNumberBackColor(RGB(240,240,240)); spEdit1->PutCaretLine(4); spEdit1->PutBackground(EXEDITLib::exTempInlineToolTipBackColor,RGB(240,240,240)); spEdit1->PutAllowInlineToolTip(EXEDITLib::exInlineToolTipWordWrap); spEdit1->PutTempInlineToolTip(L"This is a bit of text that's shown programatically under the current line"); |
182 |
How can I display programmatically the inline 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->PutLineNumberWidth(-1); spEdit1->PutLineNumberBackColor(RGB(240,240,240)); spEdit1->PutCaretLine(4); spEdit1->PutBackground(EXEDITLib::exTempInlineToolTipBackColor,RGB(240,240,240)); spEdit1->PutTempInlineToolTip(L"<br><c>This is a bit of text that's shown programatically under the current line<br>"); |
181 |
How can I show the inline tooltip with a different appearance
/* 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->PutLineNumberWidth(-1); spEdit1->PutLineNumberBackColor(RGB(240,240,240)); spEdit1->AddKeyword(L"<b>class</b>",_bstr_t("a set or category of things having some property or attribute in common and differentiated from others by kind, type, or qualit") + "y.",vtMissing,vtMissing); spEdit1->PutAllowInlineToolTip(EXEDITLib::AllowInlineToolTipEnum(EXEDITLib::exInlineToolTipWordWrap | EXEDITLib::exInlineToolTip)); spEdit1->PutBackground(EXEDITLib::exInlineToolTipBackColor,0x1000000); spEdit1->PutBackground(EXEDITLib::exInlineToolTipForeColor,RGB(128,0,0)); spEdit1->Refresh(); |
180 |
Is it possible to prevent moving the lines after the inline 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->PutLineNumberWidth(-1); spEdit1->PutLineNumberBackColor(RGB(240,240,240)); spEdit1->AddKeyword(L"<b>class</b>",_bstr_t("a set or category of things having some property or attribute in common and differentiated from others by kind, type, or qualit") + "y.",vtMissing,vtMissing); spEdit1->PutAllowInlineToolTip(EXEDITLib::AllowInlineToolTipEnum(EXEDITLib::exInlineToolTipWordWrap | EXEDITLib::exInlineToolTipOver | EXEDITLib::exInlineToolTip)); spEdit1->PutBackground(EXEDITLib::exInlineToolTipBackColor,RGB(255,255,0)); spEdit1->Refresh(); |
179 |
How can I display the inline tooltip, when typing 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->PutLineNumberWidth(-1); spEdit1->PutLineNumberBackColor(RGB(240,240,240)); spEdit1->PutToolTipOnTyping(VARIANT_FALSE); spEdit1->AddKeyword(L"<b>class</b>",_bstr_t("a set or category of things having some property or attribute in common and differentiated from others by kind, type, or qualit") + "y.",vtMissing,vtMissing); spEdit1->PutAllowInlineToolTip(EXEDITLib::AllowInlineToolTipEnum(EXEDITLib::exInlineToolTipWordWrap | EXEDITLib::exInlineToolTipOnChange)); spEdit1->PutBackground(EXEDITLib::exInlineToolTipBackColor,RGB(240,240,240)); spEdit1->Refresh(); |
178 |
How do I enable the inline tooltip support
/* 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(-1); spEdit1->PutLineNumberBackColor(RGB(240,240,240)); spEdit1->AddKeyword(L"<b>class</b>",_bstr_t("a set or category of things having some property or attribute in common and differentiated from others by kind, type, or qualit") + "y.",vtMissing,vtMissing); spEdit1->PutAllowInlineToolTip(EXEDITLib::AllowInlineToolTipEnum(EXEDITLib::exInlineToolTipWordWrap | EXEDITLib::exInlineToolTip)); spEdit1->PutBackground(EXEDITLib::exInlineToolTipForeColor,RGB(128,128,128)); spEdit1->Refresh(); |
177 |
How do I display a tooltip for a non-keyword
|
176 |
How do I get the text from the cursor
|
175 |
I've noticed that while I type, the control's sensitive context selects the item that contains the typing word, so the question is how can I disable it
|
174 |
I have a context that inserts some comments, it is possible to set the cursor before comment begins, when user selects a value from the control's sensitive context
|
173 |
How can I show a different sensitive context when user press a key/character
// Change event - Indicates that the control's text have changed. void OnChangeEdit1() { /* 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->ShowContext(spEdit1->GetChangeOnKey()); spEdit1->PutActiveContextItems(L""); } EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown(); spEdit1->PutText(L""); spEdit1->InsertText(L"Press .(dot), :(color) or =(equal), to get different sensitive context",vtMissing); spEdit1->PutActiveContextItems(L""); EXEDITLib::IEditContextPtr var_Context = spEdit1->GetContext("61"); var_Context->Add(L"Equal_1",vtMissing,vtMissing,vtMissing); var_Context->Add(L"Equal_2",vtMissing,vtMissing,vtMissing); EXEDITLib::IEditContextPtr var_Context1 = spEdit1->GetContext("46"); var_Context1->Add(L"Dot_1",vtMissing,vtMissing,vtMissing); var_Context1->Add(L"Dot_2",vtMissing,vtMissing,vtMissing); EXEDITLib::IEditContextPtr var_Context2 = spEdit1->GetContext("58"); var_Context2->Add(L"Colon_1",vtMissing,vtMissing,vtMissing); var_Context2->Add(L"Colon_2",vtMissing,vtMissing,vtMissing); |
172 |
How can I allow spaces when control's sentitive context is shown/opened
|
171 |
How can I display more pages on the control's senitive context
|
170 |
Is it possible to disable showing tooltip for items in the control's senitive 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(); EXEDITLib::IEditContextPtr var_Context = spEdit1->GetContext(vtMissing); var_Context->Add(L"Column",vtMissing,vtMissing,vtMissing); var_Context->PutOptions(EXEDITLib::exContextItemToolTip,"This is bit of text that shown when user selects the <b>Column</b> item."); var_Context->Add(L"Item",vtMissing,vtMissing,vtMissing); var_Context->PutOptions(EXEDITLib::exContextItemToolTip,"This is bit of text that shown when user selects the <b>Item</b> item."); var_Context->PutOptions(EXEDITLib::exContextAllowToolTip,VARIANT_FALSE); |
169 |
How can I assign tooltips for items in the control's senitive 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(); EXEDITLib::IEditContextPtr var_Context = spEdit1->GetContext(vtMissing); var_Context->Add(L"Column",vtMissing,vtMissing,vtMissing); var_Context->PutOptions(EXEDITLib::exContextItemToolTip,"This is bit of text that shown when user selects the <b>Column</b> item."); var_Context->Add(L"Item",vtMissing,vtMissing,vtMissing); var_Context->PutOptions(EXEDITLib::exContextItemToolTip,"This is bit of text that shown when user selects the <b>Item</b> item."); |
168 |
By default, the control shows the Context(""). How can I display other items
|
167 |
How can I show the control's sensitive context
|
166 |
How can I provide different sensitive context
// Change event - Indicates that the control's text have changed. void OnChangeEdit1() { /* 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->ShowContext(spEdit1->GetChangeOnKey()); } EXEDITLib::IEditPtr spEdit1 = GetDlgItem(IDC_EDIT1)->GetControlUnknown(); spEdit1->PutText(L""); spEdit1->InsertText(L"Press .(dot), :(colon) or CTRL + SPACE to invoke the control's context",vtMissing); EXEDITLib::IEditContextPtr var_Context = spEdit1->GetContext(vtMissing); var_Context->Add(L"General_1",vtMissing,vtMissing,vtMissing); var_Context->Add(L"General_2",vtMissing,vtMissing,vtMissing); EXEDITLib::IEditContextPtr var_Context1 = spEdit1->GetContext("46"); var_Context1->Add(L"Property_1",vtMissing,vtMissing,vtMissing); var_Context1->Add(L"Property_2",vtMissing,vtMissing,vtMissing); var_Context1->Add(L"Property_3",vtMissing,vtMissing,vtMissing); EXEDITLib::IEditContextPtr var_Context2 = spEdit1->GetContext("58"); var_Context2->Add(L"Method_1",vtMissing,vtMissing,vtMissing); var_Context2->Add(L"Method_2",vtMissing,vtMissing,vtMissing); var_Context2->Add(L"Method_3",vtMissing,vtMissing,vtMissing); |
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
|
160 |
How do I specify the characters to close the sensitive context
|
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
|
156 |
How do I enable or disable the sensitive context menu
|
155 |
How can I add a sensitive context menu
|
154 |
Can I use wild characters to define keys in your control
|
153 |
Can I use wild characters to define keys in your control
|
152 |
How can I remove or delete all expressions
|
151 |
How can I remove or delete an expression
|
150 |
How can I add an expression
|
149 |
How can I add an expression on multiple lines
|
148 |
How can I remove or delete all keywords
|
147 |
How can I remove or delete keyword
|
146 |
How do I add a keyword that's not case sensitive
|
145 |
How do I add a keyword that's not case sensitive
|
144 |
How can I assign a tooltip to a keyword
|
143 |
How do I add a keyword
|
142 |
How do I add a keyword
|
141 |
How can I display a tooltip as soon as the user types a keyword
|
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
|
138 |
How do I start overtyping
|
137 |
How do I get the selection
|
136 |
How do I select multiple lines
|
135 |
How can I change the shape of the cursor when it hovers the selected text
|
134 |
How can I change the shape of the cursor when it hovers the incremental search area
|
133 |
How can I change the shape of the cursor when it hovers the line numbers area
|
132 |
How can I change the shape of the cursor when it hovers the bookmark area
|
131 |
How can I change the shape of the cursor when it hovers the edit
|
130 |
How can I enable or disable OLE drag and drop operations
|
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
|
125 |
How can I change the caption for the Find dialog
|
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
|
122 |
How can I indent a line
|
121 |
How can I show or hide the control's splitter
|
120 |
How can I select a line
|
119 |
How do I change the font to display the line numbers
|
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
|
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
|
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
|
111 |
Can I display a custom icon or picture in the bookmark area
|
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
|
106 |
How do I ensure that a specified line is visible
|
105 |
How can I programmatically perform a REDO operation
|
104 |
How can I programmatically perform an UNDO operation
|
103 |
How do I get the bookmarks as a list
|
102 |
How can I move to the previous bookmark
|
101 |
How can I move to the next bookmark
|