From 063293456d929ffab90b8b8c9e609083644b04a1 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 15 Feb 2014 14:03:46 -0500 Subject: More error handling reduction. --- winerrors.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'winerrors.md') diff --git a/winerrors.md b/winerrors.md index da7ac33..542b527 100644 --- a/winerrors.md +++ b/winerrors.md @@ -2,3 +2,6 @@ - BM_GETCHECK (sysData.isChecked()) - WM_GETTEXTLENGTH (LRESULT is unsinged so) (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()) +- LB_GETTEXTLEN/LB_GETTEXT (LB_ERR is returned if the given index is invalid, but since we get indices from LB_GETSELITEMS this shouldn't happen; are there actual errors?) (sysData.selectedTexts()) -- cgit v1.2.3