Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
BOOLDeleteItem(intnPos**);**
Return Value
Nonzero if successful; otherwise 0.
Parameters
nPos
Specifies the zero-based index of the item to delete.
Remarks
Deletes an item from a header control.
Example
// The pointer to my header control.
extern CHeaderCtrl* pmyHeaderCtrl;
int nCount = pmyHeaderCtrl->GetItemCount();
// Delete all of the items.
for (int i=0;i < nCount;i++)
{
pmyHeaderCtrl->DeleteItem(0);
}
CHeaderCtrl Overview | Class Members | Hierarchy Chart
See Also CHeaderCtrl::InsertItem