MessageBox ()

From ISXKB

Revision as of 00:08, 25 December 2007 by Markus (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
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: