Hello! I'm trying to move the window of a process I create in my windows forms application. Here is my code:
[DllImport("user32.dll", SetLastError = true)]
private static extern bool MoveWindow(IntPtr hWnd, int X, int Y, int nWidth, int nHeight, bool bRepaint);
Hi! Let me explain a little better. I'm trying to open a .chm file through my application. For that I'm creating a new process. I am able to open the process and show the .chm file on the screen, no problems. However, I would like to move the .chm process window to another location than its default one. There is no compile error, or runtime error, the window just does not move.