multi-select listbox keyboard navigation is broken ?

Giganews Newsgroups
Subject: multi-select listbox keyboard navigation is broken ?
Posted by:  R.Wieser (addre…@not.available)
Date: Wed, 30 Jan 2019

Hello all,

I've got a listbox here which I've made multi-select (using both
LBS_MULTIPLESEL and LBS_EXTENDEDSEL).  This works great when using the
mouse.  Using the keyboard ?  Not so much ... :-(

The problems:

1) The up-down arrow drags the selection with it it from item-to-item
(expected: just the focus rectangle, with the spacebar/shift to
select/deselect).

2) While pressing shift while moving up-down selects multiple items.  But
after that any non-shift cursor movement drops the selection again (making
select some, skip some, select some more impossible).

My question: Am I missing some LBS_xxx flag or something, or is the default
select-by-keyboard just (effectivily) broken ?

Regards,
Rudy Wieser

Replies