How to get ShowState of a window in c# or c++?
<p>I am trying to get showstate of a window.</p>

<p>I know that I can maximize, minimize, or close a window by ShowWindow API in c# or c++. How do I get ShowState of a window?</p>
