I am creating window inside my program, then sending HWND of this window to another application. Will drawing on window’s HDC be valid for another process?
Share
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.
Windows are owned by other windows, not by processes. You can draw to any HWND on your desktop (at least if the window has the same integrity — I’m not sure what happens if they don’t).
Web browsers that host plug-ins or tabs in a separate process generally make use of this functionality.