Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Shortcut keys + CXTTabCtrl?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Shortcut keys + CXTTabCtrl?

 Post Reply Post Reply
Author
Message
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Topic: Shortcut keys + CXTTabCtrl?
    Posted: 03 October 2010 at 11:40am
I have a CXTTabCtrl with a couple of property pages. ALT-shortcuts work when these pages have focus (made use of CDialog::PreTranslateMessage to get that working). However, when the dialog or its child controls have focus, the ALT-shortcuts of the property page don't work.
 
What do I have to do to get the ALT-shortcuts working no matter where the focus is?
 
So far, I have tried calling m_tabCtrl.OnCmdMsg() inside CMyDialog::OnCmdMsg() but with no success. (Speaking of which, WHY is CXTTabCtrl::OnCmdMsg protected?!)
PokerMemento - http://www.pokermemento.com/
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.