Graphics.Win32.Window.HotKey

Win32-2.5.4.1: A binding to part of the Win32 library

Copyright | 2013 shelarcy
License | BSD-style
Maintainer | shelarcy@gmail.com
Stability | Provisional
Portability | Non-portable (Win32 API)
Safe Haskell | None
Language | Haskell98

Graphics.Win32.Window.HotKey (signature[?])

Description

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

Synopsis

- type FsModifiers = [FsModifier]
- type FsModifier = UINT
- mOD_ALT :: FsModifier
- mOD_CONTROL :: FsModifier
- mOD_SHIFT :: FsModifier
- mOD_WIN :: FsModifier
- mOD_NOREPEAT :: FsModifier
- 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

# Documentation

type FsModifiers = [FsModifier] Source #

type FsModifier = UINT Source #

mOD_ALT :: FsModifier Source #

mOD_CONTROL :: FsModifier Source #

mOD_SHIFT :: FsModifier Source #

mOD_WIN :: FsModifier Source #

mOD_NOREPEAT :: FsModifier Source #

This parameter requires to use Windows 7 or later.

wM_HOTKEY :: WindowMessage Source #

joinModifiers :: FsModifiers -> FsModifier Source #

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

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

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

c_UnregisterHotKey :: HWND -> Int -> IO BOOL Source #