topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday April 18, 2024, 11:13 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: IDEA: Click-through window  (Read 3244 times)

patchett

  • Participant
  • Joined in 2010
  • *
  • Posts: 1
    • View Profile
    • Donate to Member
IDEA: Click-through window
« on: June 24, 2010, 08:13 AM »
My idea for a simple utility is one which will lock a window from input without locking the window itself. With WinLock (also on this site) clicking a locked window results in no action (other than a sound indicating that the action cannot be performed), this utility will result in, shall we say, a ghost window which will allow clicks to pass through to the window below it.

In application, this could be used with WinWarden to create an always-on-top transparent window which can be clicked through to the windows below.

I do not believe this has been suggested before, though I could be wrong.

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: IDEA: Click-through window
« Reply #1 on: June 24, 2010, 06:24 PM »
This is actually really easy to do using AutoHotkey.  Consider the following hotkeys:

Code: Autohotkey [Select]
  1. #1:: ; Win-1 hotkey
  2. {
  3.     WinSet, AlwaysOnTop, On      , A
  4.     WinSet, ExStyle    , +0x80020, A
  5.     WinSet, Transparent, 125     , A
  6. }
  7. Return
  8.  
  9.  
  10. #2:: ; Win-2 hotkey
  11. {
  12.     WinSet, AlwaysOnTop, Off     , A
  13.     WinSet, ExStyle    , -0x80020, A
  14.     WinSet, Transparent, 255     , A
  15. }
  16. Return

Focus the window you want and press Win-1.  To reverse it, focus the window using the taskbar or alt-tab (since you can't click it) and press Win-2.