Relaying Window Messages

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hi all,

    Another quick C++/Extension question - I'm new to Windows Messages, and was wondering: How can I relay certain messages to lower windows?

    For example, suppose I want to put a tint on my screen by placing a giant window over it and giving it a semitransparency of 50%. The overlay window is set to be Always On Top, so any clicks on the screen will always get channelled to the overlay, rather than the windows under it.

    What I'd like to do is make the overlay window relay messages to the lower windows, so when the user clicks on a text field of a window beneath the overlay, the field will be given focus.

    Is that possible? :)

    EDIT: Found it at last, it's the WM_EX_TRANSPARENT style, makes windows invisible to clicks. :)

    Edited once, last by Dines (April 29, 2012 at 7:26 PM).

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!