Constants

NOTE: Some of the constants below may be replaced or deprecated in future releases.

The following PHP constants are defined by WinBinder:

Window classes

AppWindow
ModalDialog
ModelessDialog
NakedWindow
PopupWindow
ResizableWindow
ToolDialog

Control classes

Accel
Calendar
CheckBox
ComboBox
EditBox
Frame
Gauge
HTMLControl
HyperLink
ImageButton
Label
ListBox
ListView
Menu
PushButton
RadioButton
RTFEditBox
ScrollBar
Slider
Spinner
StatusBar
TabControl
ToolBar
TreeView

System constants

WBC_VERSION

Style flags

WBC_BORDER
WBC_BOTTOM
WBC_CENTER
WBC_CHECKBOXES
WBC_CUSTOMDRAW
WBC_DEFAULTPOS
WBC_DISABLED
WBC_ELLIPSIS
WBC_ENABLED
WBC_GROUP

WBC_IMAGE
WBC_INVISIBLE
WBC_LEFT
WBC_LINES
WBC_MASKED
WBC_MIDDLE
WBC_MULTILINE
WBC_NOTIFY
WBC_NUMBER
WBC_READONLY
WBC_REDRAW
WBC_RIGHT
WBC_SINGLE
WBC_SORT
WBC_TASKBAR
WBC_TOP
WBC_VISIBLE

Notification message flags

WBC_DBLCLICK
WBC_MOUSEMOVE
WBC_MOUSEDOWN
WBC_MOUSEUP
WBC_KEYDOWN
WBC_KEYUP
WBC_GETFOCUS
WBC_REDRAW
WBC_RESIZE
WBC_HEADERSEL

Additional notification message flags

WBC_ALT
WBC_CONTROL
WBC_SHIFT
WBC_LBUTTON
WBC_MBUTTON
WBC_RBUTTON

Message box and beep types

WBC_BEEP
WBC_INFO
WBC_OK
WBC_OKCANCEL
WBC_QUESTION
WBC_STOP
WBC_WARNING
WBC_YESNO
WBC_YESNOCANCEL

Window states

WBC_MAXIMIZED
WBC_MINIMIZED
WBC_NORMAL

Area types

WBC_MINSIZE
WBC_MAXSIZE
WBC_TITLE

Windows standard identifiers

IDABORT
IDCANCEL
IDCLOSE
IDDEFAULT
IDHELP
IDIGNORE
IDNO
IDOK
IDRETRY
IDYES

Font attributes

FTA_BOLD
FTA_ITALIC
FTA_NORMAL
FTA_REGULAR
FTA_STRIKEOUT
FTA_UNDERLINE

RGB standard colors

BLACK
BLUE
CYAN
DARKBLUE
DARKCYAN
DARKGRAY
DARKGREEN
DARKMAGENTA
DARKRED
DARKYELLOW
GREEN
LIGHTGRAY
MAGENTA
RED
WHITE
YELLOW
NOCOLOR 

BGR standard colors

bgrBLACK
bgrBLUE
bgrCYAN
bgrDARKBLUE
bgrDARKCYAN
bgrDARKGRAY
bgrDARKGREEN
bgrDARKMAGENTA
bgrDARKRED
bgrDARKYELLOW
bgrGREEN
bgrLIGHTGRAY
bgrMAGENTA
bgrRED
bgrWHITE
bgrYELLOW
bgrNOCOLOR 

See also

Global variables