Win32-2.6.1.0: A binding to part of the Win32 library
Copyright(c) Alastair Reid 1997-2003
LicenseBSD-style (see the file libraries/base/LICENSE)
MaintainerEsa Ilari Vuokko <ei@vuokko.info>
Stabilityprovisional
Portabilityportable
Safe HaskellTrustworthy
LanguageHaskell2010

Graphics.Win32.Window

Description

A collection of FFI declarations for interfacing with Win32.

Synopsis

Documentation

withWNDCLASS :: WNDCLASS -> (Ptr WNDCLASS -> IO a) -> IO a #

type Pos = Int #

type MbPos = Maybe Pos #

closeWindow :: HWND -> IO () #

findWindowByName :: String -> IO (Maybe HWND) #

Deprecated: Use 'findWindow Nothing' instead.

moveWindow :: HWND -> Int -> Int -> Int -> Int -> Bool -> IO () #

c_MoveWindow :: HWND -> Int -> Int -> Int -> Int -> Bool -> IO Bool #

releaseDC :: Maybe HWND -> HDC -> IO () #

hideCaret :: HWND -> IO () #

showCaret :: HWND -> IO () #

type LPMSG = Addr #

allocaMessage :: (LPMSG -> IO a) -> IO a #

peekMessage :: LPMSG -> Maybe HWND -> UINT -> UINT -> UINT -> IO () #