activeWindowAcceleratorTable

The accelerator table of the top-level window active, or null.

The message loop calls this each iteration with GetActiveWindow() so menu shortcuts are scoped to whichever window is active — in a multi-window app each window's shortcuts work only while it is focused, rather than the last window to attach a menu owning the shortcuts for all of them.

version(Windows)
HACCEL
activeWindowAcceleratorTable
(
HWND active
)

Meta