08-29-2007, 06:09 PM
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. hock:
DEX_TBCustomDraw
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. hock:
DEX_TBCustomDraw
;/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