Shortcut keys + CXTTabCtrl? |
Post Reply |
Author | |
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
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/
|
|
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 |