I want to trap accelerator keys bef menu |
Post Reply |
Author | |
deepghosh
Groupie Joined: 10 March 2006 Location: United States Status: Offline Points: 14 |
Post Options
Thanks(0)
Posted: 18 April 2006 at 1:45am |
I am using an application for which my main framewindowis derived from CXTPFrameWnd (The usual way). I have some menu items with accel key e.g. &Session. In the application I have some CView derived class (with window) which is a childwindow of CXTPFrameWnd. This class has buttons with alt key as S (Lets say &Save). If this button is on the screen , I want to process this button and ignore the &Session on the menu. Is there anyway to achieve this? |
|
deepghosh
Groupie Joined: 10 March 2006 Location: United States Status: Offline Points: 14 |
Post Options
Thanks(0)
|
Just on more piece of info. If I can get an exit, I know how to process my group if buttons. So the issue is which function I should override. |
|
deepghosh
Groupie Joined: 10 March 2006 Location: United States Status: Offline Points: 14 |
Post Options
Thanks(0)
|
Oleg, Could you please respond to this? I have a licensed userid. I will provide any information you need. I really need an answer to this one. Thanks in Advance. Deep |
|
deepghosh
Groupie Joined: 10 March 2006 Location: United States Status: Offline Points: 14 |
Post Options
Thanks(0)
|
I myself sorted it out. BOOL CiMainFrame::PreTranslateMessage(MSG* pMsg) } |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |