I'm making class wrappers for various window controls such as edit, static, progress etc. Similar in a way to the CEdit class etc - but much simplified.
I've subclassed the winprocs in class wrappers, no problem. But I can't get the text/background colours to change.
The MSDN says that you must intercept WM_CTLCOLOREDIT etc in the parent winproc in order to set the colours ... but I need to keep each window control completely self contained.
Therefore, is there another way to change the colours of such controls, without doing so from the parent winproc?
I'm using straight C++ (no MFC)