protected virtual bool HandleFindItem(ref Message m)
{
// NOTE: As far as I can see, this message is never actually sent to the control, making this
// method redundant!
const int LVFI_STRING = 0x0002;
NativeMethods.LVFINDINFO findInfo = (NativeMethods.LVFINDINFO)m.GetLParam(typeof(NativeMethods.LVFINDINFO));
// We can only handle string searches
if ((findInfo.flags & LVFI_STRING) != LVFI_STRING)
return false;
int start = m.WParam.ToInt32();
m.Result = (IntPtr)this.FindMatchingRow(findInfo.psz, start, SearchDirectionHint.Down);
return true;
}