Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sluggish response in form with RTF controls and timer
Message
 
À
07/06/2006 03:07:39
John Faithfull
Hunterian Museum, University of Glasgow,
Glasgow, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01127055
Message ID:
01127817
Vues:
28
Hi John,

>nTLen = SendMessage_C(THISFORM.Title_Olecontrol1.hWnd, 1119, REPLICATE(CHR(0),8), 0)

For me it returns the same value as LEN(oRTFControl.Text) but try changing it to:
nTLen = SendMessage_C(THISFORM.Title_Olecontrol1.hWnd, 1119, CHR(2)+REPLICATE(CHR(0),7), 0)
This sets the GTL_PRECISE flag. Maybe this will be more "precise" :^)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform