diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2024-04-27 20:04:15 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-27 20:04:15 +0200 |
| commit | 8fd318ea7a76b75974c834bb9d329958c81ce652 (patch) | |
| tree | 9667dcc9420c3f563bb00ecde00d9b9f97f92b19 | |
| parent | 05b5b8503d1dc7a37eff79807541bc2769e73efd (diff) | |
| parent | 1deb53cddb20b6383878975ffb23579bbdddb1b9 (diff) | |
Merge pull request #3492 from DreepyYunky/Add-SetMenu
Add `SetMenu()`
| -rw-r--r-- | core/sys/windows/user32.odin | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/sys/windows/user32.odin b/core/sys/windows/user32.odin index a589c3ec9..cb4091058 100644 --- a/core/sys/windows/user32.odin +++ b/core/sys/windows/user32.odin @@ -126,6 +126,7 @@ foreign user32 { CreatePopupMenu :: proc() -> HMENU --- DestroyMenu :: proc(hMenu: HMENU) -> BOOL --- AppendMenuW :: proc(hMenu: HMENU, uFlags: UINT, uIDNewItem: UINT_PTR, lpNewItem: LPCWSTR) -> BOOL --- + SetMenu :: proc(hWnd: HWND, hMenu: HMENU) -> BOOL --- TrackPopupMenu :: proc(hMenu: HMENU, uFlags: UINT, x: int, y: int, nReserved: int, hWnd: HWND, prcRect: ^RECT) -> i32 --- RegisterWindowMessageW :: proc(lpString: LPCWSTR) -> UINT --- |