hi all!
i set a trackbar when windows send WM_CTLCOLORSTATIC ,
i want the background into TRANSPARENT .
so , i code it :

.ElseIf uMsg==WM_CTLCOLORSTATIC
invoke GetDlgCtrlID, lParam
.if eax
invoke SetBkMode, wParam, TRANSPARENT
invoke GetStockObject, NULL_BRUSH
ret
.else
MOV eax, FALSE
.endif
ret

but it seem some problem with this CODE, the trackbar's can't be set TRANSPARENT .
how i can change the TrackBar BackGround into TRANSPARENT?
Posted on 2007-04-16 02:34:02 by benny
invoke  setbkmode,  ,eax,transparent
eax is the handle of control ID
Posted on 2007-04-16 12:11:55 by hero liu