From 0bd127a3ed16f2bc1865ca5b4c2b127a782c0357 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 19 Feb 2015 23:52:18 -0500 Subject: [PATCH] More TODOs. --- table_windows.go | 5 +++++ wintable/api.h | 1 + 2 files changed, 6 insertions(+) diff --git a/table_windows.go b/table_windows.go index 8cd28c5..a26c2f0 100644 --- a/table_windows.go +++ b/table_windows.go @@ -2,6 +2,11 @@ package ui +// TODO +// - why are we not getting keyboard input (focus?) on a mouse click? +// - are we getting keyboard input (focus?) on tab? +// - random freezes on Windows 7 when resizing headers or clicking new rows; likely another package ui infrastructure issue though... + import ( "fmt" "reflect" diff --git a/wintable/api.h b/wintable/api.h index 5016710..09552e5 100644 --- a/wintable/api.h +++ b/wintable/api.h @@ -16,6 +16,7 @@ static void addColumn(struct table *t, WPARAM wParam, LPARAM lParam) // TODO send a notification for all rows? } +// TODO what happens if the currently selected row is lost? static void setRowCount(struct table *t, intptr_t rc) { intptr_t old, i;