Professional Documents
Culture Documents
CTabCtrl Class
CTabCtrl Class
CTabCtrl Class
A "tab control" is analogous to the dividers in a notebook or the labels in a file cabinet.
By using a tab control, an application can define multiple pages for the same area of a
window or dialog box. Each page consists of a set of information or a group of controls
that the application displays when the user selects the corresponding tab. A special type
of tab control displays tabs that look like buttons. Clicking a button should immediately
perform a command instead of displaying a page.
CObject Members
CCmdTarget Members
CWnd Members
Construction
Creates a tab control with the specified Windows extended styles and attaches it
CreateEx
to an instance of a CTabCtrl object.
GetCurFocus Retrieves the tab with the current focus of a tab control.
Retrieves the extended styles that are currently in use for the tab
GetExtendedStyle
control.
Retrieves the handle of the tool tip control associated with a tab
GetToolTips
control.
Sets the number of bytes per tab reserved for application-defined data
SetItemExtra
in a tab control.
Sets the amount of space (padding) around each tab's icon and label in
SetPadding
a tab control.
DeselectAll Resets items in a tab control, clearing any that were pressed.
HighlightItem Sets the highlight state of a tab item.
CTabCtrl::AdjustRect
CTabCtrl::Create
CTabCtrl::CreateEx
CTabCtrl::CTabCtrl
CTabCtrl::DeleteAllItems
CTabCtrl::DeleteItem
CTabCtrl::DeselectAll
CTabCtrl::DrawItem
CTabCtrl::GetCurFocus
CTabCtrl::GetCurSel
CTabCtrl::GetExtendedStyle
CTabCtrl::GetImageList
CTabCtrl::GetItem
CTabCtrl::GetItemCount
CTabCtrl::GetItemRect
CTabCtrl::GetItemState
CTabCtrl::GetRowCount
CTabCtrl::GetToolTips
CTabCtrl::HighlightItem
CTabCtrl::HitTest
CTabCtrl::InsertItem
CTabCtrl::RemoveImage
CTabCtrl::SetCurFocus
CTabCtrl::SetCurSel
CTabCtrl::SetExtendedStyle
CTabCtrl::SetImageList
CTabCtrl::SetItem
CTabCtrl::SetItemExtra
CTabCtrl::SetItemSize
CTabCtrl::SetItemState
CTabCtrl::SetMinTabWidth
CTabCtrl::SetPadding
CTabCtrl::SetToolTips