toolbar

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+build windows

Index

Constants

View Source
const (
	// Review this 256
	BUTTONTEXT_MAX_SIZE          = 256
	BUTTON_DEFAULT_HEIGHT        = 40
	BUTTON_DEFAULT_WIDHT_HIDDEN  = 40
	BUTTON_DEFAULT_WIDHT_VISIBLE = 24

	TOOLBAR_TYPE_HIDDEN  = 0
	TOOLBAR_TYPE_VISIBLE = 1

	TOOLBAR_WINDOW32_CLASS string = "ToolbarWindow32"
)

Variables

This section is empty.

Functions

func FindToolbars

func FindToolbars(parentHandler syscall.Handle) ([]syscall.Handle, error)

Get an array of toolbars children from a parent window

func GetButtonClickablePosition

func GetButtonClickablePosition(toolbarHandler syscall.Handle, toolbarType int, text string) (int, int, error)

Find the index of a button identified by its tests on a toolbar return error in case the button is not on the toolbar

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL