Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Message appear on top
Message
De
08/12/2005 05:19:26
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01075298
Message ID:
01076051
Vues:
19
>Fabio,
>
>His code is not formally wrong. Bitwise constants like this can be, and are, added together all the time. If I had the K&R C book handy I'd point you to some examples.

this book is wrong.

>
>I'd argue that Carlos' use of three constants is in fact clearer (although I'd recommend using the #define constants from foxpro.h) that 3 specific messagebox flags are being sent to the function.
>

>Your suggestion to use MB_SYSTEMMODAL does violate the Windows standard guidelines because the message Khubaib is trying to display is not critical to the operation of the machine at the O/S level. It is critical only to his app.
>

I don't suggest anything, I have answered only to the question.
However many of the Windows's standards are wrong.

>>>
>>>ttt = Messagebox('please check your serialno '+Chr(10)+'Your Serial # is ';
>>>+Alltrim(Str(scode)),4+32+4096, product)
>>>
>>
>>This work but it is formally wrong.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform