summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-12-01 23:51:09 -0500
committerPietro Gagliardi <[email protected]>2014-12-01 23:53:56 -0500
commitc550a1a958b4bc00d560c46be1f0c3555a0354c5 (patch)
treeb6b5ddc232bd77b2831297955f2bec12497a14e0
parent6b2c295fdc6d71daca898dcf2c38aabf9f29db6a (diff)
Small precautionary change in Windows Table: use WM_USER + 20 instead of WM_USER just in case we ever get dialog manager messages (which are the first few WM_USER messages because technically they belong to WC_DIALOG).
-rw-r--r--wintable/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/wintable/main.c b/wintable/main.c
index aa92520..848e6d6 100644
--- a/wintable/main.c
+++ b/wintable/main.c
@@ -55,10 +55,11 @@ enum {
#define tableWindowClass L"gouitable"
+// start at WM_USER + 20 just in case for whatever reason we ever get the various dialog manager messages (see also http://blogs.msdn.com/b/oldnewthing/archive/2003/10/21/55384.aspx)
enum {
// wParam - one of the type constants
// lParam - column name as a Unicode string
- tableAddColumn = WM_USER,
+ tableAddColumn = WM_USER + 20,
};
enum {