summaryrefslogtreecommitdiff
path: root/wintable/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'wintable/test.c')
-rw-r--r--wintable/test.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/wintable/test.c b/wintable/test.c
index 9e01a94..6d38bd1 100644
--- a/wintable/test.c
+++ b/wintable/test.c
@@ -12,6 +12,8 @@ HBITMAP mkbitmap(void);
BOOL mainwinCreate(HWND hwnd, LPCREATESTRUCT lpcs)
{
+ intptr_t c;
+
tablehwnd = CreateWindowExW(0,
tableWindowClass, L"Main Window",
WS_CHILD | WS_VISIBLE | WS_HSCROLL | WS_VSCROLL,
@@ -36,6 +38,8 @@ BOOL mainwinCreate(HWND hwnd, LPCREATESTRUCT lpcs)
panic("(test program) error creating lfMessageFont HFONT");
SendMessageW(tablehwnd, WM_SETFONT, (WPARAM) font, TRUE);
}
+ c = 100;
+ SendMessageW(tablehwnd, tableSetRowCount, 0, (LPARAM) (&c));
SetFocus(tablehwnd);
return TRUE;
}