Unit 'LCLIntf' Package
[Overview][Types][Procedures and functions][Variables][Index] [#lcl]

MessageBox

The MessageBox function displays an modal dialog, with the given text, caption, icon and buttons.

Declaration

Source position: winapih.inc line 198

function MessageBox(

  hWnd: HWND;

  lpText: PChar;

  lpCaption: PChar;

  uType: Cardinal = MB_OK

):Integer;