>The VFP messagebox is a wrapper around Windows Mesagebox. Do you see the same problem with Windows Messagebox?
DECLARE Long MessageBox IN user32 AS mbox ;
> Long hWnd, String lpText, string lpCaption, Long uType
>? mbox(_screen.HWnd, "Message", "Caption", 4)
Can you provide repro code/scenario?
>
>>
>>Have you ever noticed that VFP MESSAGEBOX() function sometimes shows first letter underlined for the buttons and sometimes doesn't? And it behaves this way in other MS applications? Weird, but I guess there is nothing we can do about it except for using custom messagebox type dialogs.
>>
Sergey,
Not sure if this is what Nadya was referring to or not, but useing your windows call and useing the VFP Messagebox, Yes, No, Abort, Retry, and Ignore all come up with the underlined hotkey while OK and Cancel do not.
Regards,
Jim