hey it's me again, i just figured out how to change the background and all that color stuff in my dialogbox, my now i need to know how i can change the color of just one static control like ctext in my .rc with the id IDC_RESULT i know that i have to respond to the WM_CTLCOLORSTATIC but that changes all static controls Regards Typhoon ############################################################ I was thinking again, is there something possible, like sending a SetTextColor message to that control ? This message was edited by Typhoon, on 4/1/2001 7:55:36 PM
Posted on 2001-04-01 16:57:00 by Typhoon

.elseif uMsg==WM_CTLCOLORSTATIC
       invoke GetDlgItem,hDlg,IDC_RESULT
       .if eax==lParam      ; lParam contains the handle to the static control being repainted
              
       .endif
Posted on 2001-04-01 21:26:00 by Iczelion
Thanks Iczelion, that works just great for me... And sorry for posting all the time, but u guys really helped me understanding most of the stuff i read until now. Regards and Thanks, Typhoon
Posted on 2001-04-01 21:41:00 by Typhoon