Skip to content

ArbitraryControl


Methods

__New

__New(guiHwnd, type, options := "", text := "", DPIScale := true)

Constructor.

parameters

name: guiHwnd

desc: The hwnd of the gui that the GuiControl should be added to.

type: hwnd

name: type

desc: The type of the control. Can be Text, Edit, UpDown, Picture, Button, Checkbox, DropDownList, ComboBox, ListBox, Link, Hotkey, DateTime, MonthCal, Slider, Progress, GroupBox and ActiveX. For Radio, ListView, TreeView, Tab3 and StatusBar see AdditionalControls.

type: string

name: options

desc: The options that the GuiControl will be created with. Does not accept vVars.

type: string

default: ""

link: link

name: text

desc: The text that the GuiControl will be created with.

type: string

default: ""

name: DPIScale

desc: Whether or not to correct for non standard dpi.

type: bool

default: true

return value

Back to top