protected virtual bool HandleLinkClick(ref Message m)
{
//System.Diagnostics.Debug.WriteLine("HandleLinkClick");
NativeMethods.NMLVLINK nmlvlink = (NativeMethods.NMLVLINK)m.GetLParam(typeof(NativeMethods.NMLVLINK));
// Find the group that was clicked and trigger an event
foreach (OLVGroup x in this.OLVGroups) {
if (x.GroupId == nmlvlink.iSubItem) {
this.OnGroupTaskClicked(new GroupTaskClickedEventArgs(x));
return true;
}
}
return false;
}