Skip to content

Quick reference

HelgeffegleH edited this page Apr 16, 2018 · 6 revisions

All methods

Attach

Attach docs

tbi := new taskbarInterface(hWnd [, callbackFunction:=""])

Button methods

Button docs

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:="")

Progress bar methods

Progress docs

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)

Taskbar icon methods

Icon docs

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.

Thumbnail and peek preview methods

Preview docs

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()

Template methods.

Template docs

makeTemplate(templateFunction,WinTitle:="",excludeWinTitle:="") 
removeTemplate(n)

Misc.

Misc docs

restoreTaskbar()
stopThisButtonMonitor()
stopAllButtonMonitor()
restartThisButtonMonitor()
exemptFromHook()
unexemptFromHook()
getLastError()
clearAll(exiting:=false)
stopAllButtonMonitor()
restartAllButtonMonitor()