エディットボックス関係。
ちょっとだけSwingのテキストフィールド参考にしてみたけどうまくいかないなぁ。
abstract class EditBox: etc.negui.control.control.Control, etc.negui.control.control.IHorizonAlign, etc.negui.control.editbox.editbox.IEditBox, etc.negui.control.control.INoHideSelect;
void horizonAlign(HORIZON_ALIGN TextAlign
);
HORIZON_ALIGN horizonAlign();
this(HWND hWnd
);
this(ref NEGUIINFO NeGuiInfo
);
bool canUndo();
void unDoClear();
bool charFromPos(ref POINT Point
);
void* ramHandle();
int limitLength();
void limitLength(int Limit
);
void margin(out int left
, out int right
);
enum MARGIN;
void margin(MARGIN Margin
, int left
, int right
);
bool modify();
void modify(bool Modify
);
const RECT formatRect();
void formatRect(ref const(RECT) Rect
);
bool selected(ref int Start
, ref int End
);
- History:
- 1.00β17
- selectと解決できそうに無い引数だったので名称変更。
bool select(int Start
, int End
);
bool readOnly();
bool readOnly(bool ReadOnly
);
class EditLine: etc.negui.control.editbox.editbox.EditBox;
this(NeGui Owner
, ITEM_ID Id
);
this(ref NEGUIINFO NeGuiInfo
);
class PassLine: etc.negui.control.editbox.editbox.EditLine;
this(ref NEGUIINFO NeGuiInfo
);
this(NeGui Owner
, ITEM_ID Id
);
wchar passChar();
void passChar(wchar c
);
class MultiEdit: etc.negui.control.editbox.editbox.EditBox;
this(NeGui Owner
, ITEM_ID Id
, bool HScroll
= true);
this(ref NEGUIINFO NeGuiInfo
, bool HorizonScroll
);
int lineCount();
bool softNewLine(bool Insert
);