Sometimes I find that online MDSN all but useless...
I create listview(report mode) columns (LVM_INSERTCOLUMN) and obtain the header handle (LVM_GETHEADER).
From here all header messages work no problem except for (HDM_SETITEM). I also tried (LVM_SETCOLUMN) with no pleasure.
I'm only using the HDI_TEXT flag on the structures to try set the text of the header.
The thing is that this is an exact copy of my Listview sample code... that works, incorporated into a bigger module.
I've combed the modules for any unwanted changes but nothing untoward.
Question... are there any 'quirks' with setting Header Items that I've missed ??
I think it would be somewhat difficult to assist without showing the piece of the code where you send the HDM_SETITEM message. But your question was about quirks.... I can't answer that.
double check that the following 2 HDITEM structure members are properly set:
pszText
cchTextMax
I'm sure your just overlooking something minor.
Quote from: azdps on January 27, 2014, 07:21:28 AM
I'm sure your just overlooking something minor.
Ja.. you're right....
I'm such a pr.ck... tearing my hair out..again!! :icon_eek:
Had 'Return TRUE' at the end of my WM_NOTIFY message handler.
Sorry to bother you people
:icon_mrgreen:
no problem
the fee is still $50 :biggrin:
Cheque's in the email..
:biggrin: