It seems that GetWindowPlacement can only return the size of a minimized window.
Is it possible to get the size of the individual controls inside that window when the window is minimized?
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.
WINDOWPLACEMENT.rcNormalPosition is defined as:
To get the current size use the GetWindowRect function. There is also an interesting article by Raymond Chen on this topic.
The following program gives correct size of a control in a minimized window: