Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TXTWIDTH supported in COM?
Message
 
 
À
09/06/2004 14:03:03
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00911850
Message ID:
00913096
Vues:
17
Sylvain,

I'm pretty sure that VFP uses windows GUI features to in those functions, and since GUI is not possible in a DLL the functions do not behave as you want them to. Have you searched MSDN there is likely an API call that you can make, I don't know the API off the top of my head though.

>I have a function where I use TXTWIDTH () to get the width of a text. It work well when calling it directly (not in a COM), but when it is called inside a COM it return an incorrect result (16777219.2 instead of 5.333).
>
>Is it supported in a COM? If not, what is my alternatives?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform