Tab Control Messages

An application sends messages to add tabs and otherwise control the appearance and behavior of a tab control. Each message has a corresponding macro that you can use instead of sending the message explicitly.

Message Corresponding Macro
TCM_ADJUSTRECT TabCtrl_AdjustRect
TCM_DELETEALLITEMS TabCtrl_DeleteAllItems
TCM_DELETEITEM TabCtrl_DeleteItem
TCM_GETCURFOCUS TabCtrl_GetCurFocus
TCM_GETCURSEL TabCtrl_GetCurSel
TCM_GETIMAGELIST TabCtrl_GetImageList
TCM_GETITEM TabCtrl_GetItem
TCM_GETITEMCOUNT TabCtrl_GetItemCount
TCM_GETITEMRECT TabCtrl_GetItemRect
TCM_GETROWCOUNT TabCtrl_GetRowCount
TCM_GETTOOLTIPS TabCtrl_GetToolTips
TCM_HITTEST TabCtrl_HitTest
TCM_INSERTITEM TabCtrl_InsertItem
TCM_REMOVEIMAGE TabCtrl_RemoveImage
TCM_SETCURFOCUS TabCtrl_SetCurFocus
TCM_SETCURSEL TabCtrl_SetCurSel
TCM_SETIMAGELIST TabCtrl_SetImageList
TCM_SETITEM TabCtrl_SetItem
TCM_SETITEMEXTRA TabCtrl_SetItemExtra
TCM_SETITEMSIZE TabCtrl_SetItemSize
TCM_SETPADDING TabCtrl_SetPadding
TCM_SETTOOLTIPS TabCtrl_SetToolTips