Copyright | (c) Alastair Reid, 1997-2003 |
---|---|
License | BSD-style (see the file libraries/base/LICENSE) |
Maintainer | Esa Ilari Vuokko <ei@vuokko.info> |
Stability | provisional |
Portability | portable |
Safe Haskell | Trustworthy |
Language | Haskell98 |
A collection of FFI declarations for interfacing with Win32.
Documentation
drawMenuBar :: HWND -> IO ()Source
c_DrawMenuBar :: HWND -> IO BoolSource
type TrackMenuFlag = UINTSource
type SystemMenuCommand = UINTSource
getMenuItemCount :: HMENU -> IO IntSource
c_GetMenuItemCount :: HMENU -> IO IntSource
data MenuItemInfoSource
allocaMenuItemInfo :: (Ptr MenuItemInfo -> IO a) -> IO aSource
withMenuItemInfo :: MenuItemInfo -> (Ptr MenuItemInfo -> IO a) -> IO aSource
type MenuItemMask = UINTSource
pokeFMask :: Ptr MenuItemInfo -> MenuItemMask -> IO ()Source
getMenuItemInfo :: HMENU -> MenuItem -> Bool -> MenuItemMask -> IO MenuItemInfoSource
c_GetMenuItemInfo :: HMENU -> UINT -> Bool -> Ptr MenuItemInfo -> IO BoolSource
insertMenuItem :: HMENU -> MenuItem -> Bool -> MenuItemInfo -> IO ()Source
c_InsertMenuItem :: HMENU -> UINT -> Bool -> Ptr MenuItemInfo -> IO BoolSource
destroyMenu :: HMENU -> IO ()Source
c_DestroyMenu :: HMENU -> IO BoolSource
setMenuItemInfo :: HMENU -> MenuItem -> Bool -> MenuItemMask -> MenuItemInfo -> IO ()Source
c_SetMenuItemInfo :: HMENU -> UINT -> Bool -> Ptr MenuItemInfo -> IO BoolSource
trackPopupMenu :: HMENU -> TrackMenuFlag -> Int -> Int -> HWND -> RECT -> IO ()Source