summaryrefslogtreecommitdiff
path: root/redo/table_windows.c
diff options
context:
space:
mode:
Diffstat (limited to 'redo/table_windows.c')
-rw-r--r--redo/table_windows.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/redo/table_windows.c b/redo/table_windows.c
index 151fe06..319aaaa 100644
--- a/redo/table_windows.c
+++ b/redo/table_windows.c
@@ -55,3 +55,9 @@ void tableUpdate(HWND hwnd, int nItems)
if (SendMessageW(hwnd, LVM_SETITEMCOUNT, (WPARAM) nItems, 0) == 0)
xpanic("error setting number of items in Table", GetLastError());
}
+
+void tableAddExtendedStyles(HWND hwnd, LPARAM styles)
+{
+ /* the bits of WPARAM specify which bits of LPARAM to look for; having WPARAM == LPARAM ensures that only the bits we want to add are affected */
+ SendMessageW(hwnd, LVM_SETEXTENDEDLISTVIEWSTYLE, (WPARAM) styles, styles);
+}