摘要:
delphi中正常窗口的实现
摘要 在delphi的vcl库中,为了使用以及实现的方便,应用对象application创建了一个用来处理消息响应的隐藏窗口。而正是这个窗口,使得用vcl开发出来的程序存在着与其他窗口不能正常排列平铺等显得有些畸形的问题。本文通过对vcl的深入分析,给出了一个只需要对应用程序项目文件作3行代码的修改就能解决问题的方案,且不需要原有的编程方式作任何改变。
关键字 ......
摘要:
近日在试用d2005时,发现了一个烦人的问题。用d2005 开发asp.net web application应用, 页面设计使用dreamweavermx2004, 页面中使用了模板功能, dreamweaver会在页面中生成其页面模板标记,接着在d2005中修改该页面,当保存该aspx页面文件时,d2005自动修改了其页面模板标记的位置,造成错误的代码标记,这种问题还没有找到解决的方法,不知......
2个不错的通配符比较函数
近日在与朋友讨论 maskmatch 时偶得2个不错的算法.函数1 只支持*,?模糊匹配.速度比采用递归算法的快近2倍,比tmask方法快很多. 【程序编程相关:
Delphi2005学习笔记3——数组参】 【推荐阅读:
ShadowStar CodeFast 】函数2 完全支持正规表达式.速度于之前的相同.(不会正规表达式的朋友慎用) 【扩展信息:
在网络上进行摄像头视频通讯】 // =========================== // funtion 1 // =========================== // check if the string can match the wildcard. it can be used for unicode strings as well! // c: 2004-07-24 | m: 2004-07-24 function maskmatch(const apattern, asource: string): boolean; var stringptr, patternptr: pchar; stringres, patternres: pchar; begin result := false; stringptr := pchar(uppercase(asource)); patternptr := pchar(uppercase(apattern)); stringres := nil; patternres := nil; repeat repeat // ohne vorangegangenes "*" case patternptr^ of #0 : begin result := stringptr^ = #0; if result or (stringres = nil) or (patternres = nil) then exit; stringptr := stringres; patternptr := patternres; break; end; *: begin inc(patternptr); patternres := patternptr; break; end; ?: begin if stringptr^ = #0 then exit; inc(stringptr); ...
下一页 摘要:
there are lots of resources and solutions out there on the internet that are specific to this problem, however, in using the businessskinform components, that are tightly integrated with the vcl and ......