Welcome![Sign In][Sign Up]
Location:
Search - google image A

Search list

[Other一个非常好用的Autocad工具集

Description: ********************************************************* * AyungerStudio AutoCAD-Tools 更新日期: 2010.02.01 * ********************************************************* 这是本人近年来独自开发的一个AutoCAD修改工具集合,现与各位共享,主要包括: 1、 绘制类: 箭头、示坡线、锥坡线、剖断线、垂线、切线、等高线加密、Hatch轮廓线等; 2、 标注类: 各类引线标注(圆形、坐标、断面、里程、桥涵)、平交口标注、标注对象属性修改等; 3、 修改类: 颜色、延长、等分、偏移、定向自动拷贝、多段线顶点增删等; 4、 计算类: 文本类四则混合运算、表格化行列计算等; 5、 文字类: 上下标、合并、格式化、行距调整、交换、对齐、转属性、加括号等; 6、 表格类: 绘制表格、表格文本反输出,表格快速填写、单元格文字对齐等; 7、 文件类: 灌入文件、浏览,输出透明背景的.Wmf图元文件等; 8、 打印类: 批量打印出图. 9、 图块类: 块颜色修改、图块名称列表、图块分类统计、无名块转为有名块等; 10、布局类: 视口创建/自动分图、视口网格标注、视口比例查询/设置、视口快速操作等. 11、选择集: 快速构造选择集。 12、工程类: 缓圆缓曲线绘制、水准导线、十字丝、抛物线、铁路走行时分、紧坡定线、地面标线等; 13、工具类: 十字光标方向设置、快速自定义坐标系、自定义复杂线型等; 14、信息类: 实体DXF码列表、多段线顶点及点坐标列表、面积及曲线长度查询等; 【文件组成】 Ayunger.mnu、Ayunger.pgp、Ayunger.ini和 Ayunger.fas等文件。 【使用方法】 1. 将压缩包(*.rar)文件解压到Autocad的support目录下(强烈建议,否则Ayunger.DLL中的函数内容无法正确使用)。 【注意】: 先关闭AutoCAD再解压,否则会出现因Ayunger.DLL共享冲突产生的解压错误! 对于Windows Vista 系统,需要手动注册运行动态库, 方法: 【运行】中 regsvr32.exe AYUNGER.DLL 2. 在AutoCAD中加载Ayunger.fas文件(程序将自动加载到"启动组")。 3. 然后运行Ay命令加载ayunger.mnu,此时[AY工具]菜单会出现在AutoCAD的菜单区。 4. 安装下载更新版本后,高版本AutoCAD不能更新菜单文件(*.CUI),请用Unay命令卸载菜单,然后用AY命令重新加载菜单即可! 5. 快捷命令定义文件为: Ayunger.PGP,请按照需要修改!(自定义快捷命令丢失或修改后需重载命令: ayCMD) 6. 函数详细帮助命令为: Readme 功能菜单项: ========================================================== 一、绘图类 1.箭头: ayArw 2.铁路线(接力棒线型): ayRailway 3.示坡线: aySpx 4.锥坡线: ayZpx 5.剖断线: ayPDX,ayPDXC 6.曲线之垂线: ayPerCurve 7.曲线切线: ayTanCurve 8.导线法直线绘制: ayLL 9.坐标点/高程点文件灌入: ayPtImport 10.高程点并赋值: ayPtZ 11.多段线高程赋值: ayDGXSetH 12.利用数字型文本内容值给其文本Z坐标赋值: ayTextSetZ 13.多段线高程值显式标注: ayDGXDimH 14.等高线首曲线加粗: ayDGXWidth 15.高程插值计算标注: ayDGXCalH 16.等高线加密线: ayDGXJM,ayDGXJMTR 17.注释框(矩形/圆形): ayKKBox 18.Hatch、Solid、LWPolyline对象轮廓线: ayBHatch,ayBSolid,ayBPLine 二、标注类 1.直线标注另一法: ayDimLine 2.圆弧标注(半径/弧长): ayDimArcR,ayDimArcL 3.任意两点距离标注: ayDimDist2 4.圆形引线标注: ayCMark 5.坐标引线标注: ayCDMark 6.断面线引线标注: ayJMMark 7.里程引线标注: ayKMMark 8.桥涵引线标注: ayQHMark 9.曲线交点标注: ayMarkJDCurve 10.曲线任意点切线角标注: ayMarkTanAng 11.平交口高程样式: ayDimHigh 12.平交口平距样式: ayDimDist1,ayDimDist2 13.平交口路拱横坡: ayDimCGrade 14.平交口坡底标高计算标注: ayDimCalH 15.修改Dim对象的属性: ayDimText 16.删除Dim对象的属性: ayDimClear 三、修改类 1.Break 命令改进->单点/两点: ayBreak1,ayBreak2 2.Break 命令改进->按交点/按曲线: ayBreakSS,ayBreakC 3.Copy 命令改进->多重自动复制: ayMCopy 4.Color 命令改进->含块内对象颜色修改: ayColor 5.Divide 命令改进->多个对象一次等间隔: ayDivide 6.Extend 命令改进->指定长度延长: ayExtend 7.Measure 命令改进->多个对象一次等距离: ayMeasure 8.Offset 命令改进->一次多重偏移拷贝: ayOffset1,ayOffset2 9.Rotate 命令改进(记忆旋转角): ayRotate 10.Scale 命令改进(记忆缩放比): ayScale 11.Scale 命令改进->XY向不等比例放缩: ayScaleXY 12.将颜色不随层的改为随层: ayCLayer 13.对象拷贝到指定的层: ayLCopy 14.将指定对象层上所有实体对象删除: ayLErase 15.按对象类型名快速删除对象: ayNErase 16.将圆对象改为正多边形对象: ayC2PLine 17.修改对象的标高或Z坐标: ayZFlat 18.多段线顶点增加/删除: ayVTXadd,ayVTXdel 19.多段线顶点倒置: ayRePLine 20.ALIGN 命令改进->XY方向不等比例缩放对齐: ayAlign 21.Group 命令改进->快速分解组对象: ayXGroup 22.曲线对象转为多段线:ayCV2PLine 23.Trim 自动剪切: ayTrim 四、计算类 1.数值文本内容加/减运算: ayAdd 2.数值文本内容乘/除运算: ayMult 3.数值文本内容混合计算: ayXCal 4.数值文本内容求和: aySum 5.任意类数值文本(DIMENSION,TEXT,MTEXT,ATTDEF)求和: aySumPro 6.行/列式数值文本内容混合计算: ayJJJ 7.数值TEXT按约数取整: ayINT 五、文本处理 1.文本对齐点修改(不改变其位置): ayJT 2.文本行/列式对齐: ayALTextRC 3.文本旋转对齐: ayALText2 4.文本行距调整: ayPBText 5.单个文本平行曲线: ayALText1 6.多个文本平行曲线: ayALTextC 7.行/列式文本象合并: ayJoTextRC 8.任意文本合并: ayJoText 9.文本添加前后缀字符串: ayTextKH 10.文本数字型内容值保留位数格式化: ayTextFmt 11.里程格式化文本内容(数值型): ayKmFormat 12.反格式化里程文本内容: ayUnKmFormat 13.文本上下角标标注: ayTextJB 14.文本刷子: aySameText 15.交换两个文本的内容(文本值): aySwapText 16.原地旋转多个文本对象: ayRoText 17.文字快速移动对齐: ayMoveText1 18.文字定向移动: ayMoveTexts 19.文本(TEXT)对象的属性值修改: ayCHText 20.数字型文本对象等差多重复制: ayDCopyText 21.缩放文本(TEXT)对象的高宽比例属性: ayScText 22.文本(TEXT)对象宽度自适应: ayFitText 23.按实际需要高度书写文本(修正True字体中实际字高缺陷): ayText 24.双下划线: ayULine 25.文本外框(类型: 圆框/矩形框): ayTextBox 26.文本外框遮掩、剪切(类型: 圆框/矩形框): ayTextBoxMask 27.文本转为属性ATTDEF对象: ayText2Att 28.属性ATTDEF对象转为文本: ayAtt2Text 29.任意文本内容反输出: ayTextExport 六、表格处理 1.表格(负值表示该列后所有列宽度相同): aySheetMake 2.多行多列式文本(TEXT)录入: aySheetInput 3.表格单元格文字对齐:aySheetAlign 4.表格单文本反输出(有表格线): aySheetExport1 5.多行单文本反输出(无需表格线): aySheetExport0 七、文件类 1.读入文本文件内容,并生成文字: ayTxtImport 2.记事本模式浏览文字: ayTxtViewN 3.命令行模式浏览文字(初始化命令ayTxtViewCi): ayTxtViewC 4.输出透明背景的图元文件(*.WMF): ayWMF 5.光栅图像文件路径重新指定: ayImgPath 6.外部参照对象(图块)文件路径重新指定: ayRefPath 八、打印类 1.批量打印出图: ayBPlot 2.生成打印文件的批处理文件(*.BAT): ayPltBat 九、图块类 1.修改块内所有对象的颜色: ayBLKColor 2.图块名称列表(DWG全文件查询): ayBLKList 3.图块分类统计(DWG全文件查询): ayBLKCount 4.无名块转为有名块: ayBLKU2N 5.插入图块并新增一个附带属性: ayBLKSpecAtt 十、布局类 1.视口比例查询/设置: ayGetVPscale/aySetVPscale 2.视口快速旋转及锁定操作: ayRoDView0/ayLockMview 3.快速绘制带状图分图范围线: ayFTPLine 4.视口创建/带状图自动分图: ayAMview 5.视口视图网格绘制标注: ayPGrid 6.对齐模型空间->图纸空间: ayALignM2P 十一、选择集 1.通过参考对象DXF码快速选择集对象('SS为透明命令): SS 2.通过参考对象快速构造同层对象选择集变量,用!SS引用: aySSLayer 3.构造文本选择集变量,并返回SS变量,用!SS方法引用: aySSText 4.储存Filter过滤器选择集到变量,用!SS引用: aySSFilter 5.储存上一选择集到变量,用!SS引用: aySSp 十二、工程类 1.带缓和曲线的直线切圆(缓+圆+缓)绘制: ayHYH 2.水准点文件平面标注: ayBMMark 3.导线点文件平面标注: ayDXMark 4.手工点地面线,并生成外部文件: ayDMX 5.提取多段线地面线数据信息,并输出: ayDmxExport 6.提取横断面地面线的数据信息(桩号左侧右侧),并输出: ayHdmExport 7.手动纵断面栏信息: ayZDMRowHand 8.文件纵断面栏信息: ayZDMRowFile 9.纬地软件: 纵断面文件修改另一法(铁路模式: 坡度\坡长递推法: ayWDzdm 10.交通CAD软件: 交切线方位角及交点圆标注: ayTLdimJQ 11.抛物线y=A*xn(参数n可为任意正数): ayPWX 12.十字丝网格标注: aySZS 13.网格交点坐标标注: ayDimGridCoord 14.铁路紧坡定线: ayJPDX 15.铁路坡度折减计算: ayQXZJ 16.铁路列车走行时分计算: ayZXSF 17.交通安全设施之地面标线绘制: ayBX 18.批量角度相互转换: ayChAng 十三、工具类 1.设置鼠标滚轮放缩倍数: ZF 2.设置十字光标任意方向: CS 3.定制复杂线型: ayMakeLtype 4.AY工具自定义线型: ayLType 5.文本显示模式(仅文本/仅外框): ayQText 6.启用多义线线型生成功能: OnLT 7.用户自定义坐标系: UCS1 8.AY工具快捷名令自定义: ayPGP 十四、信息查询 1.实体对象DXF码列表: ayEntList 2.多段线顶点坐标列表: ayPLList 3.多点坐标列表: ayXYList 4.面积查询: ayAreaC,ayArea1,ayArea2 5.查询多点连线的长度和: DII 6.查询多个曲线的长度和: ayCLenSum 7.查询曲线上两点间的曲线长: ayCLen2Pt 8.查询两点间XY投影面距离: ayDistXY 9.查询三点间夹角(右角): ay3Ang ================================================================ 新增(2010-02-01): 1. 修改了坐标引线标注及部分函数的功能. 新增(2009-12-30): 1. 新增了Google Earth与AutoCAD转换助手函数(ayGEAssist). 2. 修正了任意里程查询/法线绘制函数(ayKMCX)的Bug. 新增(2009-12-22): 1. 新增了曲线上任意里程查询/法线绘制函数(ayKMCX). 2. 新增了相似变换(工程平面坐标变换)函数(ayEngCTrans). 新增(2009-11-30): 1.新增了曲线单侧法线绘制(自定点两侧等分,如:隧道锚杆)函数(aySDMG). 新增(2009-11-26): 1.新增了缓和曲线等距偏置参数计算函数(ayLs). 新增(2009-11-25): 1.新增了文本快速中外文词条互译函数(ayFanYi1). 2.新增了自助式中外文词条快速翻译器函数(ayFanYi). 新增(2009-10-01): 1. 新增了去除教育版打印戳记(依据木子CAD工具)函数(ayDelJYB). 2. 修正了批量打印函数高版本ACAD中仅打一页的现象(ayBPlot). 新增(2009-08-24): 1. 新增了图块按其插入点旋转函数(ayBLKRoTate). 新增(2009-07-15): 1. 新增了多段线删除重复节点函数(ayDelPLV). 2. 新增了多段线类型互转函数(ayLW2PLine). 新增(2009-07-01): 1. 新增了绘制距曲线最近直线函数(ayNearCurve) 2. 修改了图块属性函数的Bug 新增(2009-06-29): 1. 新增了清除/显现图块属性(Attrib)值/标记函数(ayBLKAttCls) 2. 新增了导出/导入图块属性(Attrib)值信息函数(ayBLKAttIO) 新增(2009-06-26): 1. 修改了部分函数Bug 新增(2009-06-16): 1. 新增了实体对象倾斜函数(ayQxie) 新增(2009-06-08):" 1. 修改了多段线信息查询列表函数(ayPLList) 新增(2009-04-29): 1. 新增了外挂用户表格式纯文本文件浏览器函数(ayUSERSHTView) 新增(2009-04-27): 1. 新增了线型比例快速缩放函数(ayLTScale) 2. 新增了动态智能复制函数(ayDCopy) 3. 修改了文本等差多重复制函数(ayDCopyText) 新增(2009-04-25): 1. 修改了表格式文本导入通用函数的Bug 新增(2009-04-22): 1. 修改了表格式文本导入函数,支持多页输出模式(aySheetImport) 新增(2009-04-19): 1. 修改了模型空间/布局空间通用函数Bug 新增(2009-04-17): 1. 新增自动修正字体样式名中的未知字体函数(ayST) 2. 新增为现有字体样式中缺少大字体者增加函数(ayST1) 新增(2009-04-15): 1. 新增布局视口边界提取为模型空间多段线对象函数(ayVP2MSpace) 2. 新增对象于模型空间/布局空间相互转换函数(ayChSpace) 新增(2009-04-08): 1. 新增表式纯文本数据导入并制表函数(aySheetImport) 2. 新增查询标准钢筋单位量信息函数(ayGJView) 新增(2009-04-02): 1. 新增圆或圆弧按照中心缩放函数(ayScArc) 新增(2009-04-01): 1. 新增多段线长度统计(按线型、线宽及颜色分类)函数(ayLWCount) 新增(2009-03-23): 1. 增强了修改块内所有对象的颜色函数,含嵌套块中实体(ayBLKColor) 2. 增强了修改块内所有对象指定层函数,含嵌套块中实体(ayBLKLayer) 新增(2009-03-20): 1. 新增图块彻底炸开(深层次炸开)函数(ayBLKExplode) 2. 新增绘制封闭曲线对象或选择集的边界(轮廓)线函数(ayEntBoundary) 3. 改进了部分函数的功能适用性 新增(2009-03-03): 1. 新增按字符串前缀汇总统计文本内容函数(ayTextCount) 新增(2009-03-01): 1. 新增有名块转为无名块函数(ayBLKN2U) 2. 新增将图块内所有实体对象修改至0层函数(ayBLKLayer0) 3. 修改了快速缩放函数,支持标注对象同步缩放(ayScale) 新增(2009-02-26): 1. 修改了任意曲线长度标注函数Bug (ayDimCurve) 新增(2009-02-25): 1. 新增多段线弧线段半径标注另一法函数(ayDimArcR1) 2. 新增任意曲线长度标注函数(ayDimCurve) 新增(2009-02-24): 1. 新增圆弧或多段线弧线段长度标注函数(ayDimArcL1) 2. 新增Fillet倒圆角命令改进(先选对象,再指定半径)函数(ayFillet) 新增(2009-02-23): 1. 新增绘制风玫瑰(风向标)对象函数(ayRose) 2. 新增单方向文字书写函数(ayVText) 3. 改进了对象捕捉等函数功能 新增(2009-02-18): 1、新增炸开多重块(MInsertBlock)(分解成单块)(ayMBLKExplode) 新增(2009-02-14): 1、新增实体对象显示或隐藏开关函数(ayEntDisp) 2、新增图块属性(ATTRIB)显示或隐藏开关函数(ayBlkAttDisp) 新增(2009-02-08): 1、新增钢筋梳状引线标注函数(ayGJMark) 新增(2009-01-30): 1、新增图层名称批量增加/删除前后缀函数(ayRenLayer) 2、新增图块名称批量增加/删除前后缀函数(ayBlkRename) 新增(2009-01-22): 1、新增外部参照对象(BlockReference)引用路径重新指定函数(ayRefPath) 新增(2009-01-15): 1、新增地面线数据更改转换函数(ayDmxDataChg) 新增(2009-01-13): 1、新增纬地铁路选线(董明才)数据换函数(ayDataWDTL) 新增(2009-01-10): 1、新增光栅图像(Image)引用路径重新指定函数(ayImgPath) 新增(2009-01-06): 1、新增铁路选线软件平曲线数据(.QX)与 纬地软件交点数据(.JDW)互相转换函数(ayTL2WDPM) 新增(2009-01-03): 1、修改了对象包围框函数(原WCS改为UCS)(ayEntBox). 2、改进了批量打印函数(支持矩形框打印模式,并将WCS下改为UCS下)(ayBPlot). 新增(2008-12-26): 1、改进了关于、更新历史显示函数. 2、修改了批量打印函数Bug. 新增(2008-12-17): 1、新增AY工具启动显示画面、关于及历史记录对话框. 新增(2008-12-09): 1、新增删除空内容文字对象函数(ayETextDel) 2、新增了Offset命令偏移至当前层函数(OF) 3、改进了单边偏移对象函数(ayOffset1) 新增(2008-12-05): 1、新增曲线与选择集曲线交点坐标标注或块标识(ayMarkJDCurve1) 2、修正了纵断面地面线切取等高线提取函数系统引起的误差. 3、修正了横断面地面线切取等高线提取函数的Bug 4、改进了aySS及ayayMarkJDCurve函数. 新增(2008-12-03): 1、新增纵断面地面线切取等高线提取函数(ayZdmDmxDGX) 2、新增纵断面地面线绘制函数(ayZdmDmxDraw) 3、改进了手动点地面线函数(ayZdmDmxHand). 3、改进了横断面地面线切取等高线提取函数(ayHdmDmxDGX) 新增(2008-11-26): 1、新增横断面地面线切取等高线提取函数(ayHdmDmxDGX) 2、新增绘制横断面地面线及辅助设计网格函数(ayHdmDmxDraw) 3、新增任意方向矩形绘制(grread动态显示)函数(ay3Box) 4、修改了定向多重复制函数功能(ayMCopy) 5、修改了整个菜单组织构架及部分命令名称 新增(2008-11-12): 1、新增纬地软件对象属性清除函数(ayWDClsMak) 2、修改了多段线节点坐标信息输出函数(ayPLList) 新增(2008-11-06): 1、增加了纵横坡场区高程点线性插值法计算标注函数(ayDimCQGC) 新增(2008-11-05): 1、增加了复制并旋转函数(ayRCopy). 2、增加了自动生成打印文件(*.PLT)的批处理文件(*.Bat) 函数 新增(2008-10-29): 1、修改了局部快捷键定义. 2、修改了部分功能及相关操作函数. 新增(2008-10-08): 1、修改了点坐标列表函数中坐标输出到屏幕的重叠问题. 2、修改了程序中的笔误Buger. 新增(2008-09-29): 1、修改了点坐标列表和多点连线长度查询函数,增加了可撤销(U). 新增(2008-09-26): 1、重写了批量打印函数(模式 矩阵式或图框图块式)(ayBPlot). 新增(2008-09-03): 1、新增自动剪切函数(ayTrim). 2、新增将快捷命令追加到菜单文件的帮助信息行中函数(ayPGPIntoMNU). 3、修改相关函数的Bug. 新增(2008-07-20): 1、新增宽多段线显示模式函数(ayFill). 2、新增Pedit多条多段线模糊连接简化函数(PeM) 3、新增绘制宽线对象(Trace)的轮廓线函数(ayBTrace). 4、新增绘制对象包围框(圆形/矩形)函数(ayEntBox). 5、新增输出图块插入点坐标函数(ayBlkInsCoords). 新增(2008-06-16): 1、扩展了ayAmview函数自动分图功能. 新增(2008-06-07): 1、扩展了ayCV2Pline函数功能. 2、修改了部分函数的命令规则及Bug. 新增(2008-06-03): 1、解决了AY工具快捷键自动加载问题. 2、修改了通过菜单透明调用CC及SS命令的方式. 新增(2008-06-01): 1、曲线对象转为多段线[ayCV2PLine] 2、文本框遮掩/剪切(圆形/矩形)[ayTextBoxMask] 3、获取参考坐标点[CC]('CC为透明方式) 新增(2008-05-27): 1、扩展修改文字内容刷子为文字刷子[aySameText] 新增(2008-05-15): 1、新增单边不等距偏移函数[ayOffset1M]. 2、改进了双边偏移曲线函数[ayOffset2]. 新增(2008-04-28): 1、新增批量角度数据互相转换函数[ayChAng]. 新增(2008-04-24): 1、新增〖纬地〗软件里程标注函数. 2、改进了PLList等函数的功能及操作. 3、修改了部分函数的Bug. 新增(2008-04-15): 1、修改了整个AY_Tool的命令规则. 2、新增文本快速移动对齐函数. 3、新增组对象(Group)快速分解函数. 4、改进了相关函数的功能及操作. 新增(2008-04-11): 1、新增表格单元格文字对齐函数. 新增(2008-04-08): 1、新增高程数据文件展点标注函数. 2、新增圆弧长度标注函数. 3、通过参考对象DXF码快速选择集对象('SS为透明命令)函数. 4、颜色修改命令改进(含块内对象颜色修改)函数. 5、修改块内所有对象的颜色函数. 6、改进了相关函数的功能及操作. 新增(2008-03-08): 1、增加了文字定向移动函数. 2、增加了按对象类型名快速删除对象函数. ========================================================== 有问题请: QQ:420304230 Email: AyungerStudio@163.com 【新开通了网络U盘,有更多的源码开放】 http://ayungerstudio.ys168.com
Platform: | Size: 2050142 | Author: ayungerstudio | Hits:

[PHP商家点评插件有地图版插件for UCHome 1.5

Description: 将文件拷贝到UCH安装目录(不会覆盖任何UCH文件). 其中config.shop.inc.php文件需要有写权限(linux). 运行shop_install.php 打开shop.php文件。将 $_SC['GoogleAPI']='ABQIAAAAIl6BzjiDCz90JrLDCFco6xRsRMjB2wv1Y7bZb-CPY4a_zZ8tAhQljtAew1TctFXLCYxRjkaGoD8jzA';替换成您的Google KYE。如您在本地调试,可以直接用以上KEY。如您还没有google KEY 请到 http://code.google.com/intl/zh-CN/apis/maps/signup.html 免费申请! 地图显示您想要的地方的方法: 首先打开Google地图,在上面寻找一个地址,然后上下左右移动地图,让这个地址正好处于地图的正中心位置,当您想寻找坐标位置已经处于地图的中心位置的时候,拷贝并粘贴以下代码到你的浏览器地址栏:   javascript:void(prompt('',gApplication.getMap().getCenter())); 然后回车一下。这时,你将得到一个弹出式的坐标,这个坐标就是你需要找的经度和纬度。 1 在admincp.php: 第一处: $acs = array( array('index','config','privacy', 'spam', 'network', 'usergroup', 'credit', 'profilefield', 'profield', 'ad', 'sitefeed', 'userapp', 'app'), array('tag', 'mtag', 'space', 'name', 'report'), array('cache', 'task', 'censor', 'stat', 'block', 'cron'), array('blog','album', 'pic', 'comment', 'thread', 'post', 'doing', 'feed', 'share') ); 修改成(最后一行array('base','pingdao','neirong','shop','reviews','shoptags')为增加的。同时记得在上一行'share')后加个逗号 ) $acs = array( array('index','config', 'privacy', 'spam', 'network', 'usergroup', 'credit', 'profilefield', 'profield', 'ad', 'sitefeed', 'userapp', 'app'), array('tag', 'mtag', 'space', 'name', 'report'), array('cache', 'task', 'censor', 'stat', 'block', 'cron'), array('blog', 'album', 'pic', 'comment', 'thread', 'post', 'doing', 'feed', 'share'), array('base','pingdao','neirong','shop','reviews','shoptags') ); 第二处: for($i=0; $i<5; $i++) {//由原来的3改成现在的5,其他不用修改 foreach ($acs[$i] as $value) { if($isfounder || $megroup['manage'.$value]) { $menus[$i][$value] = 1; $_SGLOBAL['usergroup'][$_SGLOBAL['member']['groupid']]['manage'.$value] = 1; } } } 第三处: if(empty($_GET['ac']) || (!in_array($_GET['ac'], $acs[0]) && !in_array($_GET['ac'], $acs[1]) && !in_array($_GET['ac'], $acs[2]) && !in_array($_GET['ac'], $acs[3]) && !in_array($_GET['ac'], $acs[4]) && !in_array($_GET['ac'], $acs[5]))) { //加上 && !in_array($_GET['ac'], $acs[4] && !in_array($_GET['ac'], $acs[5]),注意修改完后$acs[5]后面应有三个 ) 符号 3 admin/tp/header.htm: <!--{eval $_TPL['menunames'] = array( 'config' => '站点设置', 后加上: 'base' => '积分与审核', 'pingdao' => '频道设置', 'shoptags' => '标签管理', 'shop' => '商铺管理', 'neirong' => '点评内容', 'reviews' => '回应内容', 4 admin/tpl/side.htm开始处加入: <!--{if $menus[3]}--> <div class="block style1"> <h2>点评系统</h2> <ul class="folder"> <!--{loop $acs[4] $value}--> <!--{if $menus[4][$value]}--> <!--{if $ac==$value}--><li class="active"><!--{else}--><li><!--{/if}--><a href="admincp.php?ac=$value">{$_TPL[menunames][$value]}</a></li> <!--{/if}--> <!--{/loop}--> </ul> </div> <!--{/if}--> 5 在侧栏增加链接。 template/default/header.htm中找到 <li><img src="image/app/share.gif"><a href="space.php?do=share">分享</a></li> 加上 <li><img src="image/icon/shop.gif"><a href="shop.php">商家点评</a><em><a href="shop.php?ac=new">发布</a></em></li> 更新缓存。 如果安装后出现白屏现象,请重新检查所安装文件是否有语法错误。然后通过删除UCH安装目录下的data/tpl_cache/目录下的文件,此功能相当于更新缓存。 运行shopinstall.php 在header.htm相应的位置加上<li><img src="image/icon/shop.gif" alt="通讯录" /><a href="shop.php">通讯录</a></li> admin/tpl/config.htm 找到<tr> <th>未认证实名权限</th> <td> <table> <tr> <td width="120">允许加好友</td> <td> <input type="radio" name="config[name_allowfriend]" value="1"<!--{if $configs[name_allowfriend] == 1}--> checked<!--{/if}-->>是 <input type="radio" name="config[name_allowfriend]" value="0"<!--{if $configs[name_allowfriend] != '1'}--> checked<!--{/if}-->>否 </td></tr> 在其下面添加 <tr> <td width="120">允许商铺点评</td> <td> <input type="radio" name="config[name_allowshop]" value="1"<!--{if $configs[name_allowshop] == 1}--> checked<!--{/if}-->>是 <input type="radio" name="config[name_allowshop]" value="0"<!--{if $configs[name_allowshop] != '1'}--> checked<!--{/if}-->>否 </td></tr>
Platform: | Size: 111029 | Author: tianfuo@sina.com | Hits:

[Windows DevelopSenfore_DragDrop_v4.1

Description: Drag and Drop Component Suite Version 4.1 Field test 5, released 16-dec-2001 ?1997-2001 Angus Johnson & Anders Melander http://www.melander.dk/delphi/dragdrop/ ------------------------------------------- Table of Contents: ------------------------------------------- 1. Supported platforms 2. Installation 3. Getting started 4. Known problems 5. Support and feedback 6. Bug reports 7. Upgrades and bug fixes 8. Missing in this release 9. New in version 4.x 10. TODO 11. Licence, Copyright and Disclaimer 12. Release history ------------------------------------------- 1. Supported platforms: ------------------------------------------- This release supports Delphi 4-6 and C++ Builder 4-5. Earlier versions of Delphi and C++ Builder will not be supported. If you need Delphi 3 or C++ Builder 3 support you will have to revert to version 3.7 of the Drag and Drop Component Suite. The library has been tested on NT4 service pack 5 and Windows 2000. Windows 95, 98, ME and XP should be supported, but has not been tested. Linux and Kylix are not supported. There are *NO* plans to port the library to Kylix. The drag and drop protocols available on Linux are too much of a mess at this time. ------------------------------------------- 2. Installation: ------------------------------------------- 1) Before you do anything else, read the "Known problems" section of this document. 2) Install the source into a directory of your choice. The files are installed into three directories: DragDrop DragDrop\Components DragDrop\Demo 3) Install and compile the appropriate design time package. The design time packages are located in the Components directory. Each version of Delphi and C++ Builder has its own package; DragDropD6.dpk for Delphi 6, DragDropD5.dpk for Delphi 5, DragDropC5.bpk for C++ Builder 5, etc. 4) Add the Drag and Drop Component Suite components directory to your library path. 5) Load the demo project group: demo\dragdrop_delphi.bpg for Delphi 5 and 6 demo\dragdrop_bcb4.bpg for C++ Builder 4 demo\dragdrop_bcb5.bpg for C++ Builder 5 The project group contains all the demo applications. 6) If your version of Delphi does not support text format DFM files (e.g. Delphi 4 doesn't), you will have to use the convert.exe utility supplied with Delphi to convert all the demo form files to binary format. A batch file, convert_forms_to delphi_4_format.bat, is supplied in the demo directory which automates the conversion process. The C++ Builder demo forms are distributed in binary format. 7) If upgrading from a previous version of the Drag and Drop Component Suite, please read the document "upgrading_to_v4.txt" before you begin working on your existing projects. Note about "Property does not exist" errors: Since all demos were developed with the latest version of Delphi, most of the demo forms probably contains references to properties that doesn't exist in earlier versions of Delphi and C++ Builder. Because of this you will get fatal run-time errors (e.g. "Error reading blahblahblah: Property does not exist.") if you attemt to run the demos without fixing this problem. Luckily it is very easy to make the forms work again; Just open the forms in the IDE, then select "Ignore All" when the IDE complains that this or that property doesn't exist and finally save the forms. ------------------------------------------- 3. Getting started: ------------------------------------------- It is recommended that you start by running each of the demo applications and then look through the demo source. Each demo application is supplied with a readme.txt file which briefly describes what the demo does and what features it uses. The demos should be run in the order in which they are listed in the supplied project group. Even if you have used previous versions of the Drag and Drop Component Suite it would be a good idea to have a quick look at the demos. The library has been completely rewritten and a lot of new features has been added. ------------------------------------------- 4. Known problems: ------------------------------------------- * The Shell Extension components does not support C++ Builder 4. For some strange reason the components causes a link error. * There appear to be sporadic problems compiling with C++ Builder 5. Several user have reported that they occasionally get one or more of the following compiler errors: [C++ Error] DragDropFile.hpp(178): E2450 Undefined structure '_FILEDESCRIPTORW' [C++ Error] DropSource.hpp(135): E2076 Overloadable operator expected I have not been able to reproduce these errors, but I believe the following work around will fix the problem: In the project options of *all* projects which uses these components, add the following conditional define: NO_WIN32_LEAN_AND_MEAN The define *must* be made in the project options. It is not sufficient to #define it in the source. If you manage to compile with C++ Builder (any version), I would very much like to know about it. * Delphi's and C++ Builder's HWND and THandle types are not compatible. For this reason it might be nescessary to cast C++ Builder's HWND values to Delphi's THandle type when a HWND is passed to a function. E.g.: if (DragDetectPlus(THandle(MyControl->Handle), Point(X, Y))) { ... } * Virtual File Stream formats can only be pasted from the clipboard with live data (i.e. FlushClipboard/OleFlushClipboard hasn't been called on the data source). This problem affects TFileContentsStreamOnDemandClipboardFormat and the VirtualFileStream demo. This is believed to be a bug in the Windows clipboard and a work around hasn't been found yet. * Asynchronous targets appears to be broken in the current release. * When TDropFileTarget.GetDataOnEnter is set to True, the component doesn't work with WinZip. Although the file names are received correctly by TDropFileTarget, WinZip doesn't extract the files and the files thus can't be copied/moved. This is caused by a quirk in WinZip; Apparently WinZip doesn't like IDataObject.GetData to be called before IDropTarget.Drop is called. ------------------------------------------- 5. Support and feedback: ------------------------------------------- Since these components are freeware they are also unsupported. You are welcome to ask for help via email, but I cannot guarantee that I will have time to help you or even reply to your mail. If you absolytely can't live without my help, you can alway try bribing me. You can also try asking for help in the Delphi newsgroups. Since the Drag and Drop Component Suite is in widespread use, there's a good chance another user can help you. I recommend the following newsgroups for issues regarding this library (or COM based Drag/Drop in general): borland.public.delphi.winapi borland.public.delphi.thirdparty-tools borland.public.delphi.oleautomation borland.public.cppbuilder.winapi borland.public.cppbuilder.thirdparty-tools Please choose the most appropiate newsgroup for your question. Do not cross post to them all. Before posting to the newsgroups, I suggest you try to search for an answer on the Google (DejaNews) search engine: http://groups.google.com Chances are that your question has been asked and answered before. If you have suggestions for improvements please mail them to me: anders@melander.dk Please include the words "Drag Drop" in the subject of any email regarding these components. ------------------------------------------- 6. Bug reports: ------------------------------------------- Bugs can either be reported at my home page (http://www.melander.dk/) or mailed directly to me: anders@melander.dk. When reporting a bug, please provide the following information: * The exact version of the Drag and Drop Component Suite you are using. * The exact version of Delphi or C++ Builder you are using. * The name and exact version of your operating system (e.g. NT4 SP5). * The exact version of the Internet Explorer installed on your system. If you can provide me with a minimal application which reproduces the problem, I can almost guarantee that I will be able to fix the problem in very short time. Please supply only the source files (pas, dfm, dpr, dof, res, etc.) and mail them as a single zip file. If I need a compiled version I will ask for it. If you feel you need to send me a screen shot, please send it in GIF or PNG format. If you mail a bug report to me, please include the words "Drag Drop" in the subject of your email. ------------------------------------------- 7. Upgrades and bug fixes: ------------------------------------------- Upgrades can be downloaded from my home page: http://www.melander.dk/delphi/dragdrop/ Bug fixes will also be posted to the above page. If you have registered for update notification via the installation program, you will receive email notification when a new release is available. You will not be notified of bug fixes. You can use the installation program to check for and download new releases and to check for known bugs. Note: If a new release is made available and you are not notified even though you registered for notification, you probably mistyped your email address during installation; About 10% of all registrations supply an invalid email address. ------------------------------------------- 8. Missing in this release: ------------------------------------------- * On-line help has not been updated and included in the kit due to late changes in the Delphi 6 help system and lack of time. If time permits, I will update the help and include it in a future release. ------------------------------------------- 9. New in version 4.x: ------------------------------------------- * Completely redesigned and rewritten. Previous versions of the Drag and Drop Component Suite used a very monolithic design and flat class hierachy which made it a bit cumbersome to extend the existing components or implement new ones. Version 4 is a complete rewrite and redesign, but still maintains compatibility with previous versions. The new V4 design basically separates the library into three layers: 1) Clipboard format I/O. 2) Data format conversion and storage. 3) COM Drag/Drop implementation and VCL component interface. The clipboard format layer is responsible for reading and writing data in different formats to and from an IDataObject interface. For each different clipboard format version 4 implements a specialized class which knows exactly how to interpret the clipboard format. For example the CF_TEXT (plain text) clipboard format is handled by the TTextClipboardFormat class and the CF_FILE (file names) clipboard format is handled by the TFileClipboardFormat class. The data format layer is primarily used to render the different clipboard formats to and from native Delphi data types. For example the TTextDataFormat class represents all text based clipboard formats (e.g. TTextClipboardFormat) as a string while the TFileDataFormat class represents a list of file names (e.g. TFileClipboardFormat) as a string list. The conversion between different data- and clipboard formats is handled by the same Assign/AssignTo mechanism as the VCLs TPersistent employes. This makes it possible to extend existing data formats with support for new clipboard formats without modification to the existing classes. The drag/drop component layer has several tasks; It implements the actual COM drag/drop functionality (i.e. it implements the IDropSource, IDropTarget and IDataObject interfaces (along with several other related interfaces)), it surfaces the data provided by the data format layer as component properties and it handles the interaction between the whole drag/drop framework and the users code. The suite provides a multitude of different components. Most are specialized for different drag/drop tasks (e.g. the TDropFileTarget and TDropFilesSource components for drag/drop of files), but some are either more generic, handling multiple unrelated formats, or simply helper components which are used to extend the existing components or build new ones. * Support for Delphi 6. Version 4.0 was primarily developed on Delphi 6 and then ported back to previous versions of Delphi and C++ Builder. * Support for Windows 2000 inter application drag images. On Windows platforms which supports it, drag images are now displayed when dragging between applications. Currently only Windows 2000 supports this feature. On platforms which doesn't support the feature, drag images are only displayed whithin the source application. * Support for Windows 2000 asynchronous data transfers. Asynchronous data tranfers allows the drop source and targets to perform slow transfers or to transfer large amounts of data without blocking the user interface while the data is being transfered. For platforms other than Windows 2000, the new TDropSourceThread class can be used to provide similar (but more limited) asynchronous data transfer capabilities. * Support for optimized and non-optimized move. When performing drag-move operations, it is now possible to specify if the target (optimized move) or the source (non-optimized move) is responsible for deleting the source files. * Support for delete-on-paste. When data is cut to the clipboard, it is now possible to defer the deletion of the source data until the target actually pastes the data. The source is notified by an event when the target pastes the data. * Extended clipboard support. All formats and components (both source and target) now support clipboard operations (copy/cut/paste) and the VCL clipboard object. * Support for shell drop handlers. The new TDropHandler component can be used to write drop handler shell extensions. A drop handler is a shell extension which is executed when a user drags and drops one or more files on a file associated wth your application. * Support for shell drag drop handlers. The new TDragDropHandler component can be used to write drag drop handler shell extensions. A drag drop handler is a shell extension which can extend the popup menu which is displayed when a user drag and drops files with the right mouse button. * Support for shell context menu handlers. The new TDropContextMenu component can be used to write context menu handler shell extensions. A context menu handler is a shell extension which can extend the popup menu which is displayed when a user right-clicks a file in the shell. * Drop sources can receive data from drop targets. It is now possible for drop targets to write data back to the drop source. This is used to support optimized-move, delete-on-paste and inter application drag images. * Automatic re-registration of targets when the target window handle is recreated. In previous versions, target controls would loose their ability to accept drops when their window handles were recreated by the VCL (e.g. when changing the border style or docking a form). This is no longer a problem. * Support for run-time definition of custom data formats. You can now add support for new clipboard formats without custom components. * Support for design-time extension of existing source and target components. Using the new TDataFormatAdapter component it is now possible to mix and match data formats and source and target components at design time. E.g. the TDropFileTarget component can be extended with URL support. * It is now possible to completely customize the target auto-scroll feature. Auto scroling can now be completely customized via the OnDragEnter, OnDragOver, OnGetDropEffect and OnScroll events and the public NoScrollZone and published AutoScroll properties. * Multiple target controls per drop target component. In previous versions you had to use one drop target component per target control. With version 4, each drop target component can handle any number of target controls. * It is now possible to specify the target control at design time. A published Target property has been added to the drop target components. * Includes 20 components: - TDropFileSource and TDropFileTarget Used for drag and drop of files. Supports recycle bin and PIDLs. - TDropTextSource and TDropTextTarget Used for drag and drop of text. - TDropBMPSource and TDropBMPTarget Used for drag and drop of bitmaps. - TDropPIDLSource and TDropPIDLTarget Used for drag and drop of PIDLs in native format. - TDropURLSource and TDropURLTarget Used for drag and drop of internet shortcuts. - TDropDummyTarget Used to provide drag/drop cursor feedback for controls which aren't registered as drop targets. - TDropComboTarget (new) Swiss-army-knife target. Accepts text, files, bitmaps, meta files, URLs and file contents. - TDropMetaFileTarget (new) Target which can accept meta files and enhanced meta files. - TDropImageTarget (new) Target which can accept bitmaps, DIBs, meta files and enhanced meta files. - TDragDropHandler (new) Used to implement Drag Drop Handler shell extensions. - TDropHandler (new) Used to implement Shell Drop Handler shell extensions. - TDragDropContext (new) Used to implement Shell Context Menu Handler shell extensions. - TDataFormatAdapter (new) Extends the standard source and target components with support for extra data formats. An alternative to TDropComboTarget. - TDropEmptySource and TDropEmptyTarget (new) Target and source components which doesn't support any formats, but can be extended with TDataFormatAdapter components. * Supports 27 standard clipboard formats: Text formats: - CF_TEXT (plain text) - CF_UNICODETEXT (Unicode text) - CF_OEMTEXT (Text in the OEM characterset) - CF_LOCALE (Locale specification) - 'Rich Text Format' (RTF text) - 'CSV' (Tabular spreadsheet text) File formats: - CF_HDROP (list of file names) - CF_FILEGROUPDESCRIPTOR, CF_FILEGROUPDESCRIPTORW and CF_FILECONTENTS (list of files and their attributes and content). - 'Shell IDList Array' (PIDLs) - 'FileName' and 'FileNameW' (single filename, used for 16 bit compatibility). - 'FileNameMap' and 'FileNameMapW' (used to rename files, usually when dragging from the recycle bin) Image formats: - CF_BITMAP (Windows bitmap) - CF_DIB (Device Independant Bitmap) - CF_METAFILEPICT (Windows MetaFile) - CF_ENHMETAFILE (Enhanced Metafile) - CF_PALETTE (Bitmap palette) Internet formats: - 'UniformResourceLocator' and 'UniformResourceLocatorW' (Internet shortcut) - 'Netscape Bookmark' (Netscape bookmark/URL) - 'Netscape Image Format' (Netscape image/URL) - '+//ISBN 1-887687-00-9::versit::PDI//vCard' (V-Card) - 'HTML Format' (HTML text) - 'Internet Message (rfc822/rfc1522)' (E-mail message in RFC822 format) Misc. formats: - CF_PREFERREDDROPEFFECT and CF_PASTESUCCEEDED (mostly used by clipboard) - CF_PERFORMEDDROPEFFECT and CF_LOGICALPERFORMEDDROPEFFECT (mostly used for optimized-move) - 'InShellDragLoop' (used by Windows shell) - 'TargetCLSID' (Mostly used when dragging to recycle-bin) * New source events: - OnGetData: Fired when the target requests data. - OnSetData: Fired when the target writes data back to the source. - OnPaste: Fired when the target pastes data which the source has placed on the clipboard. - OnAfterDrop: Fired after the drag/drop operation has completed. * New target events: - OnScroll: Fires when the target component is about to perform auto-scroll on the target control. - OnAcceptFormat: Fires when the target component needs to determine if it will accept a given data format. Only surfaced in the TDropComboTarget component. * 8 new demo applications, 19 in total. ------------------------------------------- 10. TODO (may or may not be implemented): ------------------------------------------- * Async target demo (with and without IAsyncOperation support). * Scrap file demo. * Native Outlook message format. * Structured storage support (IStorage encapsulation). ------------------------------------------- 11. Licence, Copyright and Disclaimer: ------------------------------------------- The Drag and Drop Component Suite is Copyright ?1997-2001 Angus Johnson and Anders Melander. All rights reserved. The software is copyrighted as noted above. It may be freely copied, modified, and redistributed, provided that the copyright notice(s) is preserved on all copies. The Drag and Drop Component Suite is freeware and we would like it to remain so. This means that it may not be bundled with commercial libraries or sold as shareware. You are welcome to use it in commercial and shareware applications providing you do not charge for the functionality provided by the Drag and Drop Component Suite. There is no warranty or other guarantee of fitness for this software, it is provided solely "as is". You are welcome to use the source to make your own modified components, and such modified components may be distributed by you or others if you include credits to the original components, and do not charge anything for your modified components. ------------------------------------------- 12. Version 4 release history: ------------------------------------------- 16-dec-2001 * Ported to C++ Builder 4. * Released for test as v4.1 FT5. 12-dec-2001 * Fixed C++ Builder name clash between TDropComboTarget.GetMetaFile and the GetMetaFile #define in wingdi.h 1-dec-2001 * The IAsyncOperation interface is now also declared as IAsyncOperation2 and all references to IAsyncOperation has been replaced with IAsyncOperation2. This was done to work around a bug in C++ Builder. Thanks to Jonathan Arnold for all his help with getting the components to work with C++ Builder. Without Jonathan's help version 4.1 would prabably have shipped witout C++ Builder support and certainly without any C++ Builder demos. * Demo applications for C++ Builder. The C++ Builder demos were contributed by Jonathan Arnold. 27-nov-2001 * TCustomDropTarget.Droptypes property renamed to DropTypes (notice the case). Thanks to Krystian Brazulewicz for spotting this. 24-nov-2001 * The GetURLFromString function in the DragDropInternet unit has been made public due to user request. 21-nov-2001 * Modified MakeHTML function to comply with Microsoft's description of the CF_HTML clipboard format. * Added MakeTextFromHTML function to convert CF_HTML data to plain HTML. Provides the reverse functionality of MakeHTML. * Added HTML support to TTextDataFormat class and TDropTextSource and TDropTextTarget components. * Fixed C++ Builder 5 problem with IAsyncOperation. * Released for test as v4.1 FT4. 10-nov-2001 * Added NetscapeDemo demo application. Demonstrates how to receive messages dropped from Netscape. This demo was sponsored by ThoughtShare Communications Inc. * Released for test as v4.1 FT3. 23-oct-2001 * Conversion priority of TURLDataFormat has been changed to give the File Group Descritor formats priority over the Internet Shortcut format. This resolves a problem where dropping an URL on the desktop would cause the desktop to assume that an Active Desktop item was to be created instead of an Internet Shortcut. Thanks to Allen Martin for reporting this problem. By luck this modification also happens to work around a bug in Mozilla and Netscape 6; Mozilla incorrectly supplies the UniformResourceLocator clipboard format in unicode format instead of ANSI format. Thanks to Florian Kusche for reporting this problem. * Added support for TFileGroupDescritorWClipboardFormat to TURLDataFormat. * Added declaration of FD_PROGRESSUI to DragDropFormats. * Added TURLWClipboardFormat which implements the "UniformResourceLocatorW" (a.k.a. CFSTR_INETURLW) clipboard format. Basically a Unicode version of CFSTR_SHELLURL/CFSTR_INETURL. The TURLWClipboardFormat class isn't used anywhere yet but will probably be supported by TURLDataFormat (and thus TDropURLTarget/TDropURLSource) in a later release. * Added experimental Shell Drag Image support. This relies on undodumented shell32.dll functions and probably won't be fully support before v4.2 (if ever). See InitShellDragImage in DropSource.pas. Thanks to Jim Kueneman for bringning these functions to my attention. 13-oct-2001 * TCustomDropSource.Destroy and TCustomDropMultiSource.Destroy changed to call FlushClipboard instead of EmptyClipboard. This means that clipboard contents will be preserved when the source application/component is terminated. * Added clipboard support to VirtualFileStream demo. * Modified VirtualFileStream demo to work around clipboard quirk with IStream medium. * Modified TCustomSimpleClipboardFormat to disable TYMED_ISTORAGE support by default. At present TYMED_ISTORAGE is only supported for drop targets and enabling it by default in TCustomSimpleClipboardFormat.Create caused a lot of clipboard operations (e.g. copy/paste of text) to fail. Thanks to Michael J Marshall for bringing this problem to my attention. * Modified TCustomSimpleClipboardFormat to read from the the TYMED_ISTREAM medium in small (1Mb) chunks and via a global memory buffer. This has resultet in a huge performance gain (several orders of magnitude) when transferring large amounts of data via the TYMED_ISTREAM medium. 3-oct-2001 * Fixed bug in TCustomDropSource.SetImageIndex. Thanks to Maxim Abramovich for spotting this. * Added missing default property values to TCustomDropSource. Thanks to Maxim Abramovich for spotting this. * DragDrop.pas and DragDropContext.pas updated for Delphi 4. * Reimplemented utility to convert DFM form files from Delphi 5/6 test format to Delphi 4/5 binary format. * Improved unregistration of Shell Extensions. Shell extension now completely (and safely) remove their registry entries when unregistered. * Deprecated support for C++ Builder 3. * Released for test as v4.1 FT2. 25-sep-2001 * Rewritten ContextMenuHandlerShellExt demo. The demo is now actually a quite useful utility which can be used to register and unregister ActiveX controls, COM servers and type libraries. It includes the same functionality as Borland's TRegSvr utility. 20-sep-2001 * Added support for cascading menus, ownerdraw and menu bitmaps to TDropContextMenu component. * Modified TFileContentsStreamOnDemandClipboardFormat to handle invalid parameter value (FormatEtcIn.lindex) when data is copied to clipboard. This works around an apparent bug in the Windows clipboard. Thanks to Steve Moss for reporting this problem. * Modified TEnumFormatEtc class to not enumerate empty clipboard formats. Thanks to Steve Moss for this improvement. 1-sep-2001 * Introduced TCustomDropTarget.AutoRegister property. The AutoRegister property is used to control if drop target controls should be automatically unregistered and reregistered when their window handle is recreated by the VCL. If AutoRegister is True, which is the default, then automatic reregistration will be performed. This property was introduced because the hidden child control, which is used to monitor the drop target control's window handle, can have unwanted side effects on the drop target control (e.g. TToolBar). * Deprecated support for Delphi 3. 22-jun-2001 * Redesigned TTextDataFormat to handle RTF, Unicode, CSV and OEM text without conversion. Moved TTextDataFormat class to DragDropText unit. Added support for TLocaleClipboardFormat. * Surfaced new text formats as properties in TDropTextSource and TDropTextTarget. Previous versions of the Text source and target components represented all supported text formats via the Text property. In order to enable users to handle the different text formats independantly, the text source and target components now has individual properties for ANSI, OEM, Unicode and RTF text formats. The text target component can automatically synthesize some of the formats from the others (e.g. OEM text from ANSI text), but applications which previously relied on all formats being represented by the Text property will have to be modified to handle the new properties. * Added work around for problem where TToolBar as a drop target would display the invisible target proxy window. * Fixed wide string bug in WriteFilesToZeroList. Thanks to Werner Lehmann for spotting this. 15-jun-2001 * Added work-around for Outlook Express IDataObject.QueryGetData quirk. 3-jun-2001 * Ported to C++ Builder 4 and 5. * Added missing DragDropDesign.pas unit to design time packages. * First attempt at C++ Builder 3 port.... failed. * Improved handling of oversized File Group Descriptor data. * Added support for IStorage medium to TFileContentsStreamClipboardFormat. This allows the TDropComboTarget component to accept messages dropped from Microsoft Outlook. This work was sponsored by ThoughtShare Communications Inc. 23-may-2001 * Ported to Delphi 4. * First attempt at C++ Builder 5 port.... failed. 18-may-2001 * Released as version 4.0. Note: Version 4.0 was released exclusively on the Delphi 6 Companion CD. * ContextMenuDemo and DropHandlerDemo application has been partially rewritten and renamed. ContextMenuDemo is now named ContextMenuHandlerShellExt. DropHandlerDemo is now named DropHandlerShellExt. * TDropContextMenu component has been rewitten. The TDropContextMenu now implements a context menu handler shell extension. In previous releases it implemented a drag drop handler shell extension. * The DragDropHandler.pas unit which implements the TDropHandler component has been renamed to DropHandler.pas. * Added new TDragDropHandler component. The new component, which lives in the DragDropHandler unit, is used to implement drag drop handler shell extensions. * Added DragDropHandlerShellExt demo application. * Removed misc incomplete demos from kit. * Fixed minor problem in VirtualFileStream demo which caused drops from the VirtualFile demo not to transfer content correctly. 11-may-2001 * Converted all demo forms to text DFM format. This has been nescessary to maintain compatibility between all supported versions of Delphi. * Fixed a bug in GetPIDLsFromFilenames which caused drag-link of files (dtLink with TDropFileSource) not to work. * Added readme.txt files to some demo applications. * Added missing tlb and C++ Builder files to install kit. * Released as FT4. 6-may-2001 * Added missing dfm files to install kit. * Tested with Delphi 5. Fixed Delphi 5 compatibility error in main.dfm of DragDropDemo. * Removed misc compiler warnings. * The AsyncTransferTarget and OleObjectDemo demos were incomplete and has been removed from the kit for the V4.0 release. The demos will be included in a future release. * Released as FT3. 3-may-2001 * Added missing dpr and bpg files to install kit. * Updated readme.txt with regard to lack of C++ Builder demos. * Released as FT2. 29-apr-2001 * Cleaned up for release. * Released as FT1. 23-feb-2001 * Modified TCustomDropTarget.FindTarget to handle overlapping targets (e.g. different targets at the same position but on different pages of a page control or notebook). Thanks to Roger Moe for spotting this problem. 13-feb-2001 * Renamed AsyncTransfer2 demo to AsyncTransferSource. * Added AsyncTransferTarget demo. * Replaced TChart in AsyncTransfer2 demo with homegrown pie-chart-thing. * Modified all IStream based target formats to support incremental transfer. * URW533 problem has finally been fixed. The cause of the problem, which is a bug in Delphi, was found by Stefan Hoffmeister. * Fixed free notification for TDropContextmenu and TDataFormatAdapter. 27-dec-2000 * Moved TVirtualFileStreamDataFormat and TFileContentsStreamOnDemandClipboardFormat classes from VirtualFileStream demo to DragDropFormats unit. * Added TClipboardFormat.DataFormat and TClipboardFormats.DataFormat property. * Added TDropEmptySource and TDropEmptyTarget components. These are basically do-nothing components for use with TDataFormatAdapter. * Rewritten AsyncTransfer2 demo. The demo now uses TDropEmptySource, TDataFormatAdapter and TVirtualFileStreamDataFormat to transfer 10Mb of data with progress feedback. * Rewritten VirtualFileStream demo. The demo now uses TDropEmptySource, TDropEmptyTarget, TDataFormatAdapter and TVirtualFileStreamDataFormat. * Fixed memory leak in TVirtualFileStreamDataFormat. This leak only affected the old VirtualFileStream demo. * Added support for full File Descriptor attribute set to TVirtualFileStreamDataFormat. It is now possible to specify file attributes such as file size and last modified time in addition to the filename. I plan to add similar features to the other classes which uses FileDescriptors (e.g. TDropFileSource and TDropFileTarget). 21-dec-2000 * Ported to Delphi 4. * Added workaround for design bug in either Explorer or the clipboard. Explorer and the clipboard's requirements to the cursor position of an IStream object are incompatible. Explorer requires the cursor to be at the beginning of stream and the clipboard requires the cursor to be at the end of stream. 15-dec-2000 * Fixed URW533 problem. I'll leave the description of the workaround in here for now in case the problem resurfaces. 11-dec-2000 * Fixed bug in filename to PIDL conversion (GetPIDLsFromFilenames) which affected TDropFileTarget. Thanks to Poul Halgaard J鴕gensen for reporting this. 4-dec-2000 * Added THTMLDataFormat. * Fixed a a few small bugs which affected clipboard operations. * Added {$ALIGN ON} to dragdrop.inc. Apparently COM drag/drop requires some structures to be word alligned. This change fixes problems where some of the demos would suddenly stop working. * The URW533 problem has resurfaced. See the "Known problems" section below. 13-nov-2000 * TCopyPasteDataFormat has been renamed to TFeedbackDataFormat. * Added support for the Windows 2000 "TargetCLSID" format with the TTargetCLSIDClipboardFormat class and the TCustomDropSource.TargetCLSID property. * Added support for the "Logical Performed DropEffect" format with the TLogicalPerformedDropEffectClipboardFormat class. The class is used internally by TCustomDropSource. 30-oct-2000 * Added ContextMenu demo and TDropContextMenu component. Demonstrates how to customize the context menu which is displayed when a file is dragged with the right mouse button and dropped in the shell. * Added TCustomDataFormat.GetData. With the introduction of the GetData method, Data Format classes can now be used stand-alone to extract data from an IDataObject. 20-oct-2000 * Added VirtualFileStream demo. Demonstrates how to use the "File Contents" and "File Group Descritor" clipboard formats to drag and drop virtual files (files which doesn't exist physically) and transfer the data on-demand via a stream. 14-oct-2000 * Added special drop target registration of TCustomRichEdit controls. TCustomRichEdit needs special attention because it implements its own drop target handling which prevents it to work with these components. TCustomDropTarget now disables a rich edit control's built in drag/drop handling when the control is registered as a drop target. * Added work around for Windows bug where IDropTarget.DragOver is called regardless that the drop has been rejected in IDropTarget.DragEnter. 12-oct-2000 * Fixed bug that caused docking to interfere with drop targets. Thanks to G. Bradley MacDonald for bringing the problem to my attention. 30-sep-2000 * The DataFormats property has been made public in the TCustomDropMultiTarget class. * Added VirtualFile demo. Demonstrates how to use the TFileContentsClipboardFormat and TFileGroupDescritorClipboardFormat formats to drag and drop a virtual file (a file which doesn't exist physically). 28-sep-2000 * Improved drop source detection of optimized move. When an optimized move is performed by a drop target, the drop source's Execute method will now return drDropMove. Previously drCancel was returned. The OnAfterDrop event must still be used to determine if a move operation were optimized or not. * Modified TCustomDropTarget.GetPreferredDropEffect to get data from the current IDataObject instead of from the VCL global clipboard. 18-sep-2000 * Fixed bug in DropComboTarget caused by the 17-sep-2000 TStreams modification. 17-sep-2000 * Added AsyncTransfer2 demo to demonstrate use of TDropSourceThread. * Renamed TStreams class to TStreamList. 29-aug-2000 * Added TDropSourceThread. TDropSourceThread is an alternative to Windows 2000 asynchronous data transfers but also works on other platforms than Windows 2000. TDropSourceThread is based on code contributed by E. J. Molendijk. 24-aug-2000 * Added support for Windows 2000 asynchronous data transfers. Added IAsyncOperation implementation to TCustomDropSource. Added TCustomDropSource.AllowAsyncTransfer and AsyncTransfer properties. 5-aug-2000 * Added work around for URW533 compiler bug. * Fixed D4 and D5 packages and updated a few demos. Obsolete DropMultiTarget were still referenced a few places. * Documented work around for C++ Builder 5 compiler error. See the Known Problems section later in this document for more information. 2-aug-2000 * The package files provided in the kit is now design-time only packages. In previous versions, the packages could be used both at design- and run-time. The change was nescessary because the package now contains design-time code. * Added possible work around for suspected C++ Builder bug. The bug manifests itself as a "Overloadable operator expected" compile time error. See the "Known problems" section of this document. * Rewrote CustomFormat1 demo. * Added CustomFormat2 demo. * TDataDirection members has been renamed from ddGet and ddSet to ddRead and ddWrite. * All File Group Descritor and File Contents clipboard formats has been moved from the DragDropFile unit to the DragDropFormats unit. * File Contents support has been added to TTextDataFormat. The support is currently only enabled for drop sources. * Renamed TDropMultiTarget component to TDropComboTarget. Note: This will break applications which uses the TDropMultiTarget component. You can use the following technique to port application from previous releases: 1) Install the new components. 2) Repeat step 3-8 for all units which uses the TDropMultiTarget component. 3) Make a backup of the unit (both pas and dfm file) just in case... 4) Open the unit in the IDE. 5) In the .pas file, replace all occurances of "TDropMultiTarget" with "TDropComboTarget". 6) View the form as text. 7) Replace all occurances of "TDropMultiTarget" with "TDropComboTarget". 8) Save the unit. * Renamed a lot of demo files and directories. * Added work around for yet another bug in TStreamAdapter. * Added TCustomStringClipboardFormat as new base class for TCustomTextClipboardFormat. This changes the class hierachy a bit for classes which previously descended from TCustomTextClipboardFormat: All formats which needs zero termination now descend from TCustomTextClipboardFormat and the rest descend from TCustomStringClipboardFormat. Added TrimZeroes property. Fixed zero termination bug in TCustomTextClipboardFormat and generally improved handling of zero terminated strings. Disabled zero trim in TCustomStringClipboardFormat and enabled it in TCustomTextClipboardFormat. 23-jul-2000 * Improved handling of long file names in DropHandler demo. Added work around for ParamStr bug. * Added TDataFormatAdapter component and adapter demo. TDataFormatAdapter is used to extend the existing source and target components with additional data format support without modifying them. It can be considered an dynamic alternative to the current TDropMultiTarget component. 17-jul-2000 * TDropHandler component and DropHandler demo fully functional. 14-jul-2000 * Tested with C++ Builder 5. * Fixed sporadic integer overflow bug in DragDetectPlus function. * Added shell drop handler support with TDropHandler component. This is a work in progress and is not yet functional. 1-jul-2000 * Tested with Delphi 4. * Support for Windows 2000 inter application drag images. * TRawClipboardFormat and TRawDataFormat classes for support of arbitrary unknown clipboard formats. The classes are used internally in the TCustomDropSource.SetData method to support W2K drag images.
Platform: | Size: 2130304 | Author: smj_9547 | Hits:

[Graph RecognizeGoogle_Image_Search_API_src

Description: 根据文字描述信息,在网络上进行图片检索 如:输入苹果,则会检索到图片上含有苹果的图片-information on the Internet and retrieve images such as : the importation of apples, will be indexed to the photo containing Apple's Photo
Platform: | Size: 90112 | Author: 冯斌 | Hits:

[Search EngineGoogle_Image_Search_API_src

Description: GOOGLE 图片搜索引擎,很好玩,大家下载看看,可以自己修改啊。-GOOGLE image search engine, is a lot of fun, take a look at everyone to download, you can modify their own ah.
Platform: | Size: 22528 | Author: 比绅 | Hits:

[ADO-ODBC94518687

Description: xPicasa 是Google提供的一个图片管理程序;用户可以借助于该程序,在数秒钟内找到自己计算机上的图片,加以编辑并进行欣赏。有了 Picasa,您只需借助于快速单次点击式修正-xPicasa is provided by a Google image management procedures users through the program, in seconds to find their own pictures on your computer, edit and enjoy. With Picasa, you need to do is through the use of fast single-click fixes
Platform: | Size: 29696 | Author: liqi | Hits:

[Search Enginesrc

Description: 从网上找了很久,没找到合用的,就自己写了一个根据配置文件keyword.txt批量多线程下载图片的程序。比较简单,但很实用。不用一个个从image.google.com或者images.baidu.com上扒拉图片了。下次该给起个很酷的名字,叫图片吸血鬼,好像有了-From the Internet to find for a long time, could not find usable on their own to write a configuration file according to bulk keyword.txt multi-threaded download pictures procedures. Relatively simple, but very practical. Do not have a images.baidu.com from image.google.com or push lightly on the picture. Next to the beginning of the cool name, called picture vampire, seemed to have
Platform: | Size: 9216 | Author: w | Hits:

[Search EngineMatlab_aid_the_photo_search

Description: 用Matlab辅助实现网络图片搜索的源代码。(平台为Matlab,就是用Matlab调用Google的图片搜索引擎)有个小例子-Using Matlab to realize network-assisted image search the source code. (Platform for Matlab, is to use Matlab to call Google s image search engine) there is a small example
Platform: | Size: 6144 | Author: 小强 | Hits:

[CSharphsfsq

Description: C#语言实现的.是Google提供的一个图片管理程序;用户可以借助于该程序,在数秒钟内找到自己计算机上的图片,加以编辑并进行欣赏。-CSharp Language achievable. Is provided by a Google image management procedures users through the program, in seconds to find their own pictures on your computer, edit and enjoy.
Platform: | Size: 47104 | Author: 甜甜 | Hits:

[OtherC4li

Description: 是Google提供的一个图片管理程序;用户可以借助于该程序,在数秒钟内找到自己计算机上的图片,加以编辑并进行欣赏。-Is provided by a Google image management procedures users through the program, in seconds to find their own pictures on your computer, edit and enjoy.
Platform: | Size: 8192 | Author: 甜甜 | Hits:

[Special EffectsProgrammingcomputervisionapplications

Description: Learning OpenCV: Computer Vision with the OpenCV Library -Learning OpenCV puts you right in the middle of the rapidly expanding field of computer vision. Written by the creators of OpenCV, the widely used free open-source library, this book introduces you to computer vision and demonstrates how you can quickly build applications that enable computers to "see" and make decisions based on the data. Computer vision is everywhere-- in security systems, manufacturing inspection systems, medical image analysis, Unmanned Aerial Vehicles, and more. It helps robot cars drive by themselves, stitches Google maps and Google Earth together, checks the pixels on your laptop s LCD screen, and makes sure the stitches in your shirt are OK. OpenCV provides an easy-to-use computer vision infrastructure along with a comprehensive library containing more than 500 functions that can run vision code in real time. With Learning OpenCV, any developer or hobbyist can get up and running with the framework quickly, whether it s to build simple or sophisticated vision a
Platform: | Size: 713728 | Author: 冬冬 | Hits:

[Search Enginegoogle-image-search

Description: 利用Google API按照给定关键字搜索并下载所有图片的代码,可以在短时间内收集大量图片素材。-Search and download images from web using google APIs.
Platform: | Size: 1597440 | Author: mep | Hits:

[Graph Recognizetesseract-2.04.exe.tar

Description: tesseract-2.04,google开源图像识别源码,对于规则无杂的很多种语言都有很高的识别能力-tesseract-2.04, google image recognition source code open source, for the very rules of non-hybrid has a high recognition in multiple languages
Platform: | Size: 1105920 | Author: 唐继承 | Hits:

[Search EngineGoogleImageDownloader

Description: Qt跨平台编写的Google图像下载工具,显示结果并下载-Crossplatform software to search with Google image with a search criteria offered by Google, display results and download. Choose which to remove, or browse them, and download into a specific folder with specific image naming. Compiled and tested with Qt 4.6.2
Platform: | Size: 7005184 | Author: ywr | Hits:

[Video CaptureImageCrawl

Description: 本软件自动将 http://images.google.cn 中 Google 图片搜索到的原图片自动下载至本地文件夹,系统使用 VC++ 6.0 开发,完全源码,使用 httpd 协议下载。-The software automatically http://images.google.cn in Google image search to the original image automatically downloaded to a local folder, system development using VC++ 6.0, complete source code, use the httpd protocol to download.
Platform: | Size: 2938880 | Author: limei | Hits:

[Special Effectsgoogle-earth

Description: 包含了超大图像的快速漫游以及显示,实现了影响金字塔的模型,并且有对其基础理论的详细解释-Contains a large image of fast roaming and display to achieve the effect of the pyramid model, and there is a detailed explanation of its basic theory
Platform: | Size: 1731584 | Author: 王家 | Hits:

[JSP/JavaGoogle

Description: google创意动画doodle代码 为纪念美国现代舞舞蹈家玛莎·葛兰姆诞辰,Google Doodle推出了一款极其炫酷的LOGO,整个LOGO使用了CSS Sprite技术,利用一个初始图片和一张画满各个动作的拼接图片,实现了动画,而非传统的GIF动画图像。-Google doodle creative animation code To commemorate the birth of modern dance dancer Martha · homegrown technique, Google Doodle launched a extremely dazzle cruel LOGO The whole LOGO use CSS Sprite technology, using a initial pictures and a picture with the joining together of all action picture, realize the animation, and unconventional GIF animation image.
Platform: | Size: 345088 | Author: 李梦娜 | Hits:

[Windows Developgm

Description: Google Mirroring Search Engine 谷歌镜像搜索引擎是一个以php进行开发的Google镜像网站源码。 -Google Google image search engine is a PHP to develop the Google mirror website source code.
Platform: | Size: 365568 | Author: zhchwl | Hits:

[WEB Codegmsejx5

Description: Google Mirroring Search Engine 谷歌镜像搜索引擎是一个以php进行开发的Google镜像网站源码。 GMSE谷歌镜像搜索引擎使用方法: 1、GoogleMirroringSearchEngine_EVAL.php 请直接上传GoogleMirroringSearchEngine_EVAL.php到你的空间根目录,然后访问GoogleMirroringSearchEngine_EVAL.php即可. 2、GoogleMirroringSearchEngine_FULL.zip 1)上传GoogleMirroringSearchEngine_FULL.zip到你的空间根目录. 2)然后解压到你的空间根目录即可. 推荐方案1,但你的空间必须支持zip。-Google Mirroring Engine Google image search engine is a PHP to develop the Google mirror site source code Search. GMSE Google image search engine use method: 1, GoogleMirroringSearchEngine_EVAL.php Please upload GoogleMirroringSearchEngine_EVAL.php directly to your space root directory, and then visit GoogleMirroringSearchEngine_EVAL.php 2, GoogleMirroringSearchEngine_FULL.zip 1) upload GoogleMirroringSearchEngine_FULL.zip to your space root directory 2) and then unzip to the root directory of your space Recommendation 1, but your space must support zip.
Platform: | Size: 367616 | Author: 王涛 | Hits:

[Algorithmmoco

Description: 语音识别领域的经典论文实现,提供一个可训练的数学模型以预测语音特征(provide a s2s model for speech synthesis and network prediction with python and, e2e solution for production of google)
Platform: | Size: 1024 | Author: susuken | Hits:
« 12 3 4 »

CodeBus www.codebus.net