The first version is for use if you want to pass null (IntPtr.Zero) to both lpRect and lpKids.
[DllImport("user32.dll")]
static extern int TileWindows(IntPtr hwndParent, int wHow, IntPtr lpRect, int cKids, IntPtr lpKids);
This one is for non-null lpKids, but null lpRect.
[DllImport("user32.dll")]
static extern int TileWindows(IntPtr hwndParent, int wHow, IntPtr lpRect, int cKids, [MarshalAs(UnmanagedType.LPArray)]IntPtr[] lpKids);
You would need a different version again to pass in a real RECT to lpRect, but I've not tried that one myself.
Here are the constants:
const int MDITILE_VERTICAL = 0;
const int MDITILE_HORIZONTAL = 1;
None.
None.
Please add some!
Please add some!
Do you know one? Please contribute it!