diff options
| author | Pietro Gagliardi <[email protected]> | 2015-01-07 21:36:03 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-01-07 21:36:03 -0500 |
| commit | 24790f0e7f2865ebb5cef3fd4d82dc3b52a18efc (patch) | |
| tree | d612a13bc6a0c3c8472c210b7c08e1e1b182cfa6 | |
| parent | 7eaadad25ca26c254139e3cdeb31d4cb9eb67f46 (diff) | |
Immediately give focus to the Table on startup in the test program.
| -rw-r--r-- | wintable/test.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |
