BrightIdeasSoftware.ObjectListView.HandleLinkClick C# (CSharp) Method

HandleLinkClick() protected method

Handle the LinkClick listview notification
protected HandleLinkClick ( Message &m ) : bool
m Message
return bool
        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;
        }
ObjectListView