Prev Next
Header_InsertItem info Overview GroupThe Header_InsertItem macro inserts a new item into a header control. You can use this macro or explicitly send the HDM_INSERTITEM message. int Header_InsertItem(
Parameters
Return ValuesIf the operation succeeds, the return value is the index of the new item. If the operation fails, the return value is - 1. RemarksThe Header_InsertItem macro is defined as follows: #define Header_InsertItem(hwndHD, index, phdi) \ (int)SendMessage((hwndHD), HDM_INSERTITEM, (WPARAM)(int)(index), \ (LPARAM)(const HD_ITEM FAR*)(phdi)) See Also |