Tab Control Ctrl-Tab-Keys 
Author Message
 Tab Control Ctrl-Tab-Keys

Hello,
I have a Dialog with a tab control and I  want to switch between the tabs
with Ctrl-Tab-Key. How can I do that? Who can help?

Best regards,
Ernst



Thu, 17 Jul 2003 22:04:26 GMT  
 Tab Control Ctrl-Tab-Keys
Ernest,

Override PreTranslateMessage(..) in your dialog class and look for the key
combination that you want to use to switch tabs. Get the current active tab
with m_Tab.GetCurSel() and switch to the next tab with m_Tab.SetCurSel().

Cecil

--

-------------------------------------------
Cecil A. Galbraith
http://www.codesoup.com
Programmers Utilities/Tips
-------------------------------------------


Quote:
> Hello,
> I have a Dialog with a tab control and I  want to switch between the tabs
> with Ctrl-Tab-Key. How can I do that? Who can help?

> Best regards,
> Ernst



Fri, 18 Jul 2003 05:28:03 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. disable Alt+ TAB Ctrl+ESC Ctrl+Alt+DEL key

2. Tab key to tab between controls does not work properly

3. - How to Trap CTRL+TAB KEY -

4. Trapping CTRL+TAB keys in a Splitter window

5. Disabling Ctrl Tab hot key

6. tab key not tabbing in my dialog

7. TAB key, controls and child windows with controls

8. Ctrl+Tab Handling inside ActiveX Control

9. want tab control with tabs on bottom

10. Tab Control - disabling a tab

11. Moving the first tab in a tab control over a bit

12. Cannot press tab to move to a tab control after using WS_EX_CONTROLPARENT

 

 
Powered by phpBB® Forum Software