I’ve created a semi-transparent form. I’d like for people to be able to click on the form area, and for form not handle the click. I’d like whatever is underneath the form to receive the click event instead.
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.
You can do this with
SetWindowLong:There are a few magic numbers in here:
-20– GWL_EXSTYLE0x80000– WS_EX_LAYERED0x20– WS_EX_TRANSPARENTThere are numerous articles all over the web on how to do this, such as this one.