>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.
>>
With this function I do not see underlines at all. But now I see them after I ran this test again. Weird.
If it's not broken, fix it until it is.
My Blog