Documentation ¶
Rendered for windows/amd64
Index ¶
- Constants
- Variables
- func DispCallFunc(pvInstance uintptr, oVft uintptr, cc int32, vtReturn ole.VT, argTypes []ole.VT, ...) error
- func Succeeded(Status types.HResult) bool
- type ITaskbarList4
- func (ii ITaskbarList4) HrInit() error
- func (ii ITaskbarList4) Release() error
- func (ii ITaskbarList4) SetOverlayIcon(hWnd types.HWND, hIcon types.HICON, pszDescription string) error
- func (ii ITaskbarList4) SetProgressState(hWnd types.HWND, flags int32) error
- func (ii ITaskbarList4) SetProgressValue(hWnd types.HWND, ullCompleted, ullTotal uint64) error
- func (ii ITaskbarList4) SetThumbnailTooltip(hWnd types.HWND, tip string) error
- func (ii ITaskbarList4) ThumbBarAddButtons(hWnd types.HWND, buttons []TThumbButton) error
- func (ii ITaskbarList4) ThumbBarUpdateButtons(hWnd types.HWND, buttons []TThumbButton) error
- type TThumbButton
Constants ¶
View Source
const ( THBF_ENABLED = 0x0000 THBF_DISABLED = 0x0001 THBF_DISMISSONCLICK = 0x0002 THBF_NOBACKGROUND = 0x0004 THBF_HIDDEN = 0x0008 THBF_NONINTERACTIVE = 0x10 // THUMBBUTTON mask THB_BITMAP = 0x0001 THB_ICON = 0x0002 THB_TOOLTIP = 0x0004 THB_FLAGS = 0x0008 THBN_CLICKED = 0x1800 )
THUMBBUTTON flags
View Source
const ( TBPF_NOPROGRESS = 0 TBPF_INDETERMINATE = 0x1 TBPF_NORMAL = 0x2 TBPF_ERROR = 0x4 TBPF_PAUSED = 0x8 TBATF_USEMDITHUMBNAIL = 0x1 TBATF_USEMDILIVEPREVIEW = 0x2 )
View Source
const (
MAX_BUTTON_COUNT = 7
)
Variables ¶
View Source
var ( WM_TASKBARBUTTONCREATED uint32 CLSID_TaskbarList = ole.NewGUID("{56FDF344-FD6D-11d0-958A-006097C9A090}") SID_ITaskbarList4 = ole.NewGUID("{C43DC798-95D1-4BEA-9030-BB99E2983A1A}") SID_ITaskbarList3 = ole.NewGUID("{EA1AFB91-9E28-4B86-90E9-9E9F8A5EEFAF}") )
Functions ¶
Types ¶
type ITaskbarList4 ¶
type ITaskbarList4 uintptr
func (ITaskbarList4) HrInit ¶
func (ii ITaskbarList4) HrInit() error
func (ITaskbarList4) Release ¶
func (ii ITaskbarList4) Release() error
func (ITaskbarList4) SetOverlayIcon ¶
func (ITaskbarList4) SetProgressState ¶
func (ii ITaskbarList4) SetProgressState(hWnd types.HWND, flags int32) error
func (ITaskbarList4) SetProgressValue ¶
func (ii ITaskbarList4) SetProgressValue(hWnd types.HWND, ullCompleted, ullTotal uint64) error
func (ITaskbarList4) SetThumbnailTooltip ¶
func (ii ITaskbarList4) SetThumbnailTooltip(hWnd types.HWND, tip string) error
func (ITaskbarList4) ThumbBarAddButtons ¶
func (ii ITaskbarList4) ThumbBarAddButtons(hWnd types.HWND, buttons []TThumbButton) error
func (ITaskbarList4) ThumbBarUpdateButtons ¶
func (ii ITaskbarList4) ThumbBarUpdateButtons(hWnd types.HWND, buttons []TThumbButton) error
Click to show internal directories.
Click to hide internal directories.