Documentation ¶
Index ¶
Constants ¶
View Source
const ( SystemMetricsCxIcon = 11 SystemMetricsCyIcon = 12 )
View Source
const ( SWPNoZOrder = 0x0004 SWPNoActivate = 0x0010 SWPNoMove = 0x0002 SWPFrameChanged = 0x0020 )
View Source
const ( WMDestroy = 0x0002 WMSize = 0x0005 WMClose = 0x0010 WMQuit = 0x0012 WMGetMinMaxInfo = 0x0024 WMApp = 0x8000 )
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 (
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") )
Functions ¶
func SHCreateMemStream ¶
func Utf16PtrToString ¶
Types ¶
type MinMaxInfo ¶
Click to show internal directories.
Click to hide internal directories.