Terminal Emulation Class Methods  
 
Class Description
CTerminalEmulator Constructor which initializes the current instance of the class.
~CTerminalEmulator Destructor which releases resources allocated by the class.
Method Description
AttachHandle Attach the specified display handle to this instance of the class.
Clear Clear the virtual display.
ConvertPos Convert between pixel and screen coordinates.
CopySelectedText Copy the selected text to the clipboard.
Create Create a new virtual terminal emulation display.
DeleteChar Delete the specified number of characters.
DeleteLine Delete the current line, shifting remaining lines up.
DetachHandle Detach the handle for the current instance of this class.
EraseChar Erase the specified number of characters.
EraseLine Erase the current line.
GetAttributes Return the current display attributes.
GetBackColor Return the current background color.
GetCell Return information about the specified cell in the virtual display.
GetCellSize Return the size of the display character cells.
GetColor Get the current virtual display colors.
GetColorMap Return the virtual display color table.
GetCursorPos Return the current cursor position.
GetDisplayInfo Return information about the virtual display.
GetDC Get the current virtual display device context.
GetEmulation Get the current terminal emulation type.
GetFont Get the current virtual display font.
GetForeColor Return the current foreground color.
GetLine Return a line of text from the virtual display.
GetMode Get the current virtual display mode.
GetRect Return the rectangle for the display window client area.
GetScrollPos Get the display scroll box position.
GetSize Return the current size of the virtual display.
GetText Get the specified block of text from the virtual display.
GetWindow Get the current virtual display window.
GetHandle Return the display handle used by this instance of the class.
GetMappedKey Return the escape sequence for the mapped key.
GetScrollRegion Return the current scrolling region.
GetSelectedText Return the currently selected text.
GetTextColor Return the current text foreground or background color.
InsertChar Insert the specified number of characters.
InsertLine Insert a line, shifting the remaining lines down.
IsInitialized Determine if the class has been successfully initialized.
Refresh Refresh the specified display.
Reset Reset the virtual display.
ResetMappedKeys Reset the mapped key table to default values.
Resize Resize the virtual display.
RestoreCursor Restore the saved cursor position and text attributes.
SaveCursor Save the current cursor position and text attributes.
Scroll Scroll the virtual display.
SelectText Select a region of the virtual display.
SetAttributes Set the current display attributes.
SetBackColor Set the background color for the virtual display.
SetBoldColor Set the bold color for the virtual display.
SetCell Set the value of a character cell in the virtual display.
SetColor Set the virtual display colors.
SetColorMap Set the virtual display color table.
SetCursorPos Set the current cursor position.
SetDC Set the current virtual display device context.
SetEmulation Set the current terminal emulation type.
SetFocus Set the focus on the virtual display.
SetFont Set the current virtual display font.
SetForeColor Set the foreground color for the virtual display.
SetMode Set the current virtual display mode.
SetScrollPos Set the display scroll box position.
SetSize Set the size of the virtual display.
SetWindow Set the current virtual display window.
SetMappedKey Set the escape sequence for the specified key.
SetScrollRegion Set the current scrolling region.
SetTextColor Set the current text foreground or background color.
TranslateMappedKey Translate the keypress to a mapped key escape sequence.
Update Update the window attached to the virtual display.
UpdateCaret Update the display window caret.
Write Write the specified buffer to the virtual display.