3

I would like to know whether any libraries are available in Windows OS which allows us to capture other applications window states

Sandhurst
  • 33
  • 2

2 Answers2

2

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.

Hans Olsson
  • 54,199
  • 15
  • 94
  • 116
0

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.

ParmesanCodice
  • 5,017
  • 1
  • 23
  • 20