Making a translucent window ignore the mouse and keyboard
-
I have a program where we would like to have a large translucent window placed on top of the program's main windows. The problem is that this new window captures key presses and mouse events. Is there any way to set thing up so that any user interaction is send directly to the views underneath?
-
I have a program where we would like to have a large translucent window placed on top of the program's main windows. The problem is that this new window captures key presses and mouse events. Is there any way to set thing up so that any user interaction is send directly to the views underneath?
You need to forward the messages to the correct windows manually. onwards and upwards...
-
I have a program where we would like to have a large translucent window placed on top of the program's main windows. The problem is that this new window captures key presses and mouse events. Is there any way to set thing up so that any user interaction is send directly to the views underneath?
The mouse is easy - handle
WM_NCHITTEST
and returnHTTRANSPARENT
. Not sure how to ignore the keyboard though. --Mike-- Personal stuff:: Ericahist | Homepage Shareware stuff:: 1ClickPicGrabber | RightClick-Encrypt CP stuff:: CP SearchBar v2.0.2 | C++ Forum FAQ ---- "That probably would've sounded more commanding if I wasn't wearing my yummy sushi pajamas." -- Buffy -
The mouse is easy - handle
WM_NCHITTEST
and returnHTTRANSPARENT
. Not sure how to ignore the keyboard though. --Mike-- Personal stuff:: Ericahist | Homepage Shareware stuff:: 1ClickPicGrabber | RightClick-Encrypt CP stuff:: CP SearchBar v2.0.2 | C++ Forum FAQ ---- "That probably would've sounded more commanding if I wasn't wearing my yummy sushi pajamas." -- Buffy