summaryrefslogtreecommitdiff
path: root/wintable/includethis.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-02-19 23:25:51 -0500
committerPietro Gagliardi <[email protected]>2015-02-19 23:25:51 -0500
commit924352d76a2bdc54415c18246a57bf29322f7344 (patch)
tree68bb16c9ca35986e10fbcd7d41886f361e29ce42 /wintable/includethis.h
parentcab2d934495949cadf5345f910339054f426ccea (diff)
Added tableSetSelection to the new Windows Table and hooked it up to the package ui Table.
Diffstat (limited to 'wintable/includethis.h')
-rw-r--r--wintable/includethis.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/wintable/includethis.h b/wintable/includethis.h
index f40c6f3..422b101 100644
--- a/wintable/includethis.h
+++ b/wintable/includethis.h
@@ -19,6 +19,12 @@ enum {
// both will be -1 for no selection
// if either is NULL, that value is not written
tableGetSelection,
+ // wParam - pointer to intptr_t containing selected row
+ // lParam - pointer to intptr_t containing selected column
+ // if lParam is NULL, do not change selected column (selects column 0 if nothing previously selected; TODO explicitly document this?)
+ // TODO allow wParam to be NULL too; should both being NULL select nothing or keep the current selection?
+ // this WILL result in a selection changed notification (TODO work into the package ui Table)
+ tableSetSelection,
};
enum {