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).

This commit is contained in:
Pietro Gagliardi 2014-12-01 23:51:09 -05:00
parent 6b2c295fdc
commit c550a1a958
1 changed files with 2 additions and 1 deletions

View File

@ -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 {