1. Find the area occupied by the header
Code:
[DllImport("user32.dll")]
extern static IntPtr SendMessage(IntPtr hwnd, int message, int wParam, int lParam);
[DllImport("user32.dll")]
extern static bool GetWindowRect(IntPtr hwnd, out RECT rect);
const int LVM_GETHEADER = 4127;
Leave a comment: