2008年11月27日
摘要: roundto函数带来的问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061120094828197.html single类型的四字节浮点数,用roundto(asingle,-2)保留两位小数,这时出现个一个问题,是如果asingle小于或大于一个值的时候,asingle就用科学计数法... 阅读全文
posted @ 2008-11-27 21:10 delphi2007 阅读(462) 评论(0) 推荐(0) 编辑
摘要: SetWindowsHookEx 怎么能识别 alt 键 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061120101814196.html SetWindowsHookEx如何才能监视alt啊?其他案件都能监视,就识别不了alt,怎么弄? 没人知道? 我也不懂啊 LY 有例子~~... 阅读全文
posted @ 2008-11-27 21:10 delphi2007 阅读(297) 评论(0) 推荐(0) 编辑
摘要: 跟随鼠标移动的图像 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061120102940195.html 一个图片跟随鼠标移动, 要求是不能用窗体跟随鼠标的方法,只能在屏幕上画图,鼠标移动后,擦除图像,根据新位置在画, 高手来 //参考如下代码 type ... 阅读全文
posted @ 2008-11-27 21:10 delphi2007 阅读(319) 评论(0) 推荐(0) 编辑
摘要: dll动态调用出错了 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061120120653194.html 我在动态调用dll时老出现如下错误 Project' 'raise too many consecutive exceptions ... 阅读全文
posted @ 2008-11-27 21:10 delphi2007 阅读(465) 评论(0) 推荐(0) 编辑
摘要: 如何实现窗体跟随另一个程序一起显示,一起隐藏!! Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061120120925193.html 编写一个窗口,启动计算器,计算器最小化,则该窗口也最小化,计算器显示,则窗口也显示(在计算器旁),... 就是说,计算器的窗口处于什么状态,该窗口也... 阅读全文
posted @ 2008-11-27 21:10 delphi2007 阅读(390) 评论(0) 推荐(0) 编辑
摘要: Delphi中调用SelectDirectory弹出的浏览文件夹的对话框为何总是在右下角 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061118203649200.html Delphi中调用SelectDirectory弹出的浏览文件夹的对话框为何总是在右下角?不会是Delphi封装的bu... 阅读全文
posted @ 2008-11-27 21:10 delphi2007 阅读(691) 评论(0) 推荐(0) 编辑
摘要: HOOK其它程序窗体按键 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061118224824199.html unit Unit1; interface uses Windows, Messages, SysUti... 阅读全文
posted @ 2008-11-27 21:10 delphi2007 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 怎么自动把窗体显示出来? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061119181326198.html 当窗体当前没有焦点,或者窗体被最小化了,在该窗体得到某一事件怎么显示窗体呀?让窗体得到焦点。我用以下代码不行: procedure TForm1.WndProc(var... 阅读全文
posted @ 2008-11-27 21:10 delphi2007 阅读(315) 评论(0) 推荐(0) 编辑
摘要: 已知道 一个窗口的句柄, 如何扑捉该窗口的onresize 事件,并在onresize 事件中写入自己的代码? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061120145223192.html 已知道 一个窗口的句柄, 如何扑捉该窗口的onresize 事件,并在其中写入自己的... 阅读全文
posted @ 2008-11-27 21:10 delphi2007 阅读(336) 评论(0) 推荐(0) 编辑
摘要: Delphi写的ActiveX控件如何返回数组到Vbscript/javascript Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061120161640191.html 各位,用VBScript调用ActiveX很容易送入一个Variant参数,内容是一个数组,但是反过来,就一... 阅读全文
posted @ 2008-11-27 21:10 delphi2007 阅读(1477) 评论(0) 推荐(0) 编辑
摘要: 开仓放粮了: delphi在命令行执行命令时的2个问题? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061120203959190.html 1: 怎么等待命令执行完后再执行下面的语句 2: 怎么捕获命令产生的错误,并提示出来? 第2个问题值150分啊 1 用Wait... 阅读全文
posted @ 2008-11-27 21:09 delphi2007 阅读(347) 评论(0) 推荐(0) 编辑
摘要: 请问 Wallpaper Calendar 是如何实现在桌面显示日历和输入数据的???? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061121094119189.html Wallpaper Calendar 是一个日程安排的小软件,它在桌面显示日历,可以点击具体的时间输入一些提示... 阅读全文
posted @ 2008-11-27 21:09 delphi2007 阅读(441) 评论(0) 推荐(0) 编辑
摘要: 有个很少的C++源码急着需要翻译成其它源码,版主、高手请进。 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061121222102188.html 下面的源码是用来判断数据流的编码的,由一个叫jiangsheng的朋友提供,在此先谢谢他。 但是我不会用C++,现在急着需要用这个源码,... 阅读全文
posted @ 2008-11-27 21:09 delphi2007 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 关于键盘钩子的问题,请教大家 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061122084602187.html function StartHookMouse:boolean; const WH_MOUSE_LL = 14; be... 阅读全文
posted @ 2008-11-27 21:09 delphi2007 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 救命的问题-------在线急等!! Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061122092919186.html 请问delphi中如何根据计算机名称ping一台电脑是否成功。 有直接的api吗? 不是一条命令就能搞定的哈。 ping 了以后,... 阅读全文
posted @ 2008-11-27 21:09 delphi2007 阅读(94) 评论(0) 推荐(0) 编辑
摘要: Delphi中如何杀进程呀? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061122100442185.html Delphi中如何杀进程呀? 给个代码例子嘛。谢谢各位了。 TerminateProcess 有些进程是杀不死的...... 这个怎么用嘛? 比如有个进程是... 阅读全文
posted @ 2008-11-27 21:09 delphi2007 阅读(233) 评论(0) 推荐(0) 编辑
摘要: 请教如何获得类似于“任务管理器”中“应用程序”面板下的程序标题?? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061122142354184.html 如题,请各位帮帮忙~~~~ 请注意不是进程列表,是应用程序标题列表:) 用WMI轻松搞定 procedure T... 阅读全文
posted @ 2008-11-27 21:09 delphi2007 阅读(479) 评论(0) 推荐(0) 编辑
摘要: 关于WMI~~~,找sanmaotuo(老冯)...... Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061122164538183.html sanmaotuo(老冯) 呵呵,刚才以为没有人顶帖子了,就结了,继续请教中 没有关系,老水好梗直! 我不过用了另外一种方法来获取运... 阅读全文
posted @ 2008-11-27 21:09 delphi2007 阅读(288) 评论(0) 推荐(0) 编辑
摘要: EXE文件如何读取它自身的内容. Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061123125818182.html 我在EXE文件尾部追加一些数据,在EXE运行时想把这些数据读出来,Delphi不能自己打开自己,请问一下怎么记取? 你会不会程序调用别的程序 会的话打开自己... 阅读全文
posted @ 2008-11-27 21:09 delphi2007 阅读(618) 评论(0) 推荐(0) 编辑
摘要: ATGrid报表控件/WEB插件[专业版] Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiAPI/html/delphi_20061123152617181.html ATGrid报表控件/WEB插件[专业版],对EtCell进行了进行了全面的改革, 将会彻彻底底的解决你的报表问题,让你开发达到从未有过的轻松和喜悦...... 阅读全文
posted @ 2008-11-27 21:09 delphi2007 阅读(625) 评论(2) 推荐(0) 编辑