Merge pull request #3966 from KyleNBurke/sys-windows-add-type

Add `NCCALCSIZE_PARAMS` to `sys/windows`
This commit is contained in:
Jeroen van Rijn
2024-07-23 07:45:44 +02:00
committed by GitHub

View File

@@ -1092,6 +1092,11 @@ NMHDR :: struct {
code: UINT, // NM_ code
}
NCCALCSIZE_PARAMS :: struct {
rgrc: [3]RECT,
lppos: PWINDOWPOS,
}
// Generic WM_NOTIFY notification codes
NM_OUTOFMEMORY :: ~uintptr(0) // -1
NM_CLICK :: NM_OUTOFMEMORY-1 // uses NMCLICK struct
@@ -2206,6 +2211,7 @@ FILE_TYPE_PIPE :: 0x0003
RECT :: struct {left, top, right, bottom: LONG}
POINT :: struct {x, y: LONG}
PWINDOWPOS :: ^WINDOWPOS
WINDOWPOS :: struct {
hwnd: HWND,
hwndInsertAfter: HWND,