Here you can find various controls which are supported by DllCall for Autohotkey

Buttons:
Transparent Button Toggle Button FooButton
Static:
RotStatic GradientStatic 2dstatic Scrolling Text Wall Clock Control Pie Control LED Static
Edit:
Masked Edit Control RTF-Edit Secure edit AMSEdit
Misc:
ColorPicker HTML Control Color Listbox Progress control Peakmeter control

important functions:

Retrieves the resources from the specified dll
nRC := DllCall("AHKCtrlSupport\GetResourceList", Str, szFilename, "Cdecl Int")
nRC NULL: There was an error
<>NULL: Everything was ok
filename you can specify the filename of a dll. The resources of the dll are read. You can use the numbers of the icons and bitmaps for the controls

Initialize the dll-functions
nRC := DllCall("AHKCtrlSupport\Init", int, MainHWND, int, hDLGWND, int, hModule, "Cdecl Int")
nRC NULL: There was an error
<>NULL: Everything was ok
Handle of the AHK-window. We need this to send a notification to the mainwnd if a button was pressed (OnMessage). To retrieve the handle, use:
DetectHiddenWindows On
MainHWND := WinExist(A_ScriptFullPath . " ahk_class AutoHotkey")
hDLGWND Handle to the dialog. (WinGet, HWND, ID, this is a unique title)
hModule Handle to this dll. (hModule := DllCall("LoadLibrary", "str", HomePath))
Deinitialize the dll and destroy politely the created controls
nRC := DllCall("AHKCtrlSupport\UnInit", "Cdecl Int")
nRC NULL: There was an error
<>NULL: Everything was ok

Destroy a window
nRC := DllCall("AHKCtrlSupport\DestroyWnd", int, HWND, "Cdecl Int")
nRC NULL: There was an error
<>NULL: Everything was ok
Handle to a window Destroy that window, if it's a control that was created by this dll.