W3cubDocs

/Haskell 8

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] 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

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