我在delphi帮助中发现二个messagebox的帮助文件:
1.MessageBox(const Text, Caption: PChar; Flags: Longint = MB_OK): Integer;2.function MessageBox(const Text: WideString; const Caption: WideString = ''; Buttons: TMessageButtons = [smbOK]; Style: TMessageStyle = smsInformation; Default: TMessageButton = smbOK; Escape: TMessageButton
= smbCancel): TMessageButton;
请问二者的区别.还有我调用messagebox需要哪个unite
1.MessageBox(const Text, Caption: PChar; Flags: Longint = MB_OK): Integer;2.function MessageBox(const Text: WideString; const Caption: WideString = ''; Buttons: TMessageButtons = [smbOK]; Style: TMessageStyle = smsInformation; Default: TMessageButton = smbOK; Escape: TMessageButton
= smbCancel): TMessageButton;
请问二者的区别.还有我调用messagebox需要哪个unite
一个是delphi自己封装的 一个是标准的API 你根据参数就可以随意调用
请问原因