예제 #1
0
        internal static void SetItemState(ListView listView, int itemIndex, int mask, int value)
        {
            NativeListViewItem lvItem = new NativeListViewItem {
                stateMask = mask, state = value
            };

            SendMessage(listView.Handle, LVM_SETITEMSTATE, itemIndex, ref lvItem);
        }
예제 #2
0
 internal static extern IntPtr SendMessage(IntPtr hWnd, int msg, int wParam, ref NativeListViewItem lvi);