文件名称:Free Hex Control
文件大小:1000KB
文件格式:RAR
更新时间:2009-10-14 15:46:09
界面控件
希望大家表骂偶假洋鬼子,板砖?偶闪! /***************************************************************************** / / This software is published under the GPL 2. / For the detail about GPL 2, look into http://www.gnu.org / / author: sproll.gangaro / mail: sproll@163.com / / Hi every body, thanks for choosing Free Hex Control! / / Errrrr...Actually, I hesitate to release the source code of this control, / Because when I checked after completion, I found that it's really ugly! Putting all / graphic codes in the CDraw class is the worst idea, and this makes re-drawing / specific area difficult, so I lazily redraw almost the whole control whenever / it needs. This results in the slowness (I suggest you can use the control in data / display, ^_^). In next version, I will optimize draw efficiency, / making range class to express character and other elements. / And the ascii-bar will support multi-character language, / for example: Chinese, etc. / / Here are some description of some properties: / HScroll: extend control by horizontal scroll bar / AddressStart: the first byte's offset / AddressStyle: style of address, 0, HEX; 1, Dec / AddressNumber:number of address data in characters / ShowData: used in debugging, don't use it / SolidSelectionDisplay: / selected data's background is solid or not / BytesPerLine: if HScroll is true, how many bytes per line, / if HScroll is false, this depends on control's width / Group: separate data into groups or not in a line / GroupSize: if Group is true, how many bytes in a group / ShowCaret: high light the selected byte or not / ShowAddress: show address bar or not / ShowAscii: show ascii bar or not / ShowColumn: show column bar or not / AddressTextColor: / ColumnTextColor: / TextColor: / AsciiTextColor: / text color in each bar / *****************************************************************************/
【文件预览】:
HEX
----HEX.opt(53KB)
----HexTest()
--------HexTest.clw(2KB)
--------HexTest.h(1KB)
--------res()
--------HexTestDlg.h(2KB)
--------HexTest.cpp(2KB)
--------hex.cpp(6KB)
--------hex.h(3KB)
--------HexTest.dsp(5KB)
--------HexTest.rc(6KB)
--------StdAfx.cpp(209B)
--------resource.h(1KB)
--------StdAfx.h(1KB)
--------font.cpp(2KB)
--------HexTest.plg(7KB)
--------HexTestDlg.cpp(7KB)
--------font.h(1KB)
--------HexTest.aps(36KB)
--------ReadMe.txt(4KB)
----Hex()
--------Hex.h(928B)
--------Hex.ico(2KB)
--------Hex.cpp(2KB)
--------HexPpg.cpp(3KB)
--------HexPpg.h(2KB)
--------Draw.cpp(37KB)
--------Hex.plg(6KB)
--------HexCtl.h(8KB)
--------Hex.odl(4KB)
--------PropMisc.cpp(3KB)
--------Draw.h(6KB)
--------Hex.rc(8KB)
--------Hex.aps(40KB)
--------Hex.def(214B)
--------StdAfx.cpp(204B)
--------resource.h(2KB)
--------StdAfx.h(1KB)
--------Hex.clw(2KB)
--------HexCtl.cpp(36KB)
--------HexCtl.bmp(246B)
--------bug.txt(51B)
--------Hex.dsp(8KB)
--------PropMisc.h(2KB)
--------ReadMe.txt(3KB)
----HEX.dsw(814B)