[fpc-pascal] simple messagebox for windows
joshyfun at gmail.com
Tue Jul 5 19:32:56 CEST 2011
Tuesday, July 5, 2011, 6:54:37 PM, you wrote:
JL> Trying to implement a win messagebox with timeout, I googled & found a
JL> mention of an undocumented messageboxtimeout api & its delphi call.
JL> See noddy program below - works for messagebox() with boolean false,
JL> unfortunately fails with boolean true & gives 'not found in user32' message
JL> in my xp.
MessageBoxtimeoutA = NO
MessageBoxTimeoutA = YES
Check the casing (capital T). For XP or later.
More information about the fpc-pascal