mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 07:08:48 +00:00
Merge pull request #3966 from KyleNBurke/sys-windows-add-type
Add `NCCALCSIZE_PARAMS` to `sys/windows`
This commit is contained in:
@@ -1092,6 +1092,11 @@ NMHDR :: struct {
|
|||||||
code: UINT, // NM_ code
|
code: UINT, // NM_ code
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NCCALCSIZE_PARAMS :: struct {
|
||||||
|
rgrc: [3]RECT,
|
||||||
|
lppos: PWINDOWPOS,
|
||||||
|
}
|
||||||
|
|
||||||
// Generic WM_NOTIFY notification codes
|
// Generic WM_NOTIFY notification codes
|
||||||
NM_OUTOFMEMORY :: ~uintptr(0) // -1
|
NM_OUTOFMEMORY :: ~uintptr(0) // -1
|
||||||
NM_CLICK :: NM_OUTOFMEMORY-1 // uses NMCLICK struct
|
NM_CLICK :: NM_OUTOFMEMORY-1 // uses NMCLICK struct
|
||||||
@@ -2206,6 +2211,7 @@ FILE_TYPE_PIPE :: 0x0003
|
|||||||
RECT :: struct {left, top, right, bottom: LONG}
|
RECT :: struct {left, top, right, bottom: LONG}
|
||||||
POINT :: struct {x, y: LONG}
|
POINT :: struct {x, y: LONG}
|
||||||
|
|
||||||
|
PWINDOWPOS :: ^WINDOWPOS
|
||||||
WINDOWPOS :: struct {
|
WINDOWPOS :: struct {
|
||||||
hwnd: HWND,
|
hwnd: HWND,
|
||||||
hwndInsertAfter: HWND,
|
hwndInsertAfter: HWND,
|
||||||
|
|||||||
Reference in New Issue
Block a user