[fpc-pascal] simple messagebox for windows
Felipe Monteiro de Carvalho
felipemonteiro.carvalho at gmail.com
Tue Jul 5 16:34:57 CEST 2011
On Tue, Jul 5, 2011 at 4:24 PM, John Lee <johnelee0 at gmail.com> wrote:
> I need a simple messagebox (or msgbox) for windows - that doesn't depend
> (use) a whole load of lcl or other stuff - did I miss this in the fpc docs -
> sounds as if it ought to be in sysutils - but isn't! I just want to output
> a message to a titled box, and maybe get an ok button press, with a n sec
> timeout.
SysUtils? SysUtils is part of the RTL, there is no cross-platform GUI
routine in the entire RTL. The RTL and FCL don't contain GUI code
because that would make the development of non-gui software a mess.
The simplest option is using Windows.MessageBox (which obviously only
works in Windows)
MSDN docs: http://msdn.microsoft.com/en-us/library/ms645505(VS.85).aspx
Or use your IDE to find the declaration of Windows.MessageBox
--
Felipe Monteiro de Carvalho
More information about the fpc-pascal
mailing list