22-04-2013, 11:08 PM
السلام عليكم
PHP كود :
type
TForm1 = class(TForm)
procedure FormCreate(Sender: TObject);
private
procedure WMSysCommand(var message: TWMSysCommand);
message WM_SYSCOMMAND;
public
{ Déclarations publiques }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
const
idInfo = $F200;
procedure TForm1.WMSysCommand(var message: TWMSysCommand);
begin
inherited;
if message.CmdType and $FFF0 = idInfo then
ShowMessage('About...');
end;
procedure TForm1.FormCreate(Sender: TObject);
begin
AppendMenu(GetSystemMenu(Handle, False), MF_STRING, idInfo, 'Info');
end;
اللهم احقن دماء المسلمين، لا تنسوهم بالدعاء...

