Mooosie
April 4th, 1999, 05:22 PM
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... :-)
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... :-)