开发者

A program in C# to tell whether opened applications are in maximized mode or not

开发者 https://www.devze.com 2022-12-31 08:18 出处:网络
I would like to know whether any libraries a开发者_StackOverflow社区re available in Windows OS which allows us to capture other applications window statesUse PInvoke to call GetWindowPlacement.

I would like to know whether any libraries a开发者_StackOverflow社区re available in Windows OS which allows us to capture other applications window states


Use PInvoke to call GetWindowPlacement.

See here for details:

http://www.pinvoke.net/default.aspx/user32/getwindowplacement.html

You can use FindWindowEx to find the handle to the window.


Process Hacker as a large set of libraries that can be linked against in .NET.

It should have everything you need to do what you want - and a lot more.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号