Example #1
0
 public static extern IntPtr SendMessage(IntPtr hWnd, int msg, int wParam, ref LVGROUP2 lParam);
Example #2
0
 public static int InsertGroup(ObjectListView olv, LVGROUP2 group)
 {
     return((int)NativeMethods.SendMessage(olv.Handle, LVM_INSERTGROUP, -1, ref group));
 }
Example #3
0
 public static int SetGroupInfo(ObjectListView olv, int groupId, LVGROUP2 group)
 {
     return((int)NativeMethods.SendMessage(olv.Handle, LVM_SETGROUPINFO, groupId, ref group));
 }
Example #4
0
 public static extern IntPtr SendMessage(IntPtr hWnd, int msg, int wParam, ref LVGROUP2 lParam);
Example #5
0
 public static int GetGroupInfo(ObjectListView olv, int groupId, ref LVGROUP2 group) {
     return (int)NativeMethods.SendMessage(olv.Handle, LVM_GETGROUPINFO, groupId, ref group);
 }
Example #6
0
//        public static GroupState GetGroupState(ListView olv, int groupId, GroupState mask)
//        {
//            return (GroupState)ListViewAPI.SendMessage(olv.Handle, LVM_GETGROUPSTATE, groupId, (int)mask);
//        }

        public static int InsertGroup(ListView olv, LVGROUP2 group)
        {
            return((int)SendMessage(olv.Handle, LVM_INSERTGROUP, -1, ref group));
        }
Example #7
0
 public static int InsertGroup(ObjectListView olv, LVGROUP2 group) {
     return (int)NativeMethods.SendMessage(olv.Handle, LVM_INSERTGROUP, -1, ref group);
 }
Example #8
0
 public static int GetGroupInfo(ListView olv, int groupId, ref LVGROUP2 group)
 {
     return((int)SendMessage(olv.Handle, LVM_GETGROUPINFO, groupId, ref group));
 }
Example #9
0
 public static int SetGroupInfo(ObjectListView olv, int groupId, LVGROUP2 group)
 {
     return((int)SendMessage(olv.Handle, 0x1093, groupId, ref group));
 }
Example #10
0
 public static int InsertGroup(ObjectListView olv, LVGROUP2 group)
 {
     return((int)SendMessage(olv.Handle, 0x1091, -1, ref group));
 }
Example #11
0
 public static int SetGroupInfo(ObjectListView olv, int groupId, LVGROUP2 group)
 {
     return (int) SendMessage(olv.Handle, LVM_SETGROUPINFO, groupId, ref group);
 }
Example #12
0
 public static IntPtr GetGroupInfo(ObjectListView olv, int groupId, ref LVGROUP2 group)
 {
     return(NativeMethods.SendMessage(olv.Handle, LVM_GETGROUPINFO, groupId, ref group));
 }