I've created a CListBox with multiple selection(LBS_EXTENDEDSEL) in my MFC application. I've query regarding the focus behavior for this control.
The focus is set on previous control to that of list box. I enter TAB now so focus will be set on list box, a dotted border around first entry in list box. This moment entry is not selected i.e. blue highlight color. If I press down arrow key at this moment, focus is moved on to next entry in list and that entry is selected. This is contrary to the behavior when list box is created with 'Single selection' type. In case of 'single selection' list box, when focus(dotted border) is on first entry and down arrow key is pressed, focus doesn't change but that same entry is highlighted. Is this a issue or behavior of multiple selection list box? Is there any known workaround for this?