Click here to Skip to main content
15,892,161 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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, *LPLVITEM;


What's the iSubItem used for?
Posted
Updated 28-Oct-10 5:45am
v3
Comments
JF2015 28-Oct-10 0:07am    
What is the actual question?

You can consider it as column index. Checkout http://msdn.microsoft.com/en-us/library/bb774736(v=VS.85).aspx[^]
 
Share this answer
 
The subitem is meaningful when the list control is in report view.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900