summaryrefslogtreecommitdiff
path: root/prev/wintable/children.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-12-11 20:37:59 -0500
committerPietro Gagliardi <[email protected]>2015-12-11 20:37:59 -0500
commitf8e3f12ab02b528f2a05a4f713d7af7ea8e44b42 (patch)
tree82dedf4d37f0f6d31e88ebb2ca1ce6499dead261 /prev/wintable/children.h
parente34c561ed5bedeb180437ec165882b98d70d38c1 (diff)
LET'S GET THIS FINAL REWRITE EVER STARTED
Diffstat (limited to 'prev/wintable/children.h')
-rw-r--r--prev/wintable/children.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/prev/wintable/children.h b/prev/wintable/children.h
new file mode 100644
index 0000000..6a3aff3
--- /dev/null
+++ b/prev/wintable/children.h
@@ -0,0 +1,19 @@
+// 7 december 2014
+
+static const handlerfunc commandHandlers[] = {
+ NULL,
+};
+
+static const handlerfunc notifyHandlers[] = {
+ headerNotifyHandler,
+ NULL,
+};
+
+HANDLER(childrenHandlers)
+{
+ if (uMsg == WM_COMMAND)
+ return runHandlers(commandHandlers, t, uMsg, wParam, lParam, lResult);
+ if (uMsg == WM_NOTIFY)
+ return runHandlers(notifyHandlers, t, uMsg, wParam, lParam, lResult);
+ return FALSE;
+}