BrightIdeasSoftware.ObjectListView.HandleLinkClick C# (CSharp) Méthode

HandleLinkClick() protected méthode

Handle the LinkClick listview notification
protected HandleLinkClick ( Message &m ) : bool
m Message
Résultat 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