Quick reference
HelgeffegleH edited this page Apr 16, 2018
·
6 revisions
tbi := new taskbarInterface(hWnd [, callbackFunction:=""])
showButton(n)
hideButton(n)
disableButton(n)
enableButton(n)
[nIL:=] addToImageList(bitmap)
setButtonImage(n,nIL)
setButtonIcon(n,hIcon)
queryButtonIconSize()
setButtonToolTip(n,text:="")
dismissPreviewOnButtonClick(n,dismiss:=true)
removeButtonBackground(n)
reAddButtonBackground(n)
setButtonNonInteractive(n)
setButtonInteractive(n)
setButtonCallback(onButtonClickFunction:="")
setProgress(value:=0) ; 0-100
SetProgressType(type:="Normal") ; Green, red, yellow, INDETERMINATE
setTaskbarIconColor(color:="off") ; Sets the background color, behind the taskbar icon
flashTaskbarIcon(color:="off", nFlashes:=5, flashTime:=250, offTime:=250)
setTaskbarIcon(smallIconHandle,bigIconHandle:="") ; Change the (big) taskbar icon, and the (small) window caption icon
setOverlayIcon(hIcon:=0,text:="") ; Puts a small icon over the taskbar icon.
enableCustomThumbnailPreview(bitmapOrBitmapFunc,rate:=0, autoDeleteBitmap:=true, addBorder:=false)
disableCustomThumbnailPreview()
enableCustomPeekPreview(bitmapOrBitmapFunc,rate:=0,x:="",y:="",autoDeleteBitmap:=true, addBorder:=false)
disableCustomPeekPreview()
setThumbnailClip(left:="",top:="",right:="",bottom:="") ; Clip the default thumbnail preview
disallowPeek()
allowPeek()
excludeFromPeek()
unexcludeFromPeek()
makeTemplate(templateFunction,WinTitle:="",excludeWinTitle:="")
removeTemplate(n)
restoreTaskbar()
stopThisButtonMonitor()
stopAllButtonMonitor()
restartThisButtonMonitor()
exemptFromHook()
unexemptFromHook()
getLastError()
clearAll(exiting:=false)
stopAllButtonMonitor()
restartAllButtonMonitor()