Copyright | 2013 shelarcy |
---|---|
License | BSD-style |
Maintainer | shelarcy@gmail.com |
Stability | Provisional |
Portability | Non-portable (Win32 API) |
Safe Haskell | None |
Language | Haskell2010 |
An FFI binding to the hot key part of the Win32 API.
Synopsis
- type FsModifiers = [FsModifier]
- type FsModifier = UINT
- mOD_ALT :: FsModifier
- mOD_ALT :: FsModifier
- mOD_CONTROL :: FsModifier
- mOD_CONTROL :: FsModifier
- mOD_SHIFT :: FsModifier
- mOD_SHIFT :: FsModifier
- mOD_WIN :: FsModifier
- mOD_WIN :: FsModifier
- mOD_NOREPEAT :: FsModifier
- mOD_NOREPEAT :: FsModifier
- wM_HOTKEY :: WindowMessage
- wM_HOTKEY :: WindowMessage
- joinModifiers :: FsModifiers -> FsModifier
- joinModifiers :: FsModifiers -> FsModifier
- registerHotKey :: MbHWND -> Int -> FsModifier -> VKey -> IO ()
- registerHotKey :: MbHWND -> Int -> FsModifier -> VKey -> IO ()
- c_RegisterHotKey :: HWND -> Int -> UINT -> VKey -> IO BOOL
- unregisterHotKey :: MbHWND -> Int -> IO ()
- unregisterHotKey :: MbHWND -> Int -> IO ()
- c_UnregisterHotKey :: HWND -> Int -> IO BOOL
Documentation
type FsModifiers = [FsModifier] Source #
type FsModifier = UINT Source #
mOD_ALT :: FsModifier Source #
mOD_ALT :: FsModifier Source #
mOD_WIN :: FsModifier Source #
mOD_WIN :: FsModifier Source #
mOD_NOREPEAT :: FsModifier Source #
This parameter requires to use Windows 7 or later.
mOD_NOREPEAT :: FsModifier Source #
This parameter requires to use Windows 7 or later.
registerHotKey :: MbHWND -> Int -> FsModifier -> VKey -> IO () Source #
registerHotKey :: MbHWND -> Int -> FsModifier -> VKey -> IO () Source #