wnd

package
v1.3.351 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package wnd 调用 wapi 封装了对窗口的操作.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHWND added in v1.3.340

func GetHWND(className, title string) int

GetHWND 取窗口句柄, 标题支持模糊.

@param className 窗口类名, 不支持模糊, 可空.
@param title 窗口标题, 可输入关键字, 支持模糊, 可空.
@return int 窗口真实句柄.

func GetTitle added in v1.3.340

func GetTitle(hWnd int) string

GetTitle 取窗口标题.

@param hWnd 窗口真实句柄.
@return string

func SetTop

func SetTop(hWnd int, b bool) bool

SetTop 窗口_置顶.

@param hWnd 窗口真实句柄.
@param b 是否置顶.
@return bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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