i wanted to know whether mstsc(RDP) window maximized or not from my client application.
so i’m using :
IsZoomed(handle of mstsc); but i’m always getting zero as return value even if i maximized the window ?
How do i solve this problem … ?
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.
IsZoomeddetects whether the window is maximized in theWS_MAXIMIZEDsense, which means that it has a caption bar with a maximize button. But fullscreen apps don’t work that way, which is whyIsZoomedalways reports “It is not maximized with a caption bar.” You will have to use some alternate detection mechanism, like looking at the window dimensions.