I am trying to make a beautiful table and am using LVS_OWNERDRAWFIXED style to draw my own table design. So, I want to change the header item height of the table but can't do this. I am using the code below to change item height but its just changing item width. What am I doing wrong here, anyone know?
HDITEM hi = { 0 };
hi.mask = HDI_FORMAT | HDI_HEIGHT;
Header_GetItem(hHeader, i, &hi);
hi.fmt = HDF_OWNERDRAW;
hi.cxy = 70; // this always sets width instead of height
Header_SetItem(hHeader, i, &hi);
There is no much information about header resizing online, maybe someone knows what is the problem here?