Graphics.Win32.Control

Win32-2.6.1.0: A binding to part of the Win32 library

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 | Trustworthy
Language | Haskell2010

Graphics.Win32.Control

Description

FFI bindings to the various standard Win32 controls.

# Documentation

type ButtonStyle = WindowStyle #

bS_PUSHBUTTON :: ButtonStyle #

bS_DEFPUSHBUTTON :: ButtonStyle #

bS_CHECKBOX :: ButtonStyle #

bS_AUTOCHECKBOX :: ButtonStyle #

bS_RADIOBUTTON :: ButtonStyle #

bS_3STATE :: ButtonStyle #

bS_AUTO3STATE :: ButtonStyle #

bS_GROUPBOX :: ButtonStyle #

bS_AUTORADIOBUTTON :: ButtonStyle #

bS_OWNERDRAW :: ButtonStyle #

bS_LEFTTEXT :: ButtonStyle #

bS_USERBUTTON :: ButtonStyle #

createButton :: String -> WindowStyle -> ButtonStyle -> Maybe Pos -> Maybe Pos -> Maybe Pos -> Maybe Pos -> Maybe HWND -> Maybe HMENU -> HANDLE -> IO HWND #

buttonStyle :: ClassName #

type ButtonState = UINT #

bST_CHECKED :: ButtonState #

bST_INDETERMINATE :: ButtonState #

bST_UNCHECKED :: ButtonState #

checkDlgButton :: HWND -> Int -> ButtonState -> IO () #

c_CheckDlgButton :: HWND -> Int -> ButtonState -> IO Bool #

checkRadioButton :: HWND -> Int -> Int -> Int -> IO () #

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

isDlgButtonChecked :: HWND -> Int -> IO ButtonState #

c_IsDlgButtonChecked :: HWND -> Int -> IO ButtonState #

type ComboBoxStyle = WindowStyle #

cBS_SIMPLE :: ComboBoxStyle #

cBS_DROPDOWN :: ComboBoxStyle #

cBS_DROPDOWNLIST :: ComboBoxStyle #

cBS_OWNERDRAWFIXED :: ComboBoxStyle #

cBS_OWNERDRAWVARIABLE :: ComboBoxStyle #

cBS_AUTOHSCROLL :: ComboBoxStyle #

cBS_OEMCONVERT :: ComboBoxStyle #

cBS_SORT :: ComboBoxStyle #

createComboBox :: String -> WindowStyle -> ComboBoxStyle -> Maybe Pos -> Maybe Pos -> Maybe Pos -> Maybe Pos -> HWND -> Maybe HMENU -> HANDLE -> IO HWND #

cBS_HASSTRINGS :: ComboBoxStyle #

cBS_NOINTEGRALHEIGHT :: ComboBoxStyle #

cBS_DISABLENOSCROLL :: ComboBoxStyle #

comboBoxStyle :: ClassName #

type EditStyle = WindowStyle #

eS_LEFT :: EditStyle #

eS_CENTER :: EditStyle #

eS_RIGHT :: EditStyle #

eS_MULTILINE :: EditStyle #

eS_UPPERCASE :: EditStyle #

eS_LOWERCASE :: EditStyle #

eS_PASSWORD :: EditStyle #

eS_AUTOVSCROLL :: EditStyle #

eS_AUTOHSCROLL :: EditStyle #

createEditWindow :: String -> WindowStyle -> EditStyle -> Maybe Pos -> Maybe Pos -> Maybe Pos -> Maybe Pos -> HWND -> Maybe HMENU -> HANDLE -> IO HWND #

eS_NOHIDESEL :: EditStyle #

eS_OEMCONVERT :: EditStyle #

eS_READONLY :: EditStyle #

eS_WANTRETURN :: EditStyle #

editStyle :: ClassName #

type ListBoxStyle = WindowStyle #

lBS_NOTIFY :: ListBoxStyle #

lBS_SORT :: ListBoxStyle #

lBS_NOREDRAW :: ListBoxStyle #

lBS_MULTIPLESEL :: ListBoxStyle #

lBS_OWNERDRAWFIXED :: ListBoxStyle #

lBS_OWNERDRAWVARIABLE :: ListBoxStyle #

lBS_HASSTRINGS :: ListBoxStyle #

lBS_USETABSTOPS :: ListBoxStyle #

lBS_NOINTEGRALHEIGHT :: ListBoxStyle #

createListBox :: String -> WindowStyle -> ListBoxStyle -> Maybe Pos -> Maybe Pos -> Maybe Pos -> Maybe Pos -> HWND -> Maybe HMENU -> HANDLE -> IO HWND #

lBS_MULTICOLUMN :: ListBoxStyle #

lBS_WANTKEYBOARDINPUT :: ListBoxStyle #

lBS_DISABLENOSCROLL :: ListBoxStyle #

lBS_STANDARD :: ListBoxStyle #

listBoxStyle :: ClassName #

type ScrollbarStyle = WindowStyle #

sBS_HORZ :: ScrollbarStyle #

sBS_TOPALIGN :: ScrollbarStyle #

sBS_BOTTOMALIGN :: ScrollbarStyle #

sBS_VERT :: ScrollbarStyle #

sBS_LEFTALIGN :: ScrollbarStyle #

sBS_RIGHTALIGN :: ScrollbarStyle #

sBS_SIZEBOX :: ScrollbarStyle #

createScrollbar :: String -> WindowStyle -> ScrollbarStyle -> Maybe Pos -> Maybe Pos -> Maybe Pos -> Maybe Pos -> HWND -> Maybe HMENU -> HANDLE -> IO HWND #

sBS_SIZEBOXTOPLEFTALIGN :: ScrollbarStyle #

sBS_SIZEBOXBOTTOMRIGHTALIGN :: ScrollbarStyle #

scrollBarStyle :: ClassName #

type StaticControlStyle = WindowStyle #

sS_LEFT :: StaticControlStyle #

sS_CENTER :: StaticControlStyle #

sS_RIGHT :: StaticControlStyle #

sS_ICON :: StaticControlStyle #

sS_BLACKRECT :: StaticControlStyle #

sS_GRAYRECT :: StaticControlStyle #

sS_WHITERECT :: StaticControlStyle #

sS_BLACKFRAME :: StaticControlStyle #

sS_GRAYFRAME :: StaticControlStyle #

createStaticWindow :: String -> WindowStyle -> StaticControlStyle -> Maybe Pos -> Maybe Pos -> Maybe Pos -> Maybe Pos -> HWND -> Maybe HMENU -> HANDLE -> IO HWND #

sS_WHITEFRAME :: StaticControlStyle #

sS_SIMPLE :: StaticControlStyle #

sS_LEFTNOWORDWRAP :: StaticControlStyle #

sS_NOPREFIX :: StaticControlStyle #

staticStyle :: ClassName #

pBM_DELTAPOS :: WindowMessage #

pBM_SETPOS :: WindowMessage #

pBM_SETRANGE :: WindowMessage #

pBM_SETSTEP :: WindowMessage #

pBM_STEPIT :: WindowMessage #