summaryrefslogtreecommitdiff
path: root/textfield_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'textfield_windows.go')
-rw-r--r--textfield_windows.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/textfield_windows.go b/textfield_windows.go
index 76ec882..d3b4193 100644
--- a/textfield_windows.go
+++ b/textfield_windows.go
@@ -16,6 +16,13 @@ type textfield struct {
var editclass = toUTF16("EDIT")
+/*
+notes about multiline text boxes
+- ES_LEFT | ES_MULTILINE | ES_NOHIDESEL | ES_WANTRETURN
+(ES_AUTOVSCROLL as well?)
+(what about word wrap?)
+*/
+
func startNewTextField(style C.DWORD) *textfield {
hwnd := C.newControl(editclass,
style|C.textfieldStyle,