Win32-2.1.1.1: A binding to part of the Win32 librarySource codeContentsIndex
Graphics.Win32.Dialogue
Portabilityportable
Stabilityprovisional
MaintainerEsa Ilari Vuokko <ei@vuokko.info>
Description
A collection of FFI declarations for interfacing with Win32.
Documentation
type DTemplate = LPCTSTRSource
type DTemplateMem = Ptr Stub_DTMSource
newtype Stub_DTM Source
Constructors
Stub_DTM DTemplateMem
newtype DIA_TEMPLATE Source
Constructors
DIA_TEMPLATE (Ptr DIA_TEMPLATE)
type DialogStyle = WindowStyleSource
mkDialogTemplate :: String -> IO DTemplateSource
type ResourceID = IntSource
mkResource :: ResourceID -> IO (Ptr a)Source
mkDialogTemplateFromResource :: Int -> IO DTemplateSource
type DialogProc = HWND -> WindowMessage -> WPARAM -> LPARAM -> IO IntSource
marshall_dialogProc_ :: DialogProc -> IO (FunPtr DialogProc)Source
mkDialogClosure :: DialogProc -> IO (FunPtr DialogProc)Source
dialogBox :: HINSTANCE -> DTemplate -> Maybe HWND -> DialogProc -> IO IntSource
dialogBoxParam :: HINSTANCE -> DTemplate -> Maybe HWND -> DialogProc -> LPARAM -> IO IntSource
c_DialogBoxParam :: HINSTANCE -> DTemplate -> HWND -> FunPtr DialogProc -> LPARAM -> IO IntSource
dialogBoxIndirect :: HINSTANCE -> DTemplateMem -> Maybe HWND -> DialogProc -> IO IntSource
dialogBoxIndirectParam :: HINSTANCE -> DTemplateMem -> Maybe HWND -> DialogProc -> LPARAM -> IO IntSource
c_DialogBoxIndirectParam :: HINSTANCE -> DTemplateMem -> HWND -> FunPtr DialogProc -> LPARAM -> IO IntSource
data DialogTemplate Source
Constructors
DialogTemplate Int Int Int Int WindowStyle DWORD (Either ResourceID String) (Either ResourceID String) (Either ResourceID String) (Either ResourceID String) Int [DialogControl]
data DialogControl Source
Constructors
DialogControl Int Int Int Int (Either ResourceID String) (Either ResourceID String) WindowStyle DWORD Int
mkDialogFromTemplate :: DialogTemplate -> IO DTemplateMemSource
pushButtonControl :: Int -> Int -> Int -> Int -> DWORD -> DWORD -> Int -> String -> DialogControlSource
labelControl :: Int -> Int -> Int -> Int -> DWORD -> DWORD -> Int -> String -> DialogControlSource
listBoxControl :: Int -> Int -> Int -> Int -> DWORD -> DWORD -> Int -> String -> DialogControlSource
comboBoxControl :: Int -> Int -> Int -> Int -> DWORD -> DWORD -> Int -> String -> DialogControlSource
editControl :: Int -> Int -> Int -> Int -> DWORD -> DWORD -> Int -> String -> DialogControlSource
scrollBarControl :: Int -> Int -> Int -> Int -> DWORD -> DWORD -> Int -> String -> DialogControlSource
getFinalDialog :: Ptr DIA_TEMPLATE -> IO DTemplateMemSource
mkDiaTemplate :: Int -> Int -> Int -> Int -> Int -> WindowStyle -> DWORD -> LPCWSTR -> LPCWSTR -> LPCWSTR -> LPCWSTR -> Int -> IO (Ptr DIA_TEMPLATE)Source
addControl :: Ptr DIA_TEMPLATE -> DialogControl -> IO ()Source
addDiaControl :: Ptr DIA_TEMPLATE -> LPCWSTR -> Int -> LPCWSTR -> DWORD -> Int -> Int -> Int -> Int -> DWORD -> IO (Ptr DIA_TEMPLATE)Source
marshall_res :: Either ResourceID String -> IO LPCWSTRSource
createDialog :: HINSTANCE -> DTemplate -> Maybe HWND -> DialogProc -> IO HWNDSource
createDialogParam :: HINSTANCE -> DTemplate -> Maybe HWND -> DialogProc -> LPARAM -> IO HWNDSource
c_CreateDialogParam :: HINSTANCE -> DTemplate -> HWND -> FunPtr DialogProc -> LPARAM -> IO HWNDSource
createDialogIndirect :: HINSTANCE -> DTemplateMem -> Maybe HWND -> DialogProc -> IO HWNDSource
createDialogIndirectParam :: HINSTANCE -> DTemplateMem -> Maybe HWND -> DialogProc -> LPARAM -> IO HWNDSource
c_CreateDialogIndirectParam :: HINSTANCE -> DTemplateMem -> HWND -> FunPtr DialogProc -> LPARAM -> IO HWNDSource
defDlgProc :: HWND -> WindowMessage -> WPARAM -> LPARAM -> IO LRESULTSource
endDialog :: HWND -> Int -> IO ()Source
c_EndDialog :: HWND -> Int -> IO BOOLSource
getDialogBaseUnits :: IO LONGSource
getDlgCtrlID :: HWND -> IO IntSource
c_GetDlgCtrlID :: HWND -> IO IntSource
getDlgItem :: HWND -> Int -> IO HWNDSource
c_GetDlgItem :: HWND -> Int -> IO HWNDSource
getDlgItemInt :: HWND -> Int -> Bool -> IO IntSource
c_GetDlgItemInt :: HWND -> Int -> Ptr Bool -> Bool -> IO UINTSource
getDlgItemText :: HWND -> Int -> Int -> IO StringSource
c_GetDlgItemText :: HWND -> Int -> LPTSTR -> Int -> IO IntSource
getNextDlgGroupItem :: HWND -> HWND -> BOOL -> IO HWNDSource
c_GetNextDlgGroupItem :: HWND -> HWND -> BOOL -> IO HWNDSource
getNextDlgTabItem :: HWND -> HWND -> BOOL -> IO HWNDSource
c_GetNextDlgTabItem :: HWND -> HWND -> BOOL -> IO HWNDSource
isDialogMessage :: HWND -> LPMSG -> IO BOOLSource
mapDialogRect :: HWND -> LPRECT -> IO ()Source
c_MapDialogRect :: HWND -> LPRECT -> IO BoolSource
sendDlgItemMessage :: HWND -> Int -> WindowMessage -> WPARAM -> LPARAM -> IO LONGSource
setDlgItemInt :: HWND -> Int -> UINT -> BOOL -> IO ()Source
c_SetDlgItemInt :: HWND -> Int -> UINT -> BOOL -> IO BoolSource
setDlgItemText :: HWND -> Int -> String -> IO ()Source
c_SetDlgItemText :: HWND -> Int -> LPCTSTR -> IO BoolSource
dS_3DLOOK :: WindowStyleSource
dS_ABSALIGN :: WindowStyleSource
dS_CENTER :: WindowStyleSource
dS_CENTERMOUSE :: WindowStyleSource
dS_CONTEXTHELP :: WindowStyleSource
dS_CONTROL :: WindowStyleSource
dS_FIXEDSYS :: WindowStyleSource
dS_LOCALEDIT :: WindowStyleSource
dS_MODALFRAME :: WindowStyleSource
dS_NOFAILCREATE :: WindowStyleSource
dS_NOIDLEMSG :: WindowStyleSource
dS_SETFONT :: WindowStyleSource
dS_SETFOREGROUND :: WindowStyleSource
dS_SYSMODAL :: WindowStyleSource
dM_GETDEFID :: WindowMessageSource
dM_REPOSITION :: WindowMessageSource
dM_SETDEFID :: WindowMessageSource
wM_CTLCOLORDLG :: WindowMessageSource
wM_CTLCOLORMSGBOX :: WindowMessageSource
Produced by Haddock version 0.8