论坛


2008年10月24日 星期五

学习 Message(4): 通过 Application.OnMessage 或 TApplicationEvents 响应消息

万一| 万一的 Delphi 博客 |22:38:00

通过 Application.OnMessage 响应消息:unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Memo1: TMemo; procedure FormCreate(Sender: TOb...

学习 Windows Message(1): 消息发送

万一| 万一的 Delphi 博客 |16:41:00

消息流程:譬如用鼠标左键点击一下窗体, 系统会收到一条 WM_LBUTTONDOWN 消息;当鼠标抬起, 系统又会收到 WM_LBUTTONUP 消息.系统收到消息后, 会告诉窗体发生的事情, 然后窗体再做出反应; 当然窗体能否做出反应要看窗体是否有相应的响应代码.要响应 WM_LBUTTONDOWN 消?..

Random Thoughts on the Passing Scene #90

Nick Hodges| Nick Hodges |16:10:55

Up to #90 already.  Anyone got any ideas for a special event for when I hit RTotPS #100? Next week at PDC, I’ll be doing my best to keep up on Twitter.  So if you want to start following me, you can.  We’ll see how it g...

一句话为当前窗口客户区捉图: GetFormImage

万一| 万一的 Delphi 博客 |14:42:00

unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; procedure Button1Click(Sender: TObject); end; var Form1: TF...

如何过XP的防火墙而不被拦截

荣植华| 荣植华的专栏-delphi |13:18:00

procedure TForm1.Button1Click(Sender: TObject);var?? FwMgr,Profile,FwApp: variant;begin?? FwMgr := CreateOLEObject('HNetCfg.FwMgr');?? Profile := FwMgr.LocalPolicy.CurrentProfile;?? FwApp := CreateOLEObject('HNetCfg.FwAuthorizedApplication');?? Fw...

iPod Data Salvage Software

delphi3000| delphi3000.com |12:00:00

Apple iPod music salvage utility recovers all erased, misplaced music files, audio, video albums, mp3, mp4, aif, m4p, m4a, m4b, m4v, aac, wav, mpg, aac as well as photos, pictures and images etc from all iPods. iPod mp3 file recovery software retr...

Outlook Mail Password Rescue Tool

delphi3000| delphi3000.com |12:00:00

how to recover forgotten password for outlook and outlook express email accounts

用Schema来决定CSV文件的字段类型

rarnu| 橙子的Delphi技术专区-delphi |11:16:00

在说这一问题之前,先看一下以下的CSV文件内容:001,a,1,002,b,2,003,c,3,004,d,4,这是一个很简单的文件,前两个字段是字符串,最后一个是数字我们用ADO访问时,连接如下:Provider=Microsoft.Jet.OLEDB.4.0;Data Source=.\;Extended Properties="text;HDR=No;F...

Network Traffic Monitor - Delphi Source Included

About.com| About.com Delphi Programming |04:00:25

IP Programming :: Network Traffic Monitor is a network analytic tool that examines local area network usage and provides a display of upload and download statistics. The main purpose of...