Tab Control Structures

In Windows CE, the TCITEM structure replaces the TC_ITEM structure that is used by Windows-based desktop platforms. TCITEM has two members that are not available in its desktop computer counterpart. The dwState member, which contains the item states, replaces the lpReserved1 member, and the dwStateMask member replaces the lpReserved2 member. The dwStateMask member is a bit member that specifies which bits of the value in the dwState member are valid. The mask member supports a value unique to Windows CE, TCIF_STATE, which indicates whether the dwState member is valid. Windows CE structures that have been renamed to conform to windows standard naming conventions are described in the following table. These structures are otherwise the same as the corresponding structures in Windows-based desktop platforms.

Windows CE Windows-based desktop platforms
TCITEMHEADER TC_ITEMHEADER
NMTCKEYDOWN TC_KEYDOWN