Maximize another process' Window in .NET

后端 未结 3 2357
粉色の甜心
粉色の甜心 2020-12-01 18:51

I have a handle on another process\' main window in .net (proc.MainWindowHandle). How do I maximize the window inside of .net?

3条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-01 19:01

    You could also use SetWindowPlacement. There's further info about it on Pinvoke.net.

提交回复
热议问题