windows_programming_notes.nbk: Home | Index | Next Page: TCM_ADJUSTRECT | Previous Page: TabCtrl_SetCurSel


 TCITEM

Specifies or receives the attributes of a tab item. It is used with the TCM_INSERTITEM, TCM_GETITEM, and TCM_SETITEM messages. This structure supersedes the TC_ITEM structure.

Syntax

    typedef struct tagTCITEM {  
        UINT mask;
    #if (_WIN32_IE >= 0x0300)
        DWORD dwState;
        DWORD dwStateMask;
    #else
        UINT lpReserved1;
        UINT lpReserved2;
    #endif
        LPTSTR pszText;
        int cchTextMax;
        int iImage;
        LPARAM lParam;
    } TCITEM, *LPTCITEM;

Members

Remarks

Typically, windows display text left-to-right (LTR). Windows can be mirrored to display languages such as Hebrew or Arabic that read right-to-left (RTL). Ordinarily, pszText will be displayed in the same direction as the text in its parent window. If TCIF_RTLREADING is set, pszText will read in the opposite direction from the text in the parent window.

Structure Information


windows_programming_notes.nbk: Home | Index | Next Page: TCM_ADJUSTRECT | Previous Page: TabCtrl_SetCurSel


Notebook exported on Monday, 7 July 2008, 18:56:50 PM Eastern Daylight Time