How to implement Ctrl + tab to navigate between tabs in a CTabCtrl
-
Hi guys, In my application I had a CTabCtrl object & it has 2 tab window. I want to navigate between these tabs window via Ctrl + TAB. Currently i can do the same in preTranslateMsg i.e. to look for keydown messages & filter it out ctrl + tab key out of it & calling setcusel(). I need to know if there is any other way that I can implement the same functionality. Thanks, Amrit
-
Hi guys, In my application I had a CTabCtrl object & it has 2 tab window. I want to navigate between these tabs window via Ctrl + TAB. Currently i can do the same in preTranslateMsg i.e. to look for keydown messages & filter it out ctrl + tab key out of it & calling setcusel(). I need to know if there is any other way that I can implement the same functionality. Thanks, Amrit
I'm curious why you don't use a
CPropertySheet
with twoCPropertyPage
objects instead. Navigation would be automatically handled by the framework."One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
-
I'm curious why you don't use a
CPropertySheet
with twoCPropertyPage
objects instead. Navigation would be automatically handled by the framework."One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles