un-break virtual listview selected item highlighting (was broken to fix another issue, but when next it arises we'll find another way)

This commit is contained in:
zeromus 2011-08-02 06:00:14 +00:00
parent 7bfd9779fe
commit 074edfdc67
1 changed files with 7 additions and 4 deletions

View File

@ -538,11 +538,14 @@ namespace BizHawk
break;
}
break;
//obscure message loop flakiness when exceptions are thrown from the message loop...
case (int)WindowsMessage.WM_SETFOCUS:
if (SelectedIndices.Count > 0 && SelectedIndices[0] >= VirtualListSize)
messageProcessed = true;
break;
//THIS BREAKS PROPER LISTVIEW FOCUS SELECTION (blue)
//next time we run into this, debug it better.
//case (int)WindowsMessage.WM_SETFOCUS:
// if (SelectedIndices.Count > 0 && SelectedIndices[0] >= VirtualListSize)
// messageProcessed = true;
// break;
default:
break;
}