Menu and key commands generally apply to the active window, which is the window with the non-dim title bar, and is the front most window (except possibly for some dialog boxes and help windows). You can make a window active by clicking on an exposed part of it, or by choosing its title from the Window menu.
Home > P_active