diff options
| author | Pietro Gagliardi <[email protected]> | 2014-08-22 13:57:32 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-08-22 13:57:32 -0400 |
| commit | c7268f8feed749a385d171409ac99430d88d348a (patch) | |
| tree | 8c8185e6b054626a0d53c1a42efff41ba1481e47 /redo/textfield_windows.go | |
| parent | 93b1d3428a3102d92064bd9362405f1e4250a35d (diff) | |
Began implementing Area.OpenTextFieldAt() on Windows.
Diffstat (limited to 'redo/textfield_windows.go')
| -rw-r--r-- | redo/textfield_windows.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/redo/textfield_windows.go b/redo/textfield_windows.go index 5f89691..236be97 100644 --- a/redo/textfield_windows.go +++ b/redo/textfield_windows.go @@ -19,8 +19,8 @@ var editclass = toUTF16("EDIT") func startNewTextField(style C.DWORD) *textfield { hwnd := C.newControl(editclass, - style | C.ES_AUTOHSCROLL | C.ES_LEFT | C.ES_NOHIDESEL | C.WS_TABSTOP, - C.WS_EX_CLIENTEDGE) // WS_EX_CLIENTEDGE without WS_BORDER will show the canonical visual styles border (thanks to MindChild in irc.efnet.net/#winprog) + style | C.textfieldStyle, + C.textfieldExtStyle) // WS_EX_CLIENTEDGE without WS_BORDER will show the canonical visual styles border (thanks to MindChild in irc.efnet.net/#winprog) t := &textfield{ _hwnd: hwnd, changed: newEvent(), |
