windows_programming_notes.nbk: Home | Index | Next Page: LVM_GETEDITCONTROL | Previous Page: LVCOLUMN


 LVITEM

    typedef struct _LVITEM { 
        UINT mask; 
        int iItem; 
        int iSubItem; 
        UINT state; 
        UINT stateMask; 
        LPTSTR pszText; 
        int cchTextMax; 
        int iImage; 
        LPARAM lParam;
    #if (_WIN32_IE >= 0x0300)
        int iIndent;
    #endif
    #if (_WIN32_IE >= 0x560)
        int iGroupId;
        UINT cColumns; // tile view columns
        PUINT puColumns;
    #endif
    } LVITEM, FAR *LPLVITEM; 

Members

Remarks

The LVITEM structure is used with a number of messages, including LVM_GETITEM, LVM_SETITEM, LVM_INSERTITEM, and LVM_DELETEITEM.

Use the last three items in this structure to insert an item into a tile view.


windows_programming_notes.nbk: Home | Index | Next Page: LVM_GETEDITCONTROL | Previous Page: LVCOLUMN


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