#include <mgui/ctrl.h>
Inheritance diagram for MGUI::CTRL_TEXT:

Public Types | |
| enum | STYLE { STYLE_NoScrollBars = 0x0000, STYLE_ScrollH = 0x0001, STYLE_ScrollV = 0x0002, STYLE_ScrollBoth = (STYLE_ScrollH|STYLE_ScrollV), STYLE_WidthInPixels = 0x0004 } |
Public Member Functions | |
| void | Clear () |
| void | ClearSelection () |
| void | Create (MGUI::LAYOUT_PANE_BASE &ParentPane, int width=40, int height=10, STYLE style=STYLE_NoScrollBars, MGUI::LAYOUT_SIZEALIGN sizealign=MGUI::LAYOUT_SIZEALIGN_Expand) |
| CTRL_TEXT () | |
| CEdit & | GetCtrl () |
| void | SetSelection (int StartChar=0, int EndChar=-1, bool NoScroll=true) |
| void | SetString (const MIUNICODE *string) |
| void | SetTabStops (SIMPLE_ARRAY< int > stops) |
| void | SetTabStops (int cxEachStop) |
Definition at line 2510 of file ctrl.h.
|
|
Style for text control.
|
|
|
Constructor.
|
|
|
Clear the text.
|
|
|
Clear the current selection.
|
|
||||||||||||||||||||||||
|
Create control.
|
|
|
Get reference to MFC control (MFC only).
|
|
||||||||||||||||
|
Select range of characters in string.
|
|
|
Set text to display.
|
|
|
Set variable tab stops. When text is copied to a multiple-line edit control, any tab character in the text will cause space to be generated up to the next tab stop. The default is one tab stop every 32 dialog units.
|
|
|
Set equal tab stops (MFC only); When text is copied to a multiple-line edit control, any tab character in the text will cause space to be generated up to the next tab stop. The default is one tab stop every 32 dialog units.
|
1.3.8-20040913