summaryrefslogtreecommitdiff
path: root/wintable/test.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-01-07 22:54:29 -0500
committerPietro Gagliardi <[email protected]>2015-01-07 22:54:29 -0500
commit224bdb40874ff65880f21bda2b85ceebb4a69312 (patch)
tree9e8dbd8076a8b3835561c5b01247600a897357b7 /wintable/test.c
parent24790f0e7f2865ebb5cef3fd4d82dc3b52a18efc (diff)
Added tableSetRowCount.
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;
}