>>>Hi everybody,
>>>
>>>Do you know what can I use to have custom buttons' captions for the MessageBox? Preferrably a solution without external dependencies, which I can easily plug.
>>>
>>>Thanks a lot in advance.
>>
>>
>>
>>Here's the updated post, without the need of an external FLL, and with source code link attached
>>
>>
Extended Messagebox() function reviewed>>
http://weblogs.foxite.com/vfpimaging/2012/01/30/extended-messagebox-function-reviewed/>
>Thanks a lot.
I noticed that the SendMessage call was not passing the selected value back to the caller. Here is how I corrected this.
LOCAL loMsgB, lnResult
loMsgB = CREATEOBJECT("xmbMsgBoxEx")
lnResult = loMsgB.SendMessage(tcCaption, tnIcon, tcTitle, tcButtons, tcIconFile)
loMsgB = NULL
RETURN lnResult
Greg Reichert