I've got an MFC app with MDI interface, keyboard accelerators an some (small) floating windows.
The problem is: Whenever a floating (=modeless) window is active (and thus the MDI document inactive) the keyboard accelerators won't work.
I'd like to change that, but don't know how. Moreover, keyboard shortcuts from the floating window should still work. Only when the user presses a key that the floating window can't handle, the document window should be informed (probaly by receiving a WM_COMMAND).
The floating window has the HWND of the current topmost document windows. But how do I catch and relay the message?