Copyright | 2012 shelarcy |
---|---|
License | BSD-style |
Maintainer | shelarcy@gmail.com |
Stability | Provisional |
Portability | Non-portable (Win32 API) |
Safe Haskell | Safe |
Language | Haskell2010 |
Get/Set Foreground Window.
Synopsis
- getForegroundWindow :: IO HWND
- setForegroundWindow :: HWND -> IO Bool
- c_SetForegroundWindow :: HWND -> IO Bool
- allowSetForegroundWindow :: ProcessId -> IO ()
- c_AllowSetForegroundWindow :: ProcessId -> IO Bool
Documentation
setForegroundWindow :: HWND -> IO Bool Source #
Setting Window to Foreground. See: https://github.com/haskell/win32/pull/9, http://stackoverflow.com/questions/14297146/win32-setforegroundwindow-in-haskell.
allowSetForegroundWindow :: ProcessId -> IO () Source #
Allow other process to set Window to Foreground
by using setForegroundWindow
function.