Graphics.Win32.Control

Win32-2.5.4.1: 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 | Haskell98

Graphics.Win32.Control (signature[?])

Description

FFI bindings to the various standard Win32 controls.

# Documentation

type ButtonStyle = WindowStyle Source #

bS_PUSHBUTTON :: ButtonStyle Source #

bS_DEFPUSHBUTTON :: ButtonStyle Source #

bS_CHECKBOX :: ButtonStyle Source #

bS_AUTOCHECKBOX :: ButtonStyle Source #

bS_RADIOBUTTON :: ButtonStyle Source #

bS_3STATE :: ButtonStyle Source #

bS_AUTO3STATE :: ButtonStyle Source #

bS_GROUPBOX :: ButtonStyle Source #

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

bS_AUTORADIOBUTTON :: ButtonStyle Source #

bS_OWNERDRAW :: ButtonStyle Source #

bS_LEFTTEXT :: ButtonStyle Source #

bS_USERBUTTON :: ButtonStyle Source #

buttonStyle :: ClassName Source #

type ButtonState = UINT Source #

bST_CHECKED :: ButtonState Source #

bST_INDETERMINATE :: ButtonState Source #

bST_UNCHECKED :: ButtonState Source #

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

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

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

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

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

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

type ComboBoxStyle = WindowStyle Source #

cBS_SIMPLE :: ComboBoxStyle Source #

cBS_DROPDOWN :: ComboBoxStyle Source #

cBS_DROPDOWNLIST :: ComboBoxStyle Source #

cBS_OWNERDRAWFIXED :: ComboBoxStyle Source #

cBS_OWNERDRAWVARIABLE :: ComboBoxStyle Source #

cBS_AUTOHSCROLL :: ComboBoxStyle Source #

cBS_OEMCONVERT :: ComboBoxStyle Source #

cBS_SORT :: ComboBoxStyle Source #

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

cBS_HASSTRINGS :: ComboBoxStyle Source #

cBS_NOINTEGRALHEIGHT :: ComboBoxStyle Source #

cBS_DISABLENOSCROLL :: ComboBoxStyle Source #

comboBoxStyle :: ClassName Source #

type EditStyle = WindowStyle Source #

eS_LEFT :: EditStyle Source #

eS_CENTER :: EditStyle Source #

eS_RIGHT :: EditStyle Source #

eS_MULTILINE :: EditStyle Source #

eS_UPPERCASE :: EditStyle Source #

eS_LOWERCASE :: EditStyle Source #

eS_PASSWORD :: EditStyle Source #

eS_AUTOVSCROLL :: EditStyle Source #

eS_AUTOHSCROLL :: EditStyle Source #

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

eS_NOHIDESEL :: EditStyle Source #

eS_OEMCONVERT :: EditStyle Source #

eS_READONLY :: EditStyle Source #

eS_WANTRETURN :: EditStyle Source #

editStyle :: ClassName Source #

type ListBoxStyle = WindowStyle Source #

lBS_NOTIFY :: ListBoxStyle Source #

lBS_SORT :: ListBoxStyle Source #

lBS_NOREDRAW :: ListBoxStyle Source #

lBS_MULTIPLESEL :: ListBoxStyle Source #

lBS_OWNERDRAWFIXED :: ListBoxStyle Source #

lBS_OWNERDRAWVARIABLE :: ListBoxStyle Source #

lBS_HASSTRINGS :: ListBoxStyle Source #

lBS_USETABSTOPS :: ListBoxStyle Source #

lBS_NOINTEGRALHEIGHT :: ListBoxStyle Source #

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

lBS_MULTICOLUMN :: ListBoxStyle Source #

lBS_WANTKEYBOARDINPUT :: ListBoxStyle Source #

lBS_DISABLENOSCROLL :: ListBoxStyle Source #

lBS_STANDARD :: ListBoxStyle Source #

listBoxStyle :: ClassName Source #

type ScrollbarStyle = WindowStyle Source #

sBS_HORZ :: ScrollbarStyle Source #

sBS_TOPALIGN :: ScrollbarStyle Source #

sBS_BOTTOMALIGN :: ScrollbarStyle Source #

sBS_VERT :: ScrollbarStyle Source #

sBS_LEFTALIGN :: ScrollbarStyle Source #

sBS_RIGHTALIGN :: ScrollbarStyle Source #

sBS_SIZEBOX :: ScrollbarStyle Source #

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

sBS_SIZEBOXTOPLEFTALIGN :: ScrollbarStyle Source #

sBS_SIZEBOXBOTTOMRIGHTALIGN :: ScrollbarStyle Source #

scrollBarStyle :: ClassName Source #

type StaticControlStyle = WindowStyle Source #

sS_LEFT :: StaticControlStyle Source #

sS_CENTER :: StaticControlStyle Source #

sS_RIGHT :: StaticControlStyle Source #

sS_ICON :: StaticControlStyle Source #

sS_BLACKRECT :: StaticControlStyle Source #

sS_GRAYRECT :: StaticControlStyle Source #

sS_WHITERECT :: StaticControlStyle Source #

sS_BLACKFRAME :: StaticControlStyle Source #

sS_GRAYFRAME :: StaticControlStyle Source #

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

sS_WHITEFRAME :: StaticControlStyle Source #

sS_SIMPLE :: StaticControlStyle Source #

sS_LEFTNOWORDWRAP :: StaticControlStyle Source #

sS_NOPREFIX :: StaticControlStyle Source #

staticStyle :: ClassName Source #

pBM_DELTAPOS :: WindowMessage Source #

pBM_SETPOS :: WindowMessage Source #

pBM_SETRANGE :: WindowMessage Source #

pBM_SETSTEP :: WindowMessage Source #

pBM_STEPIT :: WindowMessage Source #