Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Messagebox function inconsistency
Message
De
27/01/2005 08:32:49
Jim Winter
Jim Winter Consulting
Hinesburg, Vermont, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Divers
Thread ID:
00980938
Message ID:
00981160
Vues:
42
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform