如何像使用ShellAbout那样打开关于对话框来调用任务管理器中的文件-新建任务对话框?需要用什么函数? 如何像使用ShellAbout那样打开关于对话框来调用任务管理器中的文件-新建任务对话框?需要用什么函数? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 我也出现同类问题,我来描述问题,请各位说下是怎么的。我用的是Delphi 7打开关于对话框,下面是语法procedure TForm1.A1Click(Sender: TObject);begin ShellAbout(Application.MainForm.Handle, '此处写您的软件名称', 'Copyright (c) 2001-2002'#13'http://www.sgjz.cn', Application.Icon.Handle);end;end.ShellAbout 这段出现错误,请高手们说下,谢谢 unit Unit1;interfaceuses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Buttons;type TForm1 = class(TForm) SpeedButton1: TSpeedButton; procedure SpeedButton1Click(Sender: TObject); private { Private declarations } public { Public declarations } end;var Form1: TForm1;procedure RunDialog(OwnerWnd: HWND; Icon: HICON; lpstrDirectory: PChar; lpstrTitle: PChar; lpstrDescription: PChar; Flags: LongInt); stdcall; external 'Shell32.dll' index 61;implementation{$R *.dfm}procedure TForm1.SpeedButton1Click(Sender: TObject);const RFF_NOBROWSE = 1;var Flags: LongInt; FIcon: TIcon;begin FIcon := TIcon.Create; Flags := Flags or RFF_NOBROWSE; RunDialog(0, FIcon.Handle, nil { PChar(FInitialDir) } , PChar('比尔的标题'), PChar('杀死比尔'), Flags); FIcon.Free;end;end. delphi mysql问题 打印报表时超出纸张范围 用BDE连接MSSQL怎么用NT认证方式? 高分求教!如何用treeview实现文件夹与其子目录的显示? 升星, 散分!开心, 也很大的压力! 如何让机子重启,关机,等 平凡的数据库程序在其他机器上的使用问题!! 请解释一下ShellCtrls单元 请问哪有OutlookBar控件下载??? 请推荐一个好的关于Delphi编程的邮件列表----不需要注册的。 在delphi中的canvas属性中画图为什么画多了就不显示了呢? 关于TClientSocket通信,急急急
我用的是Delphi 7
打开关于对话框,下面是语法
procedure TForm1.A1Click(Sender: TObject);
begin
ShellAbout(Application.MainForm.Handle,
'此处写您的软件名称',
'Copyright (c) 2001-2002'#13'http://www.sgjz.cn',
Application.Icon.Handle);
end;end.
ShellAbout 这段出现错误,请高手们说下,谢谢
unit Unit1;interfaceuses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Buttons;type
TForm1 = class(TForm)
SpeedButton1: TSpeedButton;
procedure SpeedButton1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;var
Form1: TForm1;
procedure RunDialog(OwnerWnd: HWND; Icon: HICON; lpstrDirectory: PChar;
lpstrTitle: PChar; lpstrDescription: PChar; Flags: LongInt); stdcall;
external 'Shell32.dll' index 61;implementation{$R *.dfm}procedure TForm1.SpeedButton1Click(Sender: TObject);
const
RFF_NOBROWSE = 1;
var
Flags: LongInt;
FIcon: TIcon;
begin
FIcon := TIcon.Create;
Flags := Flags or RFF_NOBROWSE;
RunDialog(0, FIcon.Handle, nil { PChar(FInitialDir) } , PChar('比尔的标题'),
PChar('杀死比尔'), Flags);
FIcon.Free;
end;end.