[DllImport("User32.dll")]
private static extern int SendMessage(int Handle, int wMsg, int wParam, int lParam);
const int LVM_FIRST = 0x1000;
const int LVM_SETICONSPACING = LVM_FIRST + 53;
public static void SetListViewSpacing(ListView lst, int x, int y)
[DllImport("User32.dll")] private static extern int SendMessage(int Handle, int wMsg, int wParam, int lParam); const int LVM_FIRST = 0x1000; const int LVM_SETICONSPACING = LVM_FIRST + 53; public static void SetListViewSpacing(ListView lst, int x, int y)
LargeIco的时候,这个代码有用