Method: WinWindow#force_minimize!
- Defined in:
- lib/winwindow.rb
#force_minimize! ⇒ Object
Windows 2000/XP: Minimizes the window, even if the thread that owns the window is not responding. This should only be used when minimizing windows from a different thread.
805 806 807 808 |
# File 'lib/winwindow.rb', line 805 def force_minimize! ret=WinUser.ShowWindow(hwnd, SW_FORCEMINIMIZE) ret != WIN_FALSE end |