Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter NineDialog Functions

Chapter Contents

9.1 Dialogs
9.1.1 Introduction
9.1.2 Resources
9.2 Common Dialogs
9.2.1 Introduction
9.2.2 Message Box Functions
9.2.3 Password Functions
9.2.4 Browse Function Overview
9.2.5 Filters
9.2.6 Path Scoping
9.2.7 Path Substitution
9.2.8 File Browse Functions
BrowseAddOpenScope Function
BrowseAddSaveScope Function
BrowseFolder Function
BrowseIsInOpenScope Function
BrowseIsInSaveScope Function
BrowseOpenFile Function
BrowseOpenFiles Function
BrowseSaveFile Function
9.3 Custom Dialogs
9.3.1 Dialog Components
9.3.2 Dialog Box Basics
9.3.3 Dialog Style
9.3.5 Opening a Dialog
9.3.6 Windows Messages
9.4 Dialog Resource Templates
9.4.1 Introduction
9.4.2 An Example
9.4.3 Dialog Resource Structure
9.4.4 Dialog Units and Measurements
9.4.5 Screen Position
9.4.6 Dialog Box Window Menu
9.4.7 Dialog Box Fonts
9.4.8 Controls
9.4.9 Control IDs 
9.4.10 Supported Controls
9.5 The Dialog Resource
9.5.1 Introduction
9.5.2 Resource Structure
9.5.3 Resource Statements
DIALOG Resource Statement
DIALOGEX Resource Statement
BEGIN Resource Statement
CAPTION Resource Statement
CHARACTERISTICS Resource Statement
CLASS Resource Statement
END Resource Statement
EXSTYLE Resource Statement
FONT Resource Statement
LANGUAGE Resource Statement
MENU Resource Statement
STYLE Resource Statement
VERSION Resource Statement
9.6 Dialog Controls and Common Controls
9.6.1 Control Types
9.6.2 Window Styles
9.6.3 Control Class Names
9.6.4 Button Class Styles
9.6.5 ComboBox Class Styles
9.6.6 Edit Class Styles
9.6.7 ListBox Class Styles
9.6.8 Scrollbar Class Styles
9.6.9 Static Class Styles
9.6.10 Trackbar Class Styles
9.7 Dialog Control Resource Statements
9.7.1 Introduction
9.7.2 Resource Statements
AUTO3STATE Resource Statement
AUTOCHECKBOX Resource Statement
AUTORADIOBUTTON Resource Statement
CHECKBOX Resource Statement
COMBOBOX Resource Statement
CONTROL Resource Statement
CTEXT Resource Statement
DEFPUSHBUTTON Resource Statement
EDITTEXT Resource Statement
GROUPBOX Resource Statement
ICON Resource Statement
LISTBOX Resource Statement
LTEXT Resource Statement
PUSHBOX Resource Statement
PUSHBUTTON Resource Statement
RADIOBUTTON Resource Statement
RTEXT Resource Statement
SCROLLBAR Resource Statement
STATE3 Resource Statement
9.8 Image Resources
9.8.1 Introduction
9.8.2 ICON and BITMAP Resource Structure
9.8.3 Functions
LoadBitmap Function
LoadIcon Function
9.9 Dialog Functions
9.9.1 Overview
9.9.2 Dialog Procedures
9.9.3 Default Control Error Codes
9.9.4 Dialog Box Functions
DialogBox Function
DialogGetCaption Function
DialogEnumerateControls Function
DialogGetFrameHeight Function
DialogGetFrameWidth Function
DialogGetFrameXPosition Function
DialogGetFrameYPosition Function
DialogGetPageHandle Function
DialogGetPageHeight Function
DialogGetPageWidth Function
DialogGetPageXPosition Function
DialogGetPageYPosition Function
DialogGetResourceName Function
DialogKillTimer Function
DialogPositionAtMouse Function
DialogPositionCenter Function
DialogPositionLeft Function
DialogPositionRight Function
DialogPostCancel Function
DialogPostOK Function
DialogSetAdHocMenu Function
DialogSetCaption Function
DialogSetHelp Function
DialogSetIcon Function
DialogSetMaximumSize Function
DialogSetMenu Function
DialogSetMinimumSize Function
DialogSetPageColor Function
DialogSetPosition Function
DialogSetReturnValue Function
DialogSetTimer Function
IsDialogPropertySheet Function
9.10 Control Functions
9.10.1 Overview
9.10.2 Functions
ControlChangeColor Function
ControlChangeFont Function
ControlDisable Function
ControlEnable Function
ControlGetHandle Function
ControlGetID Function
ControlGetPosition Function
ControlGetWindowStyle Function
ControlHide Function
ControlHideGroup Function
ControlIsEnabled Function
ControlIsHidden Function
ControlSendMessage Function
ControlSetFocus Function
ControlSetPosition Function
ControlShow Function
ControlShowGroup Function
ControlUpdate Function
GetMessageParameter Function
9.11 Button Controls
9.11.1 Introduction
9.11.2 Button Types and Styles
9.11.3 Check Boxes
9.11.4 Group Boxes
9.11.5 Push Buttons
9.11.6 Radio Buttons
9.11.7 Notifications
9.11.8 Button Functions
ButtonGetText Function
ButtonSetImage Function
ButtonSetText Function
9.12 Checkbox and Radio Controls
9.12.1 Introduction
9.12.2 Checkbox Specific Styles
9.12.3 Radio Button Styles
9.12.4 Notifications
9.12.5 Checkbox/Radio Button Functions
CheckboxGetState Function
CheckboxGetText Function
CheckboxHighlight Function
CheckboxSetImage Function
CheckboxSetState Function
CheckboxSetText Function
9.13 Date/Time Control
9.13.1 Introduction
9.13.2 Control Styles
9.13.3 Notifications
9.13.4 Functions
DateControlGet Function
DateControlSet Function
TimeControlGet Function
TimeControlSet Function
9.14 Edit Controls
9.14.1 Introduction
9.14.2 Edit Controls
9.14.3 Functions
EditGetText Function
EditGetUnicode Function
EditGetUTF Function
EditSetText Function
9.15 Combo Box Controls
9.15.1 Introduction
9.15.2 Combo Box List Box
9.15.3 Current Selection
9.15.4 Drop Down Lists
9.15.5 Combo Box — List Box
9.15.6 Combo Box — Edit Control
9.15.7 Combo Box Notifications and Messages
9.15.8 Combo Box Functions
ComboBoxAddArray Function
ComboBoxAddItem Function
ComboBoxDeleteItem Function
ComboBoxFindItem Function
ComboBoxFindItemExact Function
ComboBoxGetArray Function
ComboBoxGetDropWidth Function
ComboBoxGetEditText Function
ComboBoxGetItemCount Function
ComboBoxGetItemText Function
ComboBoxGetSelectIndex Function
ComboBoxGetSelectString Function
ComboBoxInsertItem Function
ComboBoxLimitEditSize Function
ComboBoxLoadFolder Function
ComboBoxLoadList Function
ComboBoxReset Function
ComboBoxSelectItem Function
ComboBoxSetDropWidth Function
ComboBoxSetEditText Function
ComboBoxShowDropDown Function
9.16 List Box Controls
9.16.1 Introduction
9.16.2 List Box Types and Styles
9.16.3 List Box Notifications
9.16.4 List Box Functions
ListBoxAddArray Function
ListBoxAddItem Function
ListBoxDeleteItem Function
ListBoxFindItem Function
ListBoxGetArray Function
ListBoxGetItemCount Function
ListBoxGetItemText Function
ListBoxGetSelectArray Function
ListBoxGetSelectCount Function
ListBoxGetSelectIndex Function
ListBoxGetSelectList Function
ListBoxInsertItem Function
ListBoxLoadList Function
ListBoxLoadFolder Function
ListBoxReplaceItem Function
ListBoxReset Function
ListBoxSelectItem Function
ListBoxSetCaret Function
ListBoxSetSelectIndex Function
ListBoxSetTabPositions Function
ListBoxTestItemSelect Function
9.17 Data Controls
9.17.1 Introduction
9.17.2 List Box Emulation
9.17.3 Data Control Types and Styles
9.17.4 Data Control Notifications
9.17.5 Data Control Functions
DataControlAddString Function
DataControlAddTable Function
DataControlComboAddString Function
DataControlComboAddList Function
DataControlComboDeleteItem Function
DataControlComboFindString Function
DataControlComboGetItemCount Function
DataControlComboGetSelectIndex Function
DataControlComboGetString Function
DataControlComboInsertString Function
DataControlComboReset Function
DataControlComboSelectItem Function
DataControlDeleteColumn Function
DataControlDeleteRow Function
DataControlFindCell Function
DataControlFindRowData Function
DataControlGetCaretPosition Function
DataControlGetCellAttributes Function
DataControlGetCellRect Function
DataControlGetCellSize Function
DataControlGetCellText Function
DataControlGetCellType Function
DataControlGetChangingText Function
DataControlGetClickData Function
DataControlGetClickPosition Function
DataControlGetColumnCount Function
DataControlGetColumnHeadings Function
DataControlGetColumnPositions Function
DataControlGetColumnWidths Function
DataControlGetData Function
DataControlGetDefaultRowHeight Function
DataControlGetRowCount Function
DataControlGetRowData Function
DataControlGetRowSelection Function
DataControlGetRowSelectState Function
DataControlGetSelectCount Function
DataControlGetSelectList Function
DataControlGetSortColumn Function
DataControlGetSortMode Function
DataControlGetString Function
DataControlGetTable Function
DataControlHasColumnArray Function
DataControlHasRowArray Function
DataControlInsertColumn Function
DataControlInsertRow Function
DataControlInsertString Function
DataControlLoadList Function
DataControlMergeCells Function
DataControlRefreshLegends Function
DataControlResetContent Function
DataControlSetActionReturnCode Function
DataControlSetCaretPosition Function
DataControlSetCellAttributes Function
DataControlSetCellHighlight Function
DataControlSetCellState Function
DataControlSetCellStyle Function
DataControlSetCellText Function
DataControlSetCellType Function
DataControlSetColumnFlags Function
DataControlSetColumnHeadings Function
DataControlSetColumnPositions Function
DataControlSetDefaultRowHeight Function
DataControlSetEditStatusString Function
DataControlSetGridMode Function
DataControlSetHighlightMode Function
DataControlSetLegendColor Function
DataControlSetLegendStyle Function
DataControlSetLocalEditMode Function
DataControlSetRowColor Function
DataControlSetRowData Function
DataControlSetRowHeight Function
DataControlSetRowSelection Function
DataControlSetRowSelectState Function
DataControlSetSelectColor Function
DataControlSetSelectMode Function
DataControlSetStatusWindow Function
DataControlSetSortColumn Function
DataControlSwapRows Function
9.18 Hypertext Controls (SysLink Controls)
9.18.1 Introduction
9.18.2 Control Markup
9.18.3 Controls Styles
9.18.4 Functions
HypertextControlGetState Function
HypertextControlGetText Function
HypertextControlSetText Function
9.19 IP Address Control
9.19.1 Introduction
9.19.2 Controls Styles
9.19.3 Functions
IPAddressControlClear Function
IPAddressControlGetAddress Function
IPAddressControlGetState Function
IPAddressControlIsEmpty Function
IPAddressControlSetAddress Function
IPAddressControlSetFocus Function
IPAddressControlSetRange Function
9.20 Page Control
9.20.1 Introduction
9.20.2 Page Control Types and Styles
9.20.3 Page Control Notifications
9.20.4 Page Control Styles
9.20.5 Page View Control Functions
PageControlGetCaret Function
PageControlGetCaretX Function
PageControlGetCaretY Function
PageControlGetNavTarget Function
PageControlGetNavURI Function
PageControlGetSelectArea Function
PageControlGetSelectArray Function
PageControlGetSelectClue Function
PageControlGetSelectMode Function
PageControlGetText Function
PageControlSetOptions Function
PageControlSetText Function
PageControlSetWidth Function
9.21 Progress Control
9.21.1 Introduction
9.21.2 Range and Current Position
9.21.3 Progress Control Types and Styles
9.21.4 Progress Control Functions
ProgressControlSetRange Function
ProgressControlUpdate Function
9.22 Rich Edit Control
9.22.1 Introduction
9.22.2 Rich Edit Control Types and Styles
9.22.3 Rich Edit Notifications
9.22.4 Rich Edit Control Functions
RichEditGetRTF Function
RichEditGetText Function
RichEditSetRTF Function
RichEditSetText Function
9.23 Scrollbar Control
9.23.1 Introduction
9.23.2 Scrollbar Control Types and Styles
9.23.3 Scrollbar Notifications
9.23.4 Scrollbar Control Functions
ScrollbarGetPosition Function
ScrollbarGetTrack Function
ScrollbarSetPageSize Function
ScrollbarSetPosition Function
ScrollbarSetRange Function
9.24 Static Controls
9.24.1 Introduction
9.24.2 Static Controls
9.24.3 Functions
StaticControlGetText Function
StaticControlSetImage Function
StaticControlSetText Function
9.25 Tab Control
9.25.1 Introduction
9.25.2 Tab Control Types and Styles
9.25.3 Tab Control Notifications
9.25.4 Tab Control Functions
TabControlAdd Function
TabControlDelete Function
TabControlDeleteAll Function
TabControlGetCount Function
TabControlGetSelection Function
TabControlInsert Function
TabControlSelect Function
9.26 Trackbar Controls
9.26.1 Introduction
9.26.2 Controls Styles
9.26.3 Functions
TrackbarClearSelect Function
TrackbarClearTicks Function
TrackbarGetBuddy Function
TrackbarGetChannelRect Function
TrackbarGetLineSize Function
TrackbarGetPageSize Function
TrackbarGetRange Function
TrackbarGetSelectRange Function
TrackbarGetSliderPosition Function
TrackbarGetSliderRect Function
TrackbarGetSliderSize Function
TrackbarGetTickCount Function
TrackbarGetTickMarks Function
TrackbarGetTickPosition Function
TrackbarGetTooltipWindow Function
TrackbarSetBuddy Function
TrackbarSetLineSize Function
TrackbarSetPageSize Function
TrackbarSetRange Function
TrackbarSetSliderPosition Function
TrackbarSetSelectRange Function
TrackbarSetSliderSize Function
TrackbarSetTickFrequency Function
TrackbarSetTickMark Function
TrackbarSetTooltip Function
TrackbarSetTooltipPosition Function
PostMessage Function
SendMessage Function