Method: WinWindow.unlock_set_foreground_window
- Defined in:
- lib/winwindow.rb
.unlock_set_foreground_window ⇒ Object
The foreground process can call the #lock_set_foreground_window function to disable calls to the #set_foreground! function.
Enables calls to #set_foreground!
630 631 632 633 |
# File 'lib/winwindow.rb', line 630 def self.unlock_set_foreground_window ret= WinUser.LockSetForegroundWindow(LSFW_UNLOCK) ret != WIN_FALSE # todo: raise system error? end |