<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Was bedeutet nSubItem in CListCtrl::InsertColumn(...)]]></title><description><![CDATA[<pre><code>int CListCtrl::InsertColumn( int nCol, const LVCOLUMN* pColumn );
int CListCtrl::InsertColumn( int nCol, LPCTSTR lpszColumnHeading, int nFormat = LVCFMT_LEFT, int nWidth = -1, int nSubItem = -1 );

Return Value:
The index of the new column if successful or -1 otherwise.

Parameters:
nCol:                The index of the new column.
pColumn:             Address of an LVCOLUMN structure that contains the attributes of the new column.
lpszColumnHeading:   Address of a string containing the column’s heading.
nFormat:             Alignment of the column. It can be one of these values:
                     LVCFMT_LEFT, LVCFMT_RIGHT, or LVCFMT_CENTER.
nWidth:              Width of the column, in pixels.
                     If this parameter is -1, the column width is not set.
nSubItem:            Index of the subitem associated with the column.
                     If this parameter is -1, no subitem is associatied with the column.
</code></pre>
<p>Wofür steht nSubItem bei einer Spaltenüberschrift ganz genau, kann damit nichts anfangen?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/150950/was-bedeutet-nsubitem-in-clistctrl-insertcolumn</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Jul 2026 22:34:16 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/150950.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 21 Jun 2006 17:30:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Was bedeutet nSubItem in CListCtrl::InsertColumn(...) on Wed, 21 Jun 2006 17:30:50 GMT]]></title><description><![CDATA[<pre><code>int CListCtrl::InsertColumn( int nCol, const LVCOLUMN* pColumn );
int CListCtrl::InsertColumn( int nCol, LPCTSTR lpszColumnHeading, int nFormat = LVCFMT_LEFT, int nWidth = -1, int nSubItem = -1 );

Return Value:
The index of the new column if successful or -1 otherwise.

Parameters:
nCol:                The index of the new column.
pColumn:             Address of an LVCOLUMN structure that contains the attributes of the new column.
lpszColumnHeading:   Address of a string containing the column’s heading.
nFormat:             Alignment of the column. It can be one of these values:
                     LVCFMT_LEFT, LVCFMT_RIGHT, or LVCFMT_CENTER.
nWidth:              Width of the column, in pixels.
                     If this parameter is -1, the column width is not set.
nSubItem:            Index of the subitem associated with the column.
                     If this parameter is -1, no subitem is associatied with the column.
</code></pre>
<p>Wofür steht nSubItem bei einer Spaltenüberschrift ganz genau, kann damit nichts anfangen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1082311</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1082311</guid><dc:creator><![CDATA[Return_Success]]></dc:creator><pubDate>Wed, 21 Jun 2006 17:30:50 GMT</pubDate></item></channel></rss>