Those darned users and their minimized windows.
In C#, if I have a window’s HWND, is there a way to tell if it is visible on the desktop?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The
GetWindowPlacementfunction returns aWINDOWPLACEMENTstructure which has a fieldshowCmd:The details of this read as though you would be setting the window state, but I suspect that this is because they’ve been copied from somewhere else and not updated.