More TODO reduction.
This commit is contained in:
parent
1bb2371e8d
commit
c20e3a2611
|
@ -26,8 +26,7 @@ const (
|
|||
_TRUE = 1 // from windef.h
|
||||
)
|
||||
|
||||
// TODO pull the thanks for these three from the old wingo source
|
||||
// TODO put these in windows.go
|
||||
// In MSDN, _LPARAM and _LRESULT are listed as signed pointers, however their interpretation is message-specific. Ergo, just cast them yourself; it'll be the same. (Thanks to Tv` in #go-nuts for helping me realize this.)
|
||||
type _WPARAM uintptr
|
||||
type _LPARAM uintptr
|
||||
type _LRESULT uintptr
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
- all SendMessage() calls
|
||||
- BM_GETCHECK (sysData.isChecked())
|
||||
- WM_GETTEXTLENGTH (LRESULT is unsinged so) (sysData.text())
|
||||
- WM_GETTEXTLENGTH (LRESULT is signed but we treat it as unsigned and MSDN says nothing about error returns) (sysData.text())
|
||||
- WM_GETTEXT (WM_GETTEXTLENGTH docs say its result may be larger than the actual length, so we can't use that) (sysData.text())
|
||||
- CB_GETCURSEL/LB_GETCURSEL (sysData.selectedIndex())
|
||||
- LB_GETSELCOUNT/LB_GETSELITEMS (LB_ERR is returned if this is a single-selection listbox; are there actual errors?) (sysData.selectedIndices())
|
||||
|
|
Loading…
Reference in New Issue