Tabs in a tab control can be activated using the left mouse button. By clicking on a currently inactive tab, that tab will become the active tab. This takes place under program control. The application receives a SFTTABSN_SWITCHING and SFTTABSN_SWITCHED WM_COMMAND notification.
Tabs can also be made active using the keyboard. Just as regular Windows controls (such as buttons) respond to an Alt + key combination, the tab control responds to keyboard accelerators, if any one of the tab labels has been defined to support this. When defining tab text, the & character indicates that the following character is to be recognized by an Alt + key combination, e.g., the tab with the tab label "&First" will be made active when the user presses Alt-F. The & character will never be shown. The following character will be underlined instead. Switching tabs using Alt-key combinations is always supported when the tab control has the input focus. For cases where other windows have the input focus, the enclosing window or dialog has to be registered for keyboard accelerators to be recognized by the tab control (see SftTabs_RegisterDialog or SftTabs_RegisterWindow for more information).
Control + Tab key combinations and Control + Shift + Tab key combinations are used to switch to the next (or previous) tab. That tab will become the new active tab.
Control + arrow key key combinations can be used to scroll in a scrollable tab control. For Control + arrow key key combinations to have an effect, the tab control must be the active control, i.e., the control which currently has the input focus.