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 | Safe |
Language | Haskell2010 |
A collection of FFI declarations for interfacing with Win32.
Documentation
createMenu :: IO HMENU Source #
c_CreateMenu :: IO HMENU Source #
drawMenuBar :: HWND -> IO () Source #
type TrackMenuFlag = UINT Source #
type SystemMenuCommand = UINT Source #
data MenuItemInfo Source #
allocaMenuItemInfo :: (Ptr MenuItemInfo -> IO a) -> IO a Source #
withMenuItemInfo :: MenuItemInfo -> (Ptr MenuItemInfo -> IO a) -> IO a Source #
type MenuItemMask = UINT Source #
pokeFMask :: Ptr MenuItemInfo -> MenuItemMask -> IO () Source #
getMenuItemInfo :: HMENU -> MenuItem -> Bool -> MenuItemMask -> IO MenuItemInfo Source #
c_GetMenuItemInfo :: HMENU -> UINT -> Bool -> Ptr MenuItemInfo -> IO Bool Source #
insertMenuItem :: HMENU -> MenuItem -> Bool -> MenuItemInfo -> IO () Source #
c_InsertMenuItem :: HMENU -> UINT -> Bool -> Ptr MenuItemInfo -> IO Bool Source #
destroyMenu :: HMENU -> IO () Source #
setMenuItemInfo :: HMENU -> MenuItem -> Bool -> MenuItemMask -> MenuItemInfo -> IO () Source #
c_SetMenuItemInfo :: HMENU -> UINT -> Bool -> Ptr MenuItemInfo -> IO Bool Source #
trackPopupMenu :: HMENU -> TrackMenuFlag -> Int -> Int -> HWND -> RECT -> IO () Source #
c_TrackPopupMenu :: HMENU -> TrackMenuFlag -> Int -> Int -> Int -> HWND -> LPRECT -> IO Bool Source #
trackPopupMenuEx :: HMENU -> TrackMenuFlag -> Int -> Int -> HWND -> Maybe (Ptr RECT) -> IO () Source #