haskell / 9 / libraries / win32-2.12.0.0 / graphics-win32-window-foregroundwindow.html

Graphics.Win32.Window.ForegroundWindow

Copyright 2012 shelarcy
License BSD-style
Maintainer shelarcy@gmail.com
Stability Provisional
Portability Non-portable (Win32 API)
Safe Haskell Safe-Inferred
Language Haskell2010

Description

Get/Set Foreground Window.

getForegroundWindow :: IO HWND Source

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.

c_SetForegroundWindow :: HWND -> IO Bool Source

allowSetForegroundWindow :: ProcessId -> IO () Source

Allow other process to set Window to Foreground by using setForegroundWindow function.

c_AllowSetForegroundWindow :: ProcessId -> IO Bool Source

© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/9.4.2/docs/libraries/Win32-2.12.0.0/Graphics-Win32-Window-ForegroundWindow.html