From ec725e3f1b86c10c8f59a8baf69bc45014557080 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Mon, 15 Dec 2014 15:06:07 -0500 Subject: [PATCH] Wrote up some notes on how to do keyboard selection. --- wintable/new/select.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/wintable/new/select.h b/wintable/new/select.h index 022fcd0..034fe92 100644 --- a/wintable/new/select.h +++ b/wintable/new/select.h @@ -86,3 +86,23 @@ HANDLER(mouseDownSelectHandler) *lResult = 0; return TRUE; } + +/* +keyboard selection behaviors of the windows 7 listview: +with 100 items (0-99), the window currently shows items 30 through 47 as well as having item 48 partially visible +- item 30: + - page up -> item 13 + - page down -> item 47 +- item 31: + TODO +- item 42: + - page up -> item 30 + - page down -> item 47 +- item 46: + TODO +- item 47: + - page up: -> item 30 + - page down: -> item 64 + +TODO what happens if you press a navigational button with no item selected? at different scroll positions? +*/