The VisRichEdit type exposes the following members.
Constructors
Name | Description | |
---|---|---|
VisRichEdit |
Default Constructor.
|
Methods
Name | Description | |
---|---|---|
BringWindowToTop |
Brings a window to the top of all overlapping windows.
| |
CenterWindow |
Centers a window. If the window is a top-level window, it centers it on the
desktop. If the window is a child window, it centers it on top of its parent.
| |
ClearCursor |
Clears a window's cursor.
| |
ConvertFromRTF |
Convert the specified RTF text into text formatting and display the rich text in the control.
| |
ConvertToRTF |
Convert the contents of the control into RTF text.
| |
DestroyWindow |
Destroys a form window, a top-level table window, or a modeless dialog box created
with SalCreateWindow.
| |
DisableWindow |
Disables keyboard and mouse input to a window. If the window contains text (for example,
a push button), the text is grayed. If the window is a data field, it cannot
receive the focus.
| |
EnableWindow |
Enables keyboard and mouse input to a window.
| |
FindChild |
This function finds a child window of a given name in the specified window.
| |
FindText |
Searches the control for the specified text.
| |
FormUnitsToPixels |
Computes the number of pixels in the number of form units. Form units
are a unit of measurement used by functions which move and position
objects. Form units are computed using physical units (pixels) in conjunction
with the window's font size.
| |
FromHandle |
Returns the control associated with the handle.
| |
GetClassName |
Return the name of a window's class as a string.
| |
GetControlType |
Returns an object's type.
| |
GetDefaultCharFormat |
Returns the default character formatting.
| |
GetFirstChild |
Returns the handle of the first child window of the specified type. You can use this
function to get the handles of MDI child windows.
| |
GetFirstVisibleLine |
Returns the topmost visible line number.
| |
GetFont |
Gets a window's font name, size, and enhancements.
| |
GetLimitText |
Gets the limit on the amount of text a user can enter.
| |
GetLine |
Returns the specified line of text.
| |
GetLineCount |
Returns the number of lines of text in the control.
| |
GetLocation |
Returns a window's current position on the X and Y axes.
| |
GetModify |
Returns a flag indicating whether the contents have changed.
| |
GetName()()()() |
Gets the name of an object.
| |
GetName(SalString%) |
Gets the name of an object.
| |
GetNextChild |
Returns the handle of the next child window that matches a specified type.
| |
GetParaFormat |
Returns the paragraph formatting for the current selection.
| |
GetParent |
Returns the handle of an object's parent window.
| |
GetProperty(SalString) |
Gets the value of a named property.
| |
GetProperty(SalString, SalString%) |
Gets the value of a named property.
| |
GetSel |
Returns the starting and ending positions of the current selection.
| |
GetSelectionCharFormat |
Returns the character formatting for the current selection.
| |
GetSelectionType |
Returns flags indicating the selection type.
| |
GetSelText |
Returns the plain text of the current selection.
| |
GetSize |
Returns a window's size.
| |
GetText()()()() |
Returns all plain text in the control (same as SalGetWindowText).
| |
GetText(SalNumber) |
Retrieves the text of a window.
| |
GetText(SalString%, SalNumber) |
Retrieves the text of a window.
| |
GetTextLength |
Returns the length of the plain text in teh control. The text length does not include RTF formatting.
| |
GetWindowColor |
Gets a window's color.
| |
GetWindowState |
Returns a window's current state.
| |
HideSelection |
Hide or show the current selection.
| |
HideWindow |
Hides a window.
| |
InvalidateWindow |
Causes a window to be repainted.
| |
IsDerivedFromClass |
Determines whether a window is an instance of the specified class.
| |
IsEnabled |
Determines whether a window is enabled for mouse and keyboard input.
| |
IsVisible |
Determines whether a window is currently visible.
| |
KillTimer |
Destroys an object's system timer.
| |
LimitText |
Limits the amount of text a user can enter into the object. Changing the text limit restricts only the text the user
can enter. It has no effect on any text already in the control, nor does it affect the length of the text that may be
copied into the control.
| |
LineFromChar |
Return the line number of the line that contains the specified character index.
| |
LineIndex |
Return the character index of the specified line. The character index is the number of characters from the
beginning of the control to the specified line.
| |
LineLength |
Returns the length (in characters) of the specified line.
| |
LineScroll |
Scrolls the text vertically or horizontally.
| |
MoveWindow |
Moves a window a given number of form units on the X and Y axes relative to its current
position.
| |
PixelsToFormUnits |
Computes the number of form units based on the number of pixels.
Form units are a unit of measurement used by functions that move and position objects.
Form units are computed using physical units (pixels) in conjunction
with a window's font sizes.
| |
PostMessage |
Posts the specified message to a window by adding nMsg to hWndReceiver's message
queue.
| |
ReplaceSel |
Replaces the current selection with the specified text.
| |
SendMessage |
Sends the specified message to a window. SalSendMsg does not return until the processing
for the message is complete.
| |
SendMessageToChildren |
Sends a message to all child items of a form window, dialog box, table window, or
MDI window.
| |
SetContextMenu(Type, SalNumber) |
Defines a named popup menu that displays automatically when a window receives SAM_ContextMenu.
| |
SetContextMenu(SalString, SalNumber) |
Defines a named popup menu that displays automatically when a window receives SAM_ContextMenu.
| |
SetCursor(Int32, SalNumber) |
Sets a window's cursor.
| |
SetCursor(SalResourceCursor, SalNumber) |
Sets a window's cursor.
| |
SetCursor(SalString, SalNumber) |
Sets a window's cursor from a string variable.
| |
SetCursorFile |
Sets an application-defined cursor for the specified window. Use this function to
set the cursor from an image stored in a file.
| |
SetDefaultCharFormat |
Sets the default character formatting.
| |
SetFocus |
Sets the focus to a specified window.
| |
SetFont |
Sets a window's font, font size, and font enhancements.
| |
SetLocation |
Moves a window to a new position (x, y) on the X and Y axes.
| |
SetModify |
Sets or clears the modification flag for the control.
| |
SetOptions |
Sets options for the Rich Edit control (see REF flag definitions in global constants).
| |
SetParaFormat |
Sets the paragraph formatting for the first paragraph in the current selection.
| |
SetProperty |
Sets the value of a named property.
| |
SetSel |
Sets the selected (highlighted) text.
| |
SetSelectionCharFormat |
Sets the character formatting for the current selection.
| |
SetSize |
Resizes a window.
| |
SetText |
Sets the text of a window.
| |
SetTimer |
Creates a system timer for a given object. When a timer event occurs, sends
SAM_Timer messages to the object in specified intervals. Timers are a limited
global resource. Your application must check the value returned by SalTimerSet
to verify that the timer was created.
| |
SetWindowColor |
Sets a window's color.
| |
ShowWindow |
Makes a window visible.
| |
TrackPopupMenu(Type, SalNumber, SalNumber, SalNumber) |
Creates pop-up menus at runtime.
| |
TrackPopupMenu(SalString, SalNumber, SalNumber, SalNumber) |
Creates pop-up menus at runtime.
| |
UpdateWindow |
Forces the update of a window.
| |
WinHelp |
Starts the Windows help system.
| |
WndProc |
Redirect Windows message to the implementation object.
(Overrides RichTextBox..::..WndProc(Message%).) | |
Yield |
Processes messages for this control.
|
Operators
Name | Description | |
---|---|---|
ExplicitNarrowingExplicitExplicitExplicit(SalWindowHandle to VisRichEdit) |
Fully qualified expressions operator.
|
Fields
Name | Description | |
---|---|---|
_derived |
Instance of the derived object that inherits this class
as a second base in a multiple inheritance tree.
|
Properties
Name | Description | |
---|---|---|
NamedProperties |
Returns the collection of named properties.
|
Events
Name | Description | |
---|---|---|
MessageActions |