What I'm aiming to do, is to open external applications within my own WinForms application, then lock their size and position to whatever I've set it to in my program. I've been able to get them to open within my application, so it's actually within my WinForm's borders but the problem is, you can still resize and reposition the external programs.
The reason I'm making this program, is because I work on different projects inconsistently, so I always have to remember which tool I used for what project, then I have to line them all up manually when I work on them again. Imagine like a security room with multiple monitors- once I open a program, I want it's position and size locked so it doesn't budge until I close it when I'm done with it.
The only part I'm struggling with, is locking the size and position of these external applications my program opens. For example, if I were to open Microsoft Paint, I want to lock it's size to something like 200 x 600 and no matter how much I click and drag, that window doesn't budge an inch.
Does anyone know how to go about this? I've been trying to look up guides or at documents, but the problem is I don't know the correct terminology due to being self-taught, so I'm hitting a bit of a roadblock here.
Also to clarify, I'm not asking about resizing the Winform application itself, I've got that sorted, I just mean the external applications my program opens within itself.
Any advice?
SetWindowsPosisn't enough - that API goes back to Windows 9x and doesn't handle the newer features