mirror of
https://github.com/sal063/AC6_recomp
synced 2026-08-22 23:21:35 -04:00
07d09128e6
While Alt is held every keypress arrives as WM_SYSKEYDOWN->WM_SYSCHAR, and an unhandled WM_SYSCHAR reaching DefWindowProc on a menu-less window triggers MessageBeep which causes camera panning on KB+M dinged constantly. Consume it (and answer WM_MENUCHAR with MNC_CLOSE) when the window has no menu.