Introduction - If you have any usage issues, please Google them yourself
EDIT controls installed after the read-only attribute does not allow users to input and edit delete basic operation of the control information can be used only browser, but if the use of the default settings, it is highly EDIT control the background color to gray, but if your theme procedure for a background color made a deal with the case, it may be with your overall style and not, so it is necessary to have a background color but also with the read-only attribute the delay EDIT Controls. realizing the fact is very simple, derived a CEDIT category, we named CColReadOnlyEdit here, and the first category trigger PreTranslateMessage, this function can be used to intercepted news programming.
Packet : 101259373具有背景颜色和文字颜色的edit控件.rar filelist
ReadOnlyEditDemo\ColReadOnlyEdit.h
ReadOnlyEditDemo\ReadOnlyEditDemo.opt
ReadOnlyEditDemo\ColReadOnlyEdit.cpp
ReadOnlyEditDemo\ReadOnlyEditDemoDlg.cpp
ReadOnlyEditDemo\ReadOnlyEditDemo.rc
ReadOnlyEditDemo\ReadOnlyEditDemo.clw
ReadOnlyEditDemo\ReadMe.txt
ReadOnlyEditDemo\ReadOnlyEditDemo.h
ReadOnlyEditDemo\ReadOnlyEditDemo.cpp
ReadOnlyEditDemo\ReadOnlyEditDemo.aps
ReadOnlyEditDemo\ReadOnlyEditDemoDlg.h
ReadOnlyEditDemo\StdAfx.h
ReadOnlyEditDemo\StdAfx.cpp
ReadOnlyEditDemo\res\ReadOnlyEditDemo.rc2
ReadOnlyEditDemo\res\ReadOnlyEditDemo.ico
ReadOnlyEditDemo\res
ReadOnlyEditDemo\ReadOnlyEditDemo.dsp
ReadOnlyEditDemo\ReadOnlyEditDemo.dsw
ReadOnlyEditDemo\ReadOnlyEditDemo.ncb
ReadOnlyEditDemo\Debug
ReadOnlyEditDemo\ReadOnlyEditDemo.plg
ReadOnlyEditDemo\Resource.h
ReadOnlyEditDemo
说明.txt