예제 #1
0
 public static extern IntPtr SendMessage(IntPtr hWnd, int msg, int wParam, ref LVGROUP2 lParam);
예제 #2
0
 public static int InsertGroup(ObjectListView olv, LVGROUP2 group)
 {
     return((int)NativeMethods.SendMessage(olv.Handle, LVM_INSERTGROUP, -1, ref group));
 }
예제 #3
0
 public static int SetGroupInfo(ObjectListView olv, int groupId, LVGROUP2 group)
 {
     return((int)NativeMethods.SendMessage(olv.Handle, LVM_SETGROUPINFO, groupId, ref group));
 }
예제 #4
0
파일: NativeMethods.cs 프로젝트: VicBoss/KR
 public static extern IntPtr SendMessage(IntPtr hWnd, int msg, int wParam, ref LVGROUP2 lParam);
예제 #5
0
파일: NativeMethods.cs 프로젝트: VicBoss/KR
 public static int GetGroupInfo(ObjectListView olv, int groupId, ref LVGROUP2 group) {
     return (int)NativeMethods.SendMessage(olv.Handle, LVM_GETGROUPINFO, groupId, ref group);
 }
예제 #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));
        }
예제 #7
0
파일: NativeMethods.cs 프로젝트: VicBoss/KR
 public static int InsertGroup(ObjectListView olv, LVGROUP2 group) {
     return (int)NativeMethods.SendMessage(olv.Handle, LVM_INSERTGROUP, -1, ref group);
 }
예제 #8
0
 public static int GetGroupInfo(ListView olv, int groupId, ref LVGROUP2 group)
 {
     return((int)SendMessage(olv.Handle, LVM_GETGROUPINFO, groupId, ref group));
 }
예제 #9
0
 public static int SetGroupInfo(ObjectListView olv, int groupId, LVGROUP2 group)
 {
     return((int)SendMessage(olv.Handle, 0x1093, groupId, ref group));
 }
예제 #10
0
 public static int InsertGroup(ObjectListView olv, LVGROUP2 group)
 {
     return((int)SendMessage(olv.Handle, 0x1091, -1, ref group));
 }
예제 #11
0
 public static int SetGroupInfo(ObjectListView olv, int groupId, LVGROUP2 group)
 {
     return (int) SendMessage(olv.Handle, LVM_SETGROUPINFO, groupId, ref group);
 }
예제 #12
0
 public static IntPtr GetGroupInfo(ObjectListView olv, int groupId, ref LVGROUP2 group)
 {
     return(NativeMethods.SendMessage(olv.Handle, LVM_GETGROUPINFO, groupId, ref group));
 }