lnResult = EventMBox(version(1), ; MB_YESNO + MB_ICONEXCLAMATION, ; "EventMBox", ; "&Visual", ; "&FoxPro", ; "")>>>I recall a thread a while ago that discusses a way to use a messagebox and allow for changing the captions on the buttons to something other than ok/cancel or yes/no. However I can not locate it by searching. Does anyone know of a way to do this?
>LOCAL lnResult >#include foxpro.h >lnResult = EventMBox(version(1), ; > MB_YESNO + MB_ICONEXCLAMATION, ; > "EventMBox", ; > "&Visual", ; > "&FoxPro") > >if lnResult = IDYES > wait window "Wow!" nowait >endif