Header_DeleteItem

This macro deletes an item from a header control. You can use this macro or send the HDM_DELETEITEM message explicitly.

At a Glance

Header file: Commctrl.h
Windows CE versions: 1.0 and later
Related message: HDM_DELETEITEM

Syntax

BOOL Header_DeleteItem( hwndHD, index );

Parameters

hwndHD

Handle to the header control.

index

Index of the item to delete.

Return Values

TRUE indicates success. FALSE indicates failure.

Remarks

The Header_DeleteItem macro is defined as follows:

#define Header_DeleteItem(hwndHD, index)      \
   (BOOL)SendMessage((hwndHD), HDM_DELETEITEM, (WPARAM)(int)(index), 0L)