A program in C# to tell whether opened applications are in maximized mode or not
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.
精彩评论