• Listview - NM_CUSTOMDRAW and CDDS_SUBITEM. Which subitem ?

    From R.Wieser@21:1/5 to All on Sat Feb 13 14:57:58 2021
    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).

    Rudy Wieser

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)