[fpc-pascal] simple messagebox for windows

johnelee1944 at googlemail.com johnelee1944 at googlemail.com
Tue Jul 5 20:09:15 CEST 2011


Thanks - thought win stuff always case independent! John

On , José Mejuto <joshyfun at gmail.com> wrote:
> Hello FPC-Pascal,



> 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.



> --

> Best regards,

> José



> _______________________________________________

> fpc-pascal maillist - fpc-pascal at lists.freepascal.org

> http://lists.freepascal.org/mailman/listinfo/fpc-pascal


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20110705/f76eb3fa/attachment.html>


More information about the fpc-pascal mailing list