![]() |
CXTPMDiframeWnd |
Post Reply ![]() |
Author | |
sasank ![]() Newbie ![]() Joined: 16 May 2007 Location: India Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() Posted: 14 June 2007 at 12:59am |
Dear Oleg,
I am developing my application using CXTPMDIFrameWnd. It works fine except when I am handling keyboard messages. I need to use Virtual keys and keyboard acclerations in my applcation and hence I have loaded the Accelerators in the usual procedure that I do MFC applications(i.e., CFrameWnd). But the Keyboard accelerators are not working. When I debug the application I find that the control is not entering PreTranslateMessage. Is it that CXTPMDIFrameWnd is hooking the Keyboard messages? Please let us know how to get around this problem. Regards Sasanka Ranganatha |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi, Call
pCommandBars->GetShortcutManager()->SetAccelerators(IDR_MAINFRAME); to load accelerators in CMainFrame::OnCreate.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
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 |