how can I get the handle for the browser window what hosts a plugin window? I would like to inquire its size so I can properly resize my plugin window.
Hope that makes sense,
Christian
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.
You should never be resizing your plugin HWND; the browser does that. If you’re resizing it without the browser’s intervention you’re breaking the contract and will likely end up in conflict with future changes of the browser which is assuming that you’re allowing it to size you according to the DOM, not according to the root document window.
Just FYI.