I know there's Alt+Tab for switching between windows in MS Windows. This only works for windows that appear as their own item in the taskbar, though.

The person I'm asking this for is blind. He's stumbling across a modal dialog that, for some strange reason, loses focus when opened. Is there some sort of shortcut or another way to get the modal window to be active again without a mouse?

  • I haven't found a solution yet, but to help others search: The screenshot Franz posted below shows the "Go To Time" window of VLC Media Player. This window is a tool window (not a modal dialog box). – Bavi_H Dec 7 '10 at 3:34

As I mentioned in my comment above, the window is a "tool window", which

is intended to be used as a floating toolbar. A tool window has a title bar that is shorter than a normal title bar, and the window title is drawn using a smaller font. A tool window does not appear in the taskbar or in the dialog that appears when the user presses ALT+TAB.

For some reason, a few VLC Media Player windows appear as tool windows that don't have focus. There doesn't seem to be a way to activate them with the keyboard without using some helper program.

One possible solution is to find an Alt+Tab replacement that will list tool windows. I found an AutoHotkey script that might work, but will require you to install AutoHotkey and modify a script. Here are the steps involved:

  1. Download and install AutoHotkey.
  2. Go to Alt-Tab replacement and save the AltTab.ahk file.
  3. Open the AltTab.ahk file in Notepad.
  4. Find the following text in the file and delete it.

    If (((es & WS_EX_TOOLWINDOW)  and !(Parent))
        or ( !(es & WS_EX_APPWINDOW)
          and (((Parent) and ((Style_parent & WS_DISABLED) =0))
            or ((Owner) and ((Style_Owner & WS_DISABLED) =0)))))
  5. Save the file.

  6. Put the AltTab.ahk file in a folder somewhere. (It will make a settings file when you run it.)
  7. Make a shortcut to AltTab.ahk on the desktop or Start menu or Startup folder.

After the modified AltTab.ahk script is run, pressing Alt+Tab will bring up a new window switcher that lists tool windows. Here is what it looks like:

enter image description here

Ideally, VLC Media Player should be updated to either not use tool windows, or at least give them focus. You or your friend might try discussing the problem on the VideoLAN forums, perhaps other users have found better workarounds or solutions. For example, I found the following threads that report the same issue with the "Go To Time" box and show a bug report has been filed:

  • Very exhaustive. I suppose this is the only way also. Thanks for your help! – Franz Dec 7 '10 at 17:39
  • Thank you. Have you by any chance got a copy of the linked file (cannot get the AltTab.ahk link to work)? – nsandersen Apr 13 '17 at 12:22

Alt-Esc cycles through windows in reverse order, including windows which do not show up in the Alt-Tab list.


I had a similar problem where a modal window opened and was then hidden by my program (Eclipse perspective change on hitting debugging breakpoint), removing it from the taskbar and locking the main window/program for user input.

I managed to find and display the hidden modal window using WinLister, whereafter I could do what I wanted to do in the modal window and close it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.