Click here to Skip to main content
15,906,341 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I have an MDI application.The mainframe Has a menu and some accelerator keys.I am activating a MDI Child window from a MFC dll. The child has its own menu and accelerator keys.Here one of menu item in the both main menu and child window menu have the same accelerator key.Now the problem is though the mdi child window is in focus the accelarator key is going to the main window.why this is happening.How to guide the accelarator keys to the active window.please help me.

1 solution

Please read here: About the multiple document interface[^] and go to the section "Multiple Document Accelerators".

Best Regards,
Manfred
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900