Pal, Peter's AutoIt Library Pal Wiki
Library for window, GUI, controls, string, math, data lists, dialogues
Brought to you by:
peverbeek
AutoIt file: Window, Screen, Mouse and Control.au3
The GUI controls expands the AutoIt GUI system, for instance with graphical buttons (jpg and png).
Function | Description |
---|---|
_Control3DBorderWidth | Returns width of window/control border, small windows and controls such as list boxes |
_Control3DBorderHeight | Returns height of window/control border, small windows and controls such as list boxes |
_GUICtrlGetType | Gets the type of a GUI control |
_GUICtrlEmpty | Tests if edit or input control is empty after stripping spaces, tabs, line feeds or carriage returns |
_GUICtrlTrimSpaces() | Trims leading and trailing spaces from a edit or input control |
_GUICtrlIsState | Checks if all states of given control if one state is present |
_GUICtrlChangeState | Changes control to given state if hasn't been set yet, preventing a refresh (flickering) |
_GUICtrlLeft | Gets left position of given control in given window |
_GUICtrlRight | Gets right position of given control in given window |
_GUICtrlTop | Gets top position of given control in given window |
_GUICtrlBottom | Gets bottom position of given control in given window |
_GUICtrlWidth | Gets width of given control in given window |
_GUICtrlHeight | Gets left height of given control in given window |
_GUICtrlComboBox_AddArray | Fills combobox control with array |
_GUICtrlListBox_AddArray | Fills listbox control with array |
_GUICtrlLinkLabel_Create | Creates a hyperlink label |
_GUICtrlLinkLabel_Clicked | Opens given URL and shows user has clicked link |
_GUICtrlLinkLabel_SetColor | Sets color of unopened (not clicked yet) labels |
_GUICtrlLinkLabel_SetClickedColor | Sets color of clicked/opened URL labels |
_GUICtrlLinkLabel_SetFontSize | Sets font size of link labels |
_GUICtrlLinkLabel_GetFontSize | Gets font size of link labels |
_GraphicButtons | Initializes graphic buttons (buttons with a png or jpg image) or cleans up resources |
_GraphicButtonsCount | Returns number of graphic buttons |
_GraphicButtonsSetBkColor | Sets background color of window for conversion of png/jpg to bitmap |
_GraphicButton | Creates graphic button or graphic image |
_GraphicButtonWidth | Returns graphic button width or image width |
_GraphicButtonHeight | Returns graphic button height or image height |
_GraphicButtonText | Returns text on graphic button |
_GraphicButtonTooltip | Returns tooltip of graphic button |
An example of graphical buttons can be found in the library example.