Prev Next

Header_DeleteItem info  Overview  Group

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

BOOL Header_DeleteItem(

    hwndHD,

    index

   );

Parameters

hwndHD 
Handle to the header control.
index
Index of the item to delete.

Return Values

If the operation succeeds, the return value is TRUE.

If the operation fails, the return value is FALSE.

Remarks

The Header_DeleteItem macro is defined as follows:

#define Header_DeleteItem(hwndHD, index)     \

      (BOOL)SendMessage((hwndHD), HDM_DELETEITEM, (WPARAM)(int)(index), 0L) 

 

See Also

HDM_DELETEITEM