Win32-2.2.0.2: A binding to part of the Win32 library
Source code
Contents
Index
Graphics.Win32.Dialogue
Portability
portable
Stability
provisional
Maintainer
Esa Ilari Vuokko <ei@vuokko.info>
Description
A collection of FFI declarations for interfacing with Win32.
Documentation
type
DTemplate
=
LPCTSTR
Source
type
DTemplateMem
=
Ptr
Stub_DTM
Source
newtype
Stub_DTM
Source
Constructors
Stub_DTM
DTemplateMem
newtype
DIA_TEMPLATE
Source
Constructors
DIA_TEMPLATE
(
Ptr
DIA_TEMPLATE
)
type
DialogStyle
=
WindowStyle
Source
mkDialogTemplate
::
String
->
IO
DTemplate
Source
type
ResourceID
=
Int
Source
mkResource
::
ResourceID
->
IO
(
Ptr
a)
Source
mkDialogTemplateFromResource
::
Int
->
IO
DTemplate
Source
type
DialogProc
=
HWND
->
WindowMessage
->
WPARAM
->
LPARAM
->
IO
Int
Source
marshall_dialogProc_
::
DialogProc
->
IO
(
FunPtr
DialogProc
)
Source
mkDialogClosure
::
DialogProc
->
IO
(
FunPtr
DialogProc
)
Source
dialogBox
::
HINSTANCE
->
DTemplate
->
Maybe
HWND
->
DialogProc
->
IO
Int
Source
dialogBoxParam
::
HINSTANCE
->
DTemplate
->
Maybe
HWND
->
DialogProc
->
LPARAM
->
IO
Int
Source
c_DialogBoxParam
::
HINSTANCE
->
DTemplate
->
HWND
->
FunPtr
DialogProc
->
LPARAM
->
IO
Int
Source
dialogBoxIndirect
::
HINSTANCE
->
DTemplateMem
->
Maybe
HWND
->
DialogProc
->
IO
Int
Source
dialogBoxIndirectParam
::
HINSTANCE
->
DTemplateMem
->
Maybe
HWND
->
DialogProc
->
LPARAM
->
IO
Int
Source
c_DialogBoxIndirectParam
::
HINSTANCE
->
DTemplateMem
->
HWND
->
FunPtr
DialogProc
->
LPARAM
->
IO
Int
Source
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
DTemplateMem
Source
pushButtonControl
::
Int
->
Int
->
Int
->
Int
->
DWORD
->
DWORD
->
Int
->
String
->
DialogControl
Source
labelControl
::
Int
->
Int
->
Int
->
Int
->
DWORD
->
DWORD
->
Int
->
String
->
DialogControl
Source
listBoxControl
::
Int
->
Int
->
Int
->
Int
->
DWORD
->
DWORD
->
Int
->
String
->
DialogControl
Source
comboBoxControl
::
Int
->
Int
->
Int
->
Int
->
DWORD
->
DWORD
->
Int
->
String
->
DialogControl
Source
editControl
::
Int
->
Int
->
Int
->
Int
->
DWORD
->
DWORD
->
Int
->
String
->
DialogControl
Source
scrollBarControl
::
Int
->
Int
->
Int
->
Int
->
DWORD
->
DWORD
->
Int
->
String
->
DialogControl
Source
getFinalDialog
::
Ptr
DIA_TEMPLATE
->
IO
DTemplateMem
Source
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
LPCWSTR
Source
createDialog
::
HINSTANCE
->
DTemplate
->
Maybe
HWND
->
DialogProc
->
IO
HWND
Source
createDialogParam
::
HINSTANCE
->
DTemplate
->
Maybe
HWND
->
DialogProc
->
LPARAM
->
IO
HWND
Source
c_CreateDialogParam
::
HINSTANCE
->
DTemplate
->
HWND
->
FunPtr
DialogProc
->
LPARAM
->
IO
HWND
Source
createDialogIndirect
::
HINSTANCE
->
DTemplateMem
->
Maybe
HWND
->
DialogProc
->
IO
HWND
Source
createDialogIndirectParam
::
HINSTANCE
->
DTemplateMem
->
Maybe
HWND
->
DialogProc
->
LPARAM
->
IO
HWND
Source
c_CreateDialogIndirectParam
::
HINSTANCE
->
DTemplateMem
->
HWND
->
FunPtr
DialogProc
->
LPARAM
->
IO
HWND
Source
defDlgProc
::
HWND
->
WindowMessage
->
WPARAM
->
LPARAM
->
IO
LRESULT
Source
endDialog
::
HWND
->
Int
->
IO
()
Source
c_EndDialog
::
HWND
->
Int
->
IO
BOOL
Source
getDialogBaseUnits
::
IO
LONG
Source
getDlgCtrlID
::
HWND
->
IO
Int
Source
c_GetDlgCtrlID
::
HWND
->
IO
Int
Source
getDlgItem
::
HWND
->
Int
->
IO
HWND
Source
c_GetDlgItem
::
HWND
->
Int
->
IO
HWND
Source
getDlgItemInt
::
HWND
->
Int
->
Bool
->
IO
Int
Source
c_GetDlgItemInt
::
HWND
->
Int
->
Ptr
Bool
->
Bool
->
IO
UINT
Source
getDlgItemText
::
HWND
->
Int
->
Int
->
IO
String
Source
c_GetDlgItemText
::
HWND
->
Int
->
LPTSTR
->
Int
->
IO
Int
Source
getNextDlgGroupItem
::
HWND
->
HWND
->
BOOL
->
IO
HWND
Source
c_GetNextDlgGroupItem
::
HWND
->
HWND
->
BOOL
->
IO
HWND
Source
getNextDlgTabItem
::
HWND
->
HWND
->
BOOL
->
IO
HWND
Source
c_GetNextDlgTabItem
::
HWND
->
HWND
->
BOOL
->
IO
HWND
Source
isDialogMessage
::
HWND
->
LPMSG
->
IO
BOOL
Source
mapDialogRect
::
HWND
->
LPRECT
->
IO
()
Source
c_MapDialogRect
::
HWND
->
LPRECT
->
IO
Bool
Source
sendDlgItemMessage
::
HWND
->
Int
->
WindowMessage
->
WPARAM
->
LPARAM
->
IO
LONG
Source
setDlgItemInt
::
HWND
->
Int
->
UINT
->
BOOL
->
IO
()
Source
c_SetDlgItemInt
::
HWND
->
Int
->
UINT
->
BOOL
->
IO
Bool
Source
setDlgItemText
::
HWND
->
Int
->
String
->
IO
()
Source
c_SetDlgItemText
::
HWND
->
Int
->
LPCTSTR
->
IO
Bool
Source
dS_3DLOOK
::
WindowStyle
Source
dS_ABSALIGN
::
WindowStyle
Source
dS_CENTER
::
WindowStyle
Source
dS_CENTERMOUSE
::
WindowStyle
Source
dS_CONTEXTHELP
::
WindowStyle
Source
dS_CONTROL
::
WindowStyle
Source
dS_FIXEDSYS
::
WindowStyle
Source
dS_LOCALEDIT
::
WindowStyle
Source
dS_MODALFRAME
::
WindowStyle
Source
dM_GETDEFID
::
WindowMessage
Source
dS_NOFAILCREATE
::
WindowStyle
Source
dM_REPOSITION
::
WindowMessage
Source
dS_NOIDLEMSG
::
WindowStyle
Source
dM_SETDEFID
::
WindowMessage
Source
dS_SETFONT
::
WindowStyle
Source
wM_CTLCOLORDLG
::
WindowMessage
Source
dS_SETFOREGROUND
::
WindowStyle
Source
wM_CTLCOLORMSGBOX
::
WindowMessage
Source
dS_SYSMODAL
::
WindowStyle
Source
Produced by
Haddock
version 2.6.1