MessageBox ()

From ISXKB

Jump to: navigation, search

This article shows how to use the Windows API function MessageBox () with Inno Setup. Note that Inno Setup has an implementation of MessageBox () prepared already: The function MsgBox ().

Declaration

The following declaration is required in a [Code] section:

function MessageBox (hWnd: Integer; lpText, lpCaption: String; uType: Cardinal): Integer;
 external 'MessageBoxA@user32.dll stdcall';

MessageBox () at MSDN

Personal tools
Ads: