Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Messagebox function inconsistency
Message
From
27/01/2005 08:32:49
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
00980938
Message ID:
00981160
Views:
45
This message has been marked as the solution to the initial question of the thread.
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform