More TODO reduction.

This commit is contained in:
Pietro Gagliardi 2014-02-15 15:41:50 -05:00
parent 1bb2371e8d
commit c20e3a2611
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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())