summaryrefslogtreecommitdiff
path: root/wintable/new/children.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-12-07 18:43:05 -0500
committerPietro Gagliardi <[email protected]>2014-12-07 18:43:05 -0500
commit399b4639fee23d376691fc1e0123f414f4498fcd (patch)
tree469388deeae6684addb82478a669cbb995ae649e /wintable/new/children.h
parent04787b169a8b0078cee7e5bdaaf3c8a69559941c (diff)
More header support code, including header notification scaffolding.
Diffstat (limited to 'wintable/new/children.h')
-rw-r--r--wintable/new/children.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/wintable/new/children.h b/wintable/new/children.h
new file mode 100644
index 0000000..ba58939
--- /dev/null
+++ b/wintable/new/children.h
@@ -0,0 +1,18 @@
+// 7 december 2014
+
+static const handlerfunc commandHandlers[] = {
+ NULL,
+};
+
+static const handlerfunc notifyHandlers[] = {
+ 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;
+}