MCPcopy Create free account
hub / github.com/ajkhoury/ReClassEx / PrintText

Method PrintText

ReClass/DialogConsole.cpp:97–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97void CDialogConsole::PrintText( const TCHAR* message )
98{
99 CString MessageText;
100
101 // Make temporarily editable
102 m_Edit.SetReadOnly( FALSE );
103
104 MessageText += _T( "\r\n> " );
105 MessageText += message;
106
107 // Append the text
108 m_Edit.AppendText( MessageText );
109
110 // Send cursor to end of document
111 m_Edit.GoToLine( m_Edit.GetLineCount( ) - 1 );
112
113 // Make read only
114 m_Edit.SetReadOnly( TRUE );
115}
116
117BOOL CDialogConsole::OnInitDialog( )
118{

Callers 1

ReClassPrintConsoleFunction · 0.80

Calls 4

AppendTextMethod · 0.80
GetLineCountMethod · 0.80
SetReadOnlyMethod · 0.45
GoToLineMethod · 0.45

Tested by

no test coverage detected