Move or resize the windows of 3rd party programs with c# -
we have c# base frame program here in company, able run c# codes. when starts, runs in full screen mode, besides have more program runs in parallel.
i put our program left side, program right side on screen @ startup.
how can move or resize 3rd party program windows in c#?
you can movewindow
winapi function:
//import: [dllimport("user32.dll", setlasterror = true)] internal static extern bool movewindow(intptr hwnd, int x, int y, int nwidth, int nheight, bool brepaint); //usage: movewindow(applicationhandle, 600, 600, 600, 600, true);
Comments
Post a Comment