Documentation
¶
Rendered for windows/amd64
Index ¶
- Constants
- func AdjustWindowRectEx(r *Rect, dwStyle uint32, bMenu int, dwExStyle uint32)
- func CallMsgFilter(m *Msg, nCode uintptr) bool
- func CloseClipboard() error
- func CreateWindowEx(dwExStyle uint32, lpClassName uint16, lpWindowName string, dwStyle uint32, ...) (syscall.Handle, error)
- func DefWindowProc(hwnd syscall.Handle, msg uint32, wparam, lparam uintptr) uintptr
- func DestroyWindow(hwnd syscall.Handle)
- func DispatchMessage(m *Msg)
- func DwmExtendFrameIntoClientArea(hwnd syscall.Handle, margins Margins) error
- func EmptyClipboard() error
- func EnableMouseInPointer(enable uint) error
- func FindWindow(lpClassName string) (syscall.Handle, error)
- func GetClipboardData(format uint32) (syscall.Handle, error)
- func GetDC(hwnd syscall.Handle) (syscall.Handle, error)
- func GetKeyState(nVirtKey int32) int16
- func GetMessage(m *Msg, hwnd syscall.Handle, wMsgFilterMin, wMsgFilterMax uint32) int32
- func GetMessageTime() time.Duration
- func GetModuleHandle() (syscall.Handle, error)
- func GetSystemDPI() int
- func GetSystemMetrics(nIndex int) int
- func GetWindowDPI(hwnd syscall.Handle) int
- func GetWindowLong(hwnd syscall.Handle, index uintptr) (val uintptr)
- func GlobalAlloc(size int) (syscall.Handle, error)
- func GlobalFree(h syscall.Handle)
- func GlobalLock(h syscall.Handle) (unsafe.Pointer, error)
- func GlobalUnlock(h syscall.Handle)
- func ImmGetCompositionString(imc syscall.Handle, key int) string
- func ImmGetCompositionValue(imc syscall.Handle, key int) int
- func ImmGetContext(hwnd syscall.Handle) syscall.Handle
- func ImmNotifyIME(imc syscall.Handle, action, index, value int)
- func ImmReleaseContext(hwnd, imc syscall.Handle)
- func ImmSetCandidateWindow(imc syscall.Handle, x, y int, r Rect)
- func ImmSetCompositionWindow(imc syscall.Handle, x, y int)
- func IsIconic(hwnd syscall.Handle) bool
- func KillTimer(hwnd syscall.Handle, nIDEvent uintptr) error
- func LoadCursor(curID uint16) (syscall.Handle, error)
- func LoadImage(hInst syscall.Handle, res uint32, typ uint32, cx, cy int, fuload uint32) (syscall.Handle, error)
- func MoveWindow(hwnd syscall.Handle, x, y, width, height int32, repaint bool)
- func MsgWaitForMultipleObjectsEx(nCount uint32, pHandles uintptr, millis, mask, flags uint32) (uint32, error)
- func OpenClipboard(hwnd syscall.Handle) error
- func PeekMessage(m *Msg, hwnd syscall.Handle, wMsgFilterMin, wMsgFilterMax, wRemoveMsg uint32) bool
- func PostMessage(hwnd syscall.Handle, msg uint32, wParam, lParam uintptr) error
- func PostQuitMessage(exitCode uintptr)
- func RegisterClassEx(cls *WndClassEx) (uint16, error)
- func RegisterTouchWindow(hwnd syscall.Handle, flags uint32) error
- func ReleaseCapture() bool
- func ReleaseDC(hdc syscall.Handle)
- func ScreenToClient(hwnd syscall.Handle, p *Point)
- func SendMessage(hwnd syscall.Handle, msg uint32, wParam, lParam uintptr) error
- func SetCapture(hwnd syscall.Handle) syscall.Handle
- func SetClipboardData(format uint32, mem syscall.Handle) error
- func SetCursor(h syscall.Handle)
- func SetFocus(hwnd syscall.Handle)
- func SetForegroundWindow(hwnd syscall.Handle)
- func SetThreadDpiAwarenessContext()
- func SetTimer(hwnd syscall.Handle, nIDEvent uintptr, uElapse uint32, timerProc uintptr) error
- func SetWindowLong(hwnd syscall.Handle, idx uintptr, style uintptr)
- func SetWindowPlacement(hwnd syscall.Handle, wp *WindowPlacement)
- func SetWindowPos(hwnd, hwndInsertAfter syscall.Handle, x, y, dx, dy int32, style uintptr)
- func SetWindowText(hwnd syscall.Handle, title string)
- func ShowWindow(hwnd syscall.Handle, nCmdShow int32)
- func TranslateMessage(m *Msg)
- func UnregisterClass(cls uint16, hInst syscall.Handle)
- func UpdateWindow(hwnd syscall.Handle)
- type CandidateForm
- type CompositionForm
- type CopyDataStruct
- type Margins
- type MinMaxInfo
- type MonitorInfo
- type Msg
- type NCCalcSizeParams
- type POINTER_BUTTON_CHANGE_TYPE
- type POINTER_INFO_POINTER_FLAGS
- type POINTER_INPUT_TYPE
- type Point
- type PointerInfo
- type Rect
- type WindowPlacement
- type WindowPos
- type WndClassEx
Constants ¶
View Source
const ( TRUE = 1 CPS_CANCEL = 0x0004 CS_HREDRAW = 0x0002 CS_INSERTCHAR = 0x2000 CS_NOMOVECARET = 0x4000 CS_VREDRAW = 0x0001 CS_OWNDC = 0x0020 CW_USEDEFAULT = -2147483648 DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2 = ^uintptr(3) // -4 GWL_STYLE = ^(uintptr(16) - 1) // -16 GCS_COMPSTR = 0x0008 GCS_COMPREADSTR = 0x0001 GCS_CURSORPOS = 0x0080 GCS_DELTASTART = 0x0100 GCS_RESULTREADSTR = 0x0200 GCS_RESULTSTR = 0x0800 CFS_POINT = 0x0002 CFS_EXCLUDE = 0x0080 HWND_TOP = syscall.Handle(0) HWND_TOPMOST = ^(syscall.Handle(1) - 1) // -1 HWND_NOTOPMOST = ^(syscall.Handle(2) - 1) // -2 HTCAPTION = 2 HTCLIENT = 1 HTLEFT = 10 HTRIGHT = 11 HTTOP = 12 HTTOPLEFT = 13 HTTOPRIGHT = 14 HTBOTTOM = 15 HTBOTTOMLEFT = 16 HTBOTTOMRIGHT = 17 IDC_APPSTARTING = 32650 // Standard arrow and small hourglass IDC_ARROW = 32512 // Standard arrow IDC_CROSS = 32515 // Crosshair IDC_HAND = 32649 // Hand IDC_HELP = 32651 // Arrow and question mark IDC_IBEAM = 32513 // I-beam IDC_NO = 32648 // Slashed circle IDC_SIZEALL = 32646 // Four-pointed arrow pointing north, south, east, and west IDC_SIZENESW = 32643 // Double-pointed arrow pointing northeast and southwest IDC_SIZENS = 32645 // Double-pointed arrow pointing north and south IDC_SIZENWSE = 32642 // Double-pointed arrow pointing northwest and southeast IDC_SIZEWE = 32644 // Double-pointed arrow pointing west and east IDC_UPARROW = 32516 // Vertical arrow