Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to change header color of ListView?
#4
and found a example: :lol: :lol: :lol:

messages3
NMHDR* nh=+lParam
sel nh.idFrom
case 3 ;;list
sel nh.code
case NM_CUSTOMDRAW
NMLVCUSTOMDRAW* cd=+nh
sel cd.nmcd.dwDrawStage
case CDDS_PREPAINT ret DT_Ret(hDlg CDRF_NOTIFYITEMDRAW)
case CDDS_ITEMPREPAINT
cd.clrTextBk=iif(cd.nmcd.lItemlParam 0xffff iif(cd.nmcd.dwItemSpec&1 0xF8F8F8 0xFFFFFF))


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)