Hi all !

I have used the system tray example at Ranma at 's home page, this very useful but i have this problem :

When i add this code to it, the background color of all control : like stactic, checkbox, radio button in my form become White in Windows XP,

I have test this bug in template of Radasm : DialogAsMain, DlgApp , and this bug don't happen.

.elseif eax==WM_CTLCOLORSTATIC
invoke GetWindowLong,lParam,GWL_ID
.if eax==1016
invoke SetBkMode,wParam,TRANSPARENT
invoke SetTextColor,wParam,00000000h ;foreground
invoke CreateSolidBrush,ColorDIcon ;background
ret
.endif
mov eax,FALSE
ret
Posted on 2004-03-05 02:10:17 by neverending