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
BOOL Header_DeleteItem(
HWND hwndHD,
int i
);
Parameters
hwndHD
Type: HWND
A handle to the header control.
i
Type: int
An index of the item to delete.
Return value
Type: BOOL
Returns TRUE if successful, or FALSE otherwise.
Remarks
The Header_DeleteItem macro is defined as follows.
#define Header_DeleteItem(hwndHD, i) \
(BOOL)SendMessage((hwndHD), HDM_DELETEITEM, (WPARAM)(int)(i), 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 |