win

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

View Source
const (
	GWL_EXSTYLE     = -20
	GWL_STYLE       = -16
	GWL_WNDPROC     = -4
	GWLP_WNDPROC    = -4
	GWL_HINSTANCE   = -6
	GWLP_HINSTANCE  = -6
	GWL_HWNDPARENT  = -8
	GWLP_HWNDPARENT = -8
	GWL_ID          = -12
	GWLP_ID         = -12
	GWL_USERDATA    = -21
	GWLP_USERDATA   = -21
)

GetWindowLong and GetWindowLongPtr constants

View Source
const (
	WS_EX_DLGMODALFRAME    = 0x00000001
	WS_EX_NOPARENTNOTIFY   = 0x00000004
	WS_EX_TOPMOST          = 0x00000008
	WS_EX_ACCEPTFILES      = 0x00000010
	WS_EX_TRANSPARENT      = 0x00000020
	WS_EX_MDICHILD         = 0x00000040
	WS_EX_TOOLWINDOW       = 0x00000080
	WS_EX_WINDOWEDGE       = 0x00000100
	WS_EX_CLIENTEDGE       = 0x00000200
	WS_EX_CONTEXTHELP      = 0x00000400
	WS_EX_RIGHT            = 0x00001000
	WS_EX_LEFT             = 0x00000000
	WS_EX_RTLREADING       = 0x00002000
	WS_EX_LTRREADING       = 0x00000000
	WS_EX_LEFTSCROLLBAR    = 0x00004000
	WS_EX_RIGHTSCROLLBAR   = 0x00000000
	WS_EX_CONTROLPARENT    = 0x00010000
	WS_EX_STATICEDGE       = 0x00020000
	WS_EX_APPWINDOW        = 0x00040000
	WS_EX_OVERLAPPEDWINDOW = 0x00000100 | 0x00000200
	WS_EX_PALETTEWINDOW    = 0x00000100 | 0x00000080 | 0x00000008
	WS_EX_LAYERED          = 0x00080000
	WS_EX_NOINHERITLAYOUT  = 0x00100000
	WS_EX_LAYOUTRTL        = 0x00400000
	WS_EX_NOACTIVATE       = 0x08000000
)

Extended window style constants

Variables

This section is empty.

Functions

func DisableWindowClickThrough

func DisableWindowClickThrough(hwnd HWND)

func EnableCurrentProcessWindowClickThrough

func EnableCurrentProcessWindowClickThrough()

func EnableWindowClickThrough

func EnableWindowClickThrough(hwnd HWND)

func EnumWindows

func EnumWindows(lpEnumFunc WNDENUMPROC, lParam LPARAM) bool

func GetCurrentProcessId

func GetCurrentProcessId() uint32

func GetWindowLong

func GetWindowLong(hwnd HWND, index int) uint32

func IsErrSuccess

func IsErrSuccess(err error) bool

func SetWindowLong

func SetWindowLong(hwnd HWND, index int, value uint32) uint32

Types

type ATOM

type ATOM uint16

type BOOL

type BOOL int32

type COLORREF

type COLORREF uint32

type DWM_FRAME_COUNT

type DWM_FRAME_COUNT uint64

type DWORD

type DWORD uint32

type HACCEL

type HACCEL HANDLE

type HANDLE

type HANDLE uintptr

func GetWindowThreadProcessId

func GetWindowThreadProcessId(hwnd HWND) (HANDLE, uint32)

type HBITMAP

type HBITMAP HANDLE

type HBRUSH

type HBRUSH HANDLE

type HCURSOR

type HCURSOR HANDLE

type HDC

type HDC HANDLE

type HDROP

type HDROP HANDLE

type HDWP

type HDWP HANDLE

type HENHMETAFILE

type HENHMETAFILE HANDLE

type HFONT

type HFONT HANDLE

type HGDIOBJ

type HGDIOBJ HANDLE

type HGLOBAL

type HGLOBAL HANDLE

type HGLRC

type HGLRC HANDLE

type HHOOK

type HHOOK HANDLE

type HICON

type HICON HANDLE

type HIMAGELIST

type HIMAGELIST HANDLE

type HINSTANCE

type HINSTANCE HANDLE

type HKEY

type HKEY HANDLE

type HKL

type HKL HANDLE

type HMENU

type HMENU HANDLE

type HMODULE

type HMODULE HANDLE

type HMONITOR

type HMONITOR HANDLE

type HPEN

type HPEN HANDLE

type HRESULT

type HRESULT int32

type HRGN

type HRGN HANDLE

type HRSRC

type HRSRC HANDLE

type HTHUMBNAIL

type HTHUMBNAIL HANDLE

type HWND

type HWND HANDLE

func GetCurrentProcessWindows

func GetCurrentProcessWindows() []HWND

type LPARAM

type LPARAM uintptr

type LPCVOID

type LPCVOID unsafe.Pointer

type LRESULT

type LRESULT uintptr

type PVOID

type PVOID unsafe.Pointer

type QPC_TIME

type QPC_TIME uint64

type SIZE_T

type SIZE_T uintptr

type TRACEHANDLE

type TRACEHANDLE uintptr

type ULONG_PTR

type ULONG_PTR uintptr

type WNDENUMPROC

type WNDENUMPROC uintptr

type WPARAM

type WPARAM uintptr

Jump to

Keyboard shortcuts

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