R.Wieser
2021-02-13 13:57:58 UTC
Hello all,
I'm trying to figure out if I can overrule (some aspects of) a listviews
subitem. But shortly on that way and I'm already stuck. :-(
I'm catching NM_CUSTOMDRAW message and reply with a CDRF_NOTIFYSUBITEMDRAW.
As a result I'm getting NM_CUSTOMDRAW messages with the CDDS_ITEMPREPAINT
stage set.
The problem is that I can see, in the NMCUSTOMDRAW record, which item (row),
but not which subitem(column) the drawing stage is for.
(as a result) I also do not see a(n easy) way to inspect the items contents
are, or how to alter it /for displaying only/ (like changing "Y" to "Yes",
without altering the stored data).
Regards,
Rudy Wieser
I'm trying to figure out if I can overrule (some aspects of) a listviews
subitem. But shortly on that way and I'm already stuck. :-(
I'm catching NM_CUSTOMDRAW message and reply with a CDRF_NOTIFYSUBITEMDRAW.
As a result I'm getting NM_CUSTOMDRAW messages with the CDDS_ITEMPREPAINT
stage set.
The problem is that I can see, in the NMCUSTOMDRAW record, which item (row),
but not which subitem(column) the drawing stage is for.
(as a result) I also do not see a(n easy) way to inspect the items contents
are, or how to alter it /for displaying only/ (like changing "Y" to "Yes",
without altering the stored data).
Regards,
Rudy Wieser