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 | Haskell98 |
A collection of FFI declarations for interfacing with Win32.
Documentation
createMenu :: IO HMENU Source
drawMenuBar :: HWND -> IO () Source
c_DrawMenuBar :: HWND -> IO Bool Source
type TrackMenuFlag = UINT Source
type SystemMenuCommand = UINT Source
getMenuItemCount :: HMENU -> IO Int Source
c_GetMenuItemCount :: HMENU -> IO Int 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
c_DestroyMenu :: HMENU -> IO Bool 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
trackPopupMenuEx :: HMENU -> TrackMenuFlag -> Int -> Int -> HWND -> Maybe (Ptr RECT) -> IO () Source