is it possible to change the minimum size of an external window and resize it. Suppose the size of the external application window is (400,400) and the minimum size is (200,200), is there any way we can change it to say, (100,100). I have the handle of the external window.
I tried with the MoveWindow function
internal static extern bool MoveWindow(IntPtr hWnd, int X, int Y, int nWidth, int nHeight, bool bRepaint);
but it is not able to do so after the window hits minimum size. Is it not possible to do so? I am open to using either managed c# code such as UI-automation or even windows apis, pinvoke etc. Any suggestions?