Method: WinWindow.unlock_set_foreground_window

Defined in:
lib/winwindow.rb

.unlock_set_foreground_windowObject

The foreground process can call the #lock_set_foreground_window function to disable calls to the #set_foreground! function.

Enables calls to #set_foreground!

msdn.microsoft.com/en-us/library/ms633532%28VS.85%29.aspx



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