Is HDI_WIDTH and HDI_HEIGHT the same?

I am calling for the width and height of header item rect through the above flags but they both return the same value (the width). Are they the same? MSDN also says something like that [MSDN (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/header/structures/hditem.asp)]

HDITEM hd;
hd.mask = HDI_WIDTH | HDI_TEXT;
...
first I call with this and hd.cxy returns the width. Than I call with
hd.mask = HDI_HEIGHT | HDI_TEXT;

but hd.cxy still returns the width. In fact the mask value in both cases is the same = 3!

Is this a bug or something else.
[629 byte] By [retry] at [2007-11-19 6:41:05]
# 1 Re: Is HDI_WIDTH and HDI_HEIGHT the same?
Yes they have same value defined as 1, used to retrieve cxy - width or height of the item depending on horizontal or vertical positioning of the header. it has sumbolic meaning rather than practical.
JohnCz at 2007-11-11 0:30:20 >
# 2 Re: Is HDI_WIDTH and HDI_HEIGHT the same?
Yes they have same value defined as 1, used to retrieve cxy - width or height of the item depending on horizontal or vertical positioning of the header. it has sumbolic meaning rather than practical.

but it obviously return the same value in cxy as well for both identifiers which now makes since but both of them or width of the header column. I had to use GetItemRect(i, &rcItem); to return the correct height but I am still wondering why the HDI_HEIGHT flag, what really is its use than?
retry at 2007-11-11 0:31:20 >