TSmooth,

This is an Edit control, not a Rich Edit control - to the best of my knowledge, EM_SETBKGNDCOLOR only works for Rich Edit controls.

-TM