Window, transparent for mouse clicks
-
How to create top-level window transparent for mouse clicks? I.e. when user clicks the window, it doesn't ACTIVATES, it must seens like window not exist, but it must be visible... ?I tried to use WM_NCHITTEST and to return HTTRANSPARENT, then I tried to handle WM_MOUSEACTIVATE, but in vain. Help!!
-
How to create top-level window transparent for mouse clicks? I.e. when user clicks the window, it doesn't ACTIVATES, it must seens like window not exist, but it must be visible... ?I tried to use WM_NCHITTEST and to return HTTRANSPARENT, then I tried to handle WM_MOUSEACTIVATE, but in vain. Help!!
just write a hook and hook the mouse mesages as u like... mm i am not sure but u try the follow in the PreTranslateMessage() check the message is mouse message and then u handle that message as u like..just trap themm ... Renjith Pandalam The TRUE CP -ian