Поделиться через


Tab Controls Messages (Windows Embedded CE 6.0)

1/6/2010

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

Programming element Description

TCM_ADJUSTRECT

This message calculates a tab control's display area specified a window rectangle or calculates the window rectangle that would correspond to a specified display area.

TCM_DELETEALLITEMS

This message removes all items from a tab control.

TCM_DELETEITEM

This message removes an item from a tab control.

TCM_DESELECTALL

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

TCM_GETCURFOCUS

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

TCM_GETCURSEL

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

TCM_GETEXTENDEDSTYLE

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

TCM_GETIMAGELIST

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

TCM_GETITEM

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

TCM_GETITEMCOUNT

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

TCM_GETITEMRECT

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

TCM_GETROWCOUNT

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

TCM_HIGHLIGHTITEM

This message sets the highlight state of a tab item.

TCM_HITTEST

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

TCM_INSERTITEM

This message inserts a new tab in a tab control.

TCM_REMOVEIMAGE

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

TCM_SETCURFOCUS

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

TCM_SETCURSEL

This message selects a tab in a tab control.

TCM_SETEXTENDEDSTYLE

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

TCM_SETIMAGELIST

This message assigns an image list to a tab control.

TCM_SETITEM

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

TCM_SETITEMEXTRA

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

TCM_SETITEMSIZE

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

TCM_SETMINTABWIDTH

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

TCM_SETPADDING

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

See Also

Reference

Tab Controls Reference