Print Page | Close Window

Shortcut keys + CXTTabCtrl?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=17366
Printed Date: 20 June 2025 at 5:34am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Shortcut keys + CXTTabCtrl?
Posted By: znakeeye
Subject: Shortcut keys + CXTTabCtrl?
Date 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/



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net