I can't seen to find the right search terms to find the answer to this problem if it has been answered already.

Given a CWnd (or HWND), how do I determine if that window is hidden (as in SW_HIDE) or not?