Description: Recently, I was working on a diagnostic software which requires a Edit Control used for HEX/DEC numbers input. The CEdit that comes with MFC is not so good for this job, as it can not prevent the user from typing an invalid HEX number.
Therefore, I created the CHexEdit control derived from CEdit for HEX/DEC numbers input, it is very easy to use.
File list (Check if you may need any files):
CHexEditDemo.clw
CHexEditDemo.cpp
CHexEditDemo.dsp
CHexEditDemo.dsw
CHexEditDemo.h
CHexEditDemo.ncb
CHexEditDemo.opt
CHexEditDemo.plg
CHexEditDemo.rc
CHexEditDemo.sln
CHexEditDemo.suo
CHexEditDemo.vcproj
CHexEditDemoDlg.cpp
CHexEditDemoDlg.h
HexEdit.cpp
HexEdit.h
ReadMe.txt
res
...\CHexEditDemo.rc2
Resource.h
StdAfx.cpp
StdAfx.h