Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Explorer-style dialog
#7
can you tell how to make it work, so that we have text color
for tb buttons.
or is it the wrong attempt ?

i ask, because my toolbar now has the taskbar background, but the text
labels are black. Confusedhock:

DEX_TBCustomDraw
Code:
Copy      Help
;/DEX_Main
function# NMTBCUSTOMDRAW*cd

sel cd.nmcd.dwDrawStage
,case CDDS_PREPAINT ret CDRF_NOTIFYITEMDRAW ;;yes, notify me to draw items
,case CDDS_ITEMPREPAINT
,,sel cd.nmcd.dwItemSpec
,,,case 1001 cd.clrText=0x222222;out "i am here"
,,,case 1002 cd.clrText=0x222222
,,,case 1003 cd.clrText=0xFF0000
,,,case else ret
pi


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)