Q : Bk Color in a CEdit View
Hi there Gurus and everyone else for that matter...
The Question I have is... How do I change the background color ( and perhaps the text color )in a CEdit derived view.
To begin with, I have tried to catch some Windows msg:s like =WM_CTLCOLOR and WM_CTLCOLOR with poor result.
I also tried to tweak the OnDraw and in pure desperation the OnPaint functions.....
But it wont work.
The only result i get is that my app changes the background color to the one that i decided if the view is new ( empty ).
But if i open a new one it seems to default to white Bk and black text color.
and thats not what i want....
So ... if anyone would know how to fix this ...please tell me .....
//Mooosie the frustrated Elk... :-)
Re: Q : Bk Color in a CEdit View
Hi ,
There is some code in this site for that problem. I think the files needed are "Editex.CXX" and "EditEx.Hxx" . So seracg for that in the Source Code section and I hope U will be able to solve ur problem real quick!
Good Luck.
Yash.