From 24790f0e7f2865ebb5cef3fd4d82dc3b52a18efc Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 7 Jan 2015 21:36:03 -0500 Subject: [PATCH] Immediately give focus to the Table on startup in the test program. --- wintable/test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/wintable/test.c b/wintable/test.c index f58a92e..9e01a94 100644 --- a/wintable/test.c +++ b/wintable/test.c @@ -36,6 +36,7 @@ BOOL mainwinCreate(HWND hwnd, LPCREATESTRUCT lpcs) panic("(test program) error creating lfMessageFont HFONT"); SendMessageW(tablehwnd, WM_SETFONT, (WPARAM) font, TRUE); } + SetFocus(tablehwnd); return TRUE; }