Partager via


Tab Controls Macros (Windows Embedded CE 6.0)

1/6/2010

The following table shows the tab controls macros, with a description of the purpose of each.

Programming element Description

TabCtrl_AdjustRect

This macro calculates the display area of a tab control based on a specified window rectangle, or calculates the window rectangle that would correspond to a specified display area.

TabCtrl_DeleteAllItems

This macro removes all items from a tab control.

TabCtrl_DeleteItem

This macro removes an item from a tab control.

TabCtrl_DeselectAll

This macro resets items in a tab control, clearing any that were set to the TCIS_BUTTONPRESSED state.

TabCtrl_GetCurFocus

This macro returns the index of the item that has the focus in a tab control.

TabCtrl_GetCurSel

This macro determines the currently selected tab in a tab control.

TabCtrl_GetExtendedStyle

This macro retrieves the extended styles that are currently in use for the tab control.

TabCtrl_GetImageList

This macro retrieves the image list associated with a tab control.

TabCtrl_GetItem

This macro retrieves information about a tab in a tab control.

TabCtrl_GetItemCount

This macro retrieves the number of tabs in the tab control.

TabCtrl_GetItemRect

This macro retrieves the bounding rectangle for a tab in a tab control.

TabCtrl_GetRowCount

This macro retrieves the current number of rows of tabs in a tab control.

TabCtrl_HighlightItem

This macro sets the highlight state of a tab item.

TabCtrl_HitTest

This macro determines which tab, if any, is at a specified screen position.

TabCtrl_InsertItem

This macro inserts a new tab in a tab control.

TabCtrl_RemoveImage

This macro removes an image from a tab control's image list.

TabCtrl_SetCurFocus

This macro sets the focus to a specified tab in a tab control.

TabCtrl_SetCurSel

This macro selects a tab in a tab control.

TabCtrl_SetExtendedStyle

This macro sets the extended styles that the tab control will use.

TabCtrl_SetImageList

This macro assigns an image list to a tab control.

TabCtrl_SetItem

This macro sets some or all of a tab's attributes.

TabCtrl_SetItemExtra

This macro sets the number of bytes per tab reserved for application-defined data in a tab control.

TabCtrl_SetItemSize

This macro sets the width and height of tabs in a fixed-width or owner-drawn tab control.

TabCtrl_SetMinTabWidth

This macro sets the minimum width of items in a tab control.

TabCtrl_SetPadding

This macro sets the amount of space (padding) around each tab's icon and label in a tab control.

See Also

Reference

Tab Controls Reference