diff options
| author | Pietro Gagliardi <[email protected]> | 2015-02-19 22:58:17 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-02-19 22:58:17 -0500 |
| commit | cab2d934495949cadf5345f910339054f426ccea (patch) | |
| tree | 41d9e85b1393bda18d0075e8ad7376ddba22e5b1 /wintable/api.h | |
| parent | 6b9f1f282fc0aeb2654538a60a6f81dd99421ae1 (diff) | |
Added tableGetSelection to the new Windows Table and hooked it up to package ui's Table.
Diffstat (limited to 'wintable/api.h')
| -rw-r--r-- | wintable/api.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/wintable/api.h b/wintable/api.h index 04c7561..78bf514 100644 --- a/wintable/api.h +++ b/wintable/api.h @@ -63,6 +63,15 @@ HANDLER(apiHandlers) setRowCount(t, *rcp); *lResult = 0; return TRUE; + case tableGetSelection: + rcp = (intptr_t *) wParam; + if (rcp != NULL) + *rcp = t->selectedRow; + rcp = (intptr_t *) lParam; + if (rcp != NULL) + *rcp = t->selectedColumn; + *lResult = 0; + return TRUE; } return FALSE; } |
