Header_DeleteItem macro (commctrl.h)
Deletes an item from a header control. You can use this macro or send the HDM_DELETEITEM message explicitly.
Syntax
void Header_DeleteItem(
hwndHD,
i
);
Parameters
hwndHD
Type: HWND
A handle to the header control.
i
Type: int
An index of the item to delete.
Return value
None
Remarks
The Header_DeleteItem macro is defined as follows.
#define Header_DeleteItem(hwndHD, index) \
(BOOL)SendMessage((hwndHD), HDM_DELETEITEM, (WPARAM)(int)(index), 0L)
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | commctrl.h |