diff options
| author | Pietro Gagliardi <[email protected]> | 2015-01-07 22:54:29 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-01-07 22:54:29 -0500 |
| commit | 224bdb40874ff65880f21bda2b85ceebb4a69312 (patch) | |
| tree | 9e8dbd8076a8b3835561c5b01247600a897357b7 /wintable/main.h | |
| parent | 24790f0e7f2865ebb5cef3fd4d82dc3b52a18efc (diff) | |
Added tableSetRowCount.
Diffstat (limited to 'wintable/main.h')
| -rw-r--r-- | wintable/main.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/wintable/main.h b/wintable/main.h index d17f5d8..c8ba30c 100644 --- a/wintable/main.h +++ b/wintable/main.h @@ -12,14 +12,19 @@ // - collect all resize-related tasks in a single function (so things like adding columns will refresh everything, not just horizontal scrolls; also would fix initial coordinates) // - checkbox columns don't clip to the column width // - send standard notification codes +// - seriously figure out how we're going to update everything about the table in one place #define tableWindowClass L"gouitable" // start at WM_USER + 20 just in case for whatever reason we ever get the various dialog manager messages (see also http://blogs.msdn.com/b/oldnewthing/archive/2003/10/21/55384.aspx) +// each of these returns nothing unless otherwise indicated enum { // wParam - one of the type constants // lParam - column name as a Unicode string tableAddColumn = WM_USER + 20, + // wParam - 0 + // lParam - pointer to intptr_t containing new count + tableSetRowCount, }; enum { @@ -127,7 +132,6 @@ static const handlerfunc handlers[] = { static void initDummyTableStuff(struct table *t) { - t->count = 100; t->selectedRow = 2; t->selectedColumn = 1; } |
