stop virtuallistview exceptions, maybe (for you, and me, and brandonE)

This commit is contained in:
zeromus 2012-06-10 22:06:19 +00:00
parent b9b18137db
commit d65c16693b
1 changed files with 9 additions and 0 deletions

View File

@ -552,6 +552,15 @@ namespace BizHawk
OnScroll(new ScrollEventArgs((ScrollEventType)(m.WParam.ToInt32() & 0xffff), 0));
break;
case 0x100C:
{
base.WndProc(ref m);
int num = m.Result.ToInt32();
messageProcessed = true;
m.Result = new IntPtr(0);
break;
}
//obscure message loop flakiness when exceptions are thrown from the message loop...
//THIS BREAKS PROPER LISTVIEW FOCUS SELECTION (blue)