Header_DeleteItem

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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

Syntax

#define Header_DeleteItem(hwndHD, i) \
             (BOOL)SNDMSG((hwndHD), HDM_DELETEITEM, (WPARAM)(int)(i), 0L)

Parameters

  • hwndHD
    Handle to the header control.
  • i
    Index of the item to delete.

Return Value

TRUE indicates success. FALSE indicates failure.

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 1.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

Header Controls Macros
HDM_DELETEITEM