This class provides the functionality of a Windows CE tab control. A tab control is analogous to the dividers in a notebook or the labels in a file cabinet. A tab control is used in a property sheet to provide a way for a user to move from one property page to another.
Header file: | Afxcoll.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
Windows CE defines two new tab control styles, TCS_FLIP and TCS_VERTICAL. The TCS_VERTICAL style specifies vertical tabs down the left side of the page. The TCS_FLIP style flips the tabs. For example, if the tabs were on top, TCS_FLIP puts them on the bottom. If they were on the left, it puts them on the right.
Windows CE does not support the TCM_SETTOOLTIPS message, because it currently only supports tool tips for command bar buttons.
Windows CE does not support tool tips for any controls except command bar buttons, so it does not support the GetTooltips and SetTooltips methods of the CTabCtrl class.
MFC for Windows CE also does not support the obsolete SetItemExtra method.
Windows CE does not support vertical text. If you create vertical tabs, and want to use vertical text, you have to create a text bitmap and rotate it. Then you can add it to an image list and attach it to the tab by specifying its image list index in the iImage member of the TC_ITEM or TC_ITEMHEADER structure that you pass in the pTabCtrlItem parameter to the SetItem or InsertItem method.
CHeaderCtrl, CListCtrl, TC_ITEM, TC_ITEMHEADER, Control Classes