summaryrefslogtreecommitdiff
path: root/wintable/test.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-02-19 23:43:26 -0500
committerPietro Gagliardi <[email protected]>2015-02-19 23:43:26 -0500
commit7a26870c1ab37f7eb430ffab51035a7d3cb48274 (patch)
tree5226529bf783741fed624312510e0451756dd23b /wintable/test.c
parent924352d76a2bdc54415c18246a57bf29322f7344 (diff)
Removed the last bit of new Windows Table test initialization stuff now that tableSetSelection is in; moved into the test program instead.
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 d3f75ab..942860c 100644
--- a/wintable/test.c
+++ b/wintable/test.c
@@ -13,6 +13,7 @@ HBITMAP mkbitmap(void);
BOOL mainwinCreate(HWND hwnd, LPCREATESTRUCT lpcs)
{
intptr_t c;
+ intptr_t row, col;
tablehwnd = CreateWindowExW(0,
tableWindowClass, L"Main Window",
@@ -40,6 +41,9 @@ BOOL mainwinCreate(HWND hwnd, LPCREATESTRUCT lpcs)
}
c = 100;
SendMessageW(tablehwnd, tableSetRowCount, 0, (LPARAM) (&c));
+ row = 2;
+ col = 1;
+ SendMessageW(tablehwnd, tableSetSelection, (WPARAM) (&row), (LPARAM) (&col));
SetFocus(tablehwnd);
return TRUE;
}