网上下的一个源码,VC6打开如下;
一个MFC工程,控件的源码包含在demo工程里面;构建时是全部一起构建;
先看一下版权;
// This code may be used in compiled form in any way you desire. This
// file may be redistributed unmodified by any means PROVIDING it is
// not sold for profit without the authors written consent, and
// providing that this notice and the authors name and all copyright
// notices remains intact.
desire
n:欲望,愿望
此代码可以按你的愿望使用。
profit
n:利润,赢利,
consent
v:同意,答应
此文件可以重分发;
intact
a:完整,完好无损
提供此注意事项,以及作者的名字,保留所有权利;
大意是说可以使用此源码,但要保留作者的名字和所写的注意事项;
构建一下;
提示一个错误,col重定义,把后面定义的col前面的 int 删掉,