论坛


2009年12月28日 星期一

GdiPlus[52]: 图像(四) 图像信息

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

  阅读: 65 评论: 0 作者:万一发表于 2009-12-28 21:14原文链接相关属性、方法、函数:IGPImage.Width; { 宽度(单位是像素) } IGPImage.Height; { 高度(单位是像素) } IGPImage.HorizontalResolution; { 获取水平分辨率(以"像素/英寸"...

GdiPlus[51]: 图像(三) 关于呈现

万一| 万一的 Delphi 博客 |19:57:00

  阅读: 6 评论: 0 作者:万一发表于 2009-12-28 19:57原文链接相关方法:IGPGraphics.DrawImage(); IGPImage.GetThumbnailImage(); IGPImage.RotateFlip();用 DrawImage 呈现图像时, 是否指定 Width 和 Height 的区别://如果图像的分辨率与 Graphics 的分辨率不一致...

Delphi 取最前窗口标题(不重复)

幸福苹果| 幸福苹果-delphi |14:26:00

memo1.Align:=alClient;procedure TForm1.Timer1Timer(Sender: TObject);varp:pchar;itemp:integer;beginp:=allocmem(255);itemp:=GetForegroundWindow;GetWindowText(itemp,p,255);if (p<>'') thenbeginif Pos(p,Memo1.Text)=0 then //不重复,则添加,已有重...

美萍记账通所用rzPanel所属控件:Raize Components

幸福苹果| 幸福苹果-delphi |14:19:00

http://sunnymovie.blog.hexun.com/19815971_d.htmlRaize Components v4.3.2http://www.2ccc.com/article.asp?articleid=497Raize Components (delphi控件) v5.0英文特别版http://www.52z.com/soft/16115.htmlRaizer是一个超过120个通用VCL组件的用户界面开发包,用?..

GdiPlus[50]: 图像(二) 关于 Create

万一| 万一的 Delphi 博客 |12:21:00

  阅读: 24 评论: 0 作者:万一发表于 2009-12-28 12:21原文链接IGPImage 类提供的 Create 方法:Image := TGPImage.Create(文件(或流), Boolean); //其中的布尔值默认 False; 如果为 True 则使用文件(或流)中的已嵌入颜色管理信息来进行颜色校正. { 示例1: 从文件?..

Save Touch Keyboard Layout

CodeGear| CodeGear-CodeCentral Delphi |10:29:58

Example application to save a touch keyboard layout to an XML file.

Implementing MultiCast Events for Win32 Delphi’s TDataset and TField descendants

About.com| About.com Delphi Programming |02:00:32

in Delphi DB::When creating database applications in Win32 Delphi you might find the multicast idea useful - to have more than one procedure execute when the OnAfterScroll event fires for the TDataset descendant, for example. The "TMultiDsEvent" c...