Hi, all.
I have following question:

I have SDI application with several windows - main window and tool windows. When some of the tool windows have focus, menu shortcuts (for example Alt-F for file menu, or Alt-E for edit menu) doesn't work. So how to fix this. I need some way to say to tool windows that there is a main window with menu, and all menu related messages must go to main window. Actually I made this by manipulating main message loop and redirecting messages WM_SYSKEYDOWN and WM_SYSKEYUP. But, is this is proper approach??? I don't know.
Posted on 2003-08-07 01:11:54 by JohnFound
JohnFound
> menu shortcuts
Accelerators?
Posted on 2003-08-07 22:21:09 by P2M

JohnFound
> menu shortcuts
Accelerators?


Accelerators works, but the accelerators are independent from menus. The problem is with common menu behaviour. They works with "Alt" key and underscored letter in the menu item text. Or when you press only "Alt" the menu becomes active. This must happen even when the focus is in some tool window of the application.
Posted on 2003-08-08 00:42:35 by JohnFound