Graphics.Win32.Window.HotKey

Copyright 2013 shelarcy
License BSD-style
Maintainer [email protected]
Stability Provisional
Portability Non-portable (Win32 API)
Safe Haskell None
Language Haskell2010

Description

An FFI binding to the hot key part of the Win32 API.

type FsModifiers = [FsModifier]

type FsModifier = UINT

mOD_ALT :: FsModifier

mOD_CONTROL :: FsModifier

mOD_SHIFT :: FsModifier

mOD_WIN :: FsModifier

mOD_NOREPEAT :: FsModifier

This parameter requires to use Windows 7 or later.

wM_HOTKEY :: WindowMessage

joinModifiers :: FsModifiers -> FsModifier

registerHotKey :: MbHWND -> Int -> FsModifier -> VKey -> IO ()

c_RegisterHotKey :: HWND -> Int -> UINT -> VKey -> IO BOOL

unregisterHotKey :: MbHWND -> Int -> IO ()

c_UnregisterHotKey :: HWND -> Int -> IO BOOL

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