Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Deletes an item from a header control.
BOOL DeleteItem( 
   int nPos  
);
Parameters
- nPos
 Specifies the zero-based index of the item to delete.
Return Value
Nonzero if successful; otherwise 0.
Example
int nCount = m_myHeaderCtrl.GetItemCount();
// Delete all of the items. 
for (int i=0;i < nCount;i++)
{
   m_myHeaderCtrl.DeleteItem(0);
}
Requirements
Header: afxcmn.h