API Console.SetLineText: Difference between revisions
Appearance
XML import |
XML import |
||
| Line 3: | Line 3: | ||
<div style="width:25%; float:right" class="toc"> | <div style="width:25%; float:right" class="toc"> | ||
===Class hierarchy===[[API Console|Console]] | ====Class hierarchy==== | ||
[[API Console|Console]] | |||
:[[API Console|SetLineText]] | :[[API Console|SetLineText]] | ||
</div> | </div> | ||
| Line 9: | Line 10: | ||
==Parameters== | ==Parameters== | ||
[[Variable types|HANDLE]] ''ConsoleHandle'' | |||
:A valid console windows handle | :A valid console windows handle | ||
[[Variable types|ULONG]] ''Line'' | |||
:The zero-based index of the line to write the text to | :The zero-based index of the line to write the text to | ||
[[Variable types|STRING]] ''Text'' | |||
:A single line of text to add to the console | :A single line of text to add to the console | ||
| Line 22: | Line 23: | ||
==Detailed description== | ==Detailed description== | ||
''No additional information'' | ''<span style="color:red;">No additional information</span>'' | ||
==Examples== | ==Examples== | ||
===Calling in a calculation=== | ===Calling in a calculation=== | ||
* Add to a calculation icon: <pre class="brush:[cpp]">::Console.SetLineText(consolehandle, line, "text")</pre> | * Add to a calculation icon: <pre class="brush:[cpp]">::Console.SetLineText(consolehandle, line, "text")</pre> | ||
''<span style="color:red;">No additional information</span>'' | |||
Revision as of 22:10, 11 May 2013
<sidebar>API contents</sidebar> Writes a line of text from the given console, pass -1 for final line
Parameters
HANDLE ConsoleHandle
- A valid console windows handle
ULONG Line
- The zero-based index of the line to write the text to
STRING Text
- A single line of text to add to the console
Return value
This call does not return a value
Detailed description
No additional information
Examples
Calling in a calculation
- Add to a calculation icon:
::Console.SetLineText(consolehandle, line, "text")
No additional information