summaryrefslogtreecommitdiff
path: root/redo/table_windows.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-17 15:30:10 -0400
committerPietro Gagliardi <[email protected]>2014-08-17 15:30:10 -0400
commitd7c173cc05f139d012618e48e2dbfc4454732126 (patch)
tree2cf0f7875bdcb6d4c41952974d7b8f5684ce2946 /redo/table_windows.c
parent38e7565c378a9da93d04f41ab166f5bdac09de32 (diff)
Began implementing checkboxes in the Windows Table.
Diffstat (limited to 'redo/table_windows.c')
-rw-r--r--redo/table_windows.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/redo/table_windows.c b/redo/table_windows.c
index d5ca418..775d4e6 100644
--- a/redo/table_windows.c
+++ b/redo/table_windows.c
@@ -75,3 +75,10 @@ void tableAutosizeColumns(HWND hwnd, int nColumns)
if (SendMessageW(hwnd, LVM_SETCOLUMNWIDTH, (WPARAM) i, (LPARAM) LVSCW_AUTOSIZE_USEHEADER) == FALSE)
xpanic("error resizing columns of results list view", GetLastError());
}
+
+void tableSetCheckboxImageList(HWND hwnd)
+{
+ if (SendMessageW(hwnd, LVM_SETIMAGELIST, LVSIL_STATE, (LPARAM) checkboxImageList) == (LRESULT) NULL)
+;//TODO xpanic("error setting image list", GetLastError());
+ // TODO free old one here if any/different
+}