You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to APLWin
Does anyone have an APL function that subclasses a control and then creates a filter for NM_CUSTOMDRAW messages? I cannot get it to work. I think if I saw any working example I might see something that I am missing!
I am trying to change the color of the header captions of a Listview (in Report mode). Apparently this is completely different than changing the cells in the body of the Listview, and requires NM_CUSTOMDRAW.
/ Rav
unread,
Jan 22, 2024, 12:41:13 PM1/22/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to APLWin
I've have a function that does this for ListViews in APL+Win. It wasn't easy to get it to work; it's somewhat complicated. It not only handles coloring of the column headers, it also handles "proper" highlighting of the selected ListView row even when the ListView is unfocused. I'm pretty sure that it only currently works for single (not multiple) item selection. I have to leave right now for some appointments, but I'll email it to you later today. p