Documentation ¶
Index ¶
Constants ¶
View Source
const ( SM_CXSCREEN = 0 SM_CYSCREEN = 1 )
View Source
const ( LR_DEFAULTCOLOR = 0x0000 LR_MONOCHROME = 0x0001 LR_LOADFROMFILE = 0x0010 LR_LOADTRANSPARENT = 0x0020 LR_DEFAULTSIZE = 0x0040 LR_VGACOLOR = 0x0080 LR_LOADMAP3DCOLORS = 0x1000 LR_CREATEDIBSECTION = 0x2000 LR_SHARED = 0x8000 )
View Source
const ( SystemMetricsCxIcon = 11 SystemMetricsCyIcon = 12 )
View Source
const ( SWPNoZOrder = 0x0004 SWPNoActivate = 0x0010 SWPNoMove = 0x0002 SWPFrameChanged = 0x0020 )
View Source
const ( WMDestroy = 0x0002 WMMove = 0x0003 WMSize = 0x0005 WMActivate = 0x0006 WMClose = 0x0010 WMQuit = 0x0012 WMGetMinMaxInfo = 0x0024 WMNCLButtonDown = 0x00A1 WMMoving = 0x0216 WMApp = 0x8000 )
View Source
const ( GAParent = 1 GARoot = 2 GARootOwner = 3 )
View Source
const ( WSOverlapped = 0x00000000 WSMaximizeBox = 0x00020000 WSThickFrame = 0x00040000 WSCaption = 0x00C00000 WSSysMenu = 0x00080000 WSMinimizeBox = 0x00020000 WSOverlappedWindow = (WSOverlapped | WSCaption | WSSysMenu | WSThickFrame | WSMinimizeBox | WSMaximizeBox) )
View Source
const ( WAInactive = 0 WAActive = 1 WAActiveClick = 2 )
View Source
const (
CW_USEDEFAULT = 0x80000000
)
View Source
const (
GWLStyle = -16
)
View Source
const (
SWShow = 5
)
Variables ¶
View Source
var ( Ole32CoInitializeEx = ole32.NewProc("CoInitializeEx") Kernel32GetCurrentThreadID = kernel32.NewProc("GetCurrentThreadId") User32LoadImageW = user32.NewProc("LoadImageW") User32GetSystemMetrics = user32.NewProc("GetSystemMetrics") User32RegisterClassExW = user32.NewProc("RegisterClassExW") User32CreateWindowExW = user32.NewProc("CreateWindowExW") User32DestroyWindow = user32.NewProc("DestroyWindow") User32ShowWindow = user32.NewProc("ShowWindow") User32UpdateWindow = user32.NewProc("UpdateWindow") User32SetFocus = user32.NewProc("SetFocus") User32GetMessageW = user32.NewProc("GetMessageW") User32TranslateMessage = user32.NewProc("TranslateMessage") User32DispatchMessageW = user32.NewProc("DispatchMessageW") User32DefWindowProcW = user32.NewProc("DefWindowProcW") User32GetClientRect = user32.NewProc("GetClientRect") User32PostQuitMessage = user32.NewProc("PostQuitMessage") User32SetWindowTextW = user32.NewProc("SetWindowTextW") User32PostThreadMessageW = user32.NewProc("PostThreadMessageW") User32GetWindowLongPtrW = user32.NewProc("GetWindowLongPtrW") User32SetWindowLongPtrW = user32.NewProc("SetWindowLongPtrW") User32AdjustWindowRect = user32.NewProc("AdjustWindowRect") User32SetWindowPos = user32.NewProc("SetWindowPos") User32IsDialogMessage = user32.NewProc("IsDialogMessage") User32GetAncestor = user32.NewProc("GetAncestor") )
Functions ¶
Types ¶
type MinMaxInfo ¶
type Msg ¶
Click to show internal directories.
Click to hide internal directories.