Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Spellcheck RTF
Message
 
À
26/11/2002 11:06:49
Luis Navas
Independent Consultant
Auckland, Nouvelle Zélande
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Divers
Thread ID:
00726083
Message ID:
00727108
Vues:
20
Hi Luis,

Are you using this function in the SpellCheck program from Strategic Edge Software? When I put the text back in the richtextbox, I am using a variable from within the FS_Call program. Is that where you use this code?

Thanks,

TFISHER

>You loose the format 'cause you're using _cliptext to bring the text back to the richtextbox.
>
>You can use this api function to paste the content without lousing the format:
>#DEFINE WM_USER 0x400
>#DEFINE WM_COPY 0x301
>#DEFINE WM_CUT 0x300
>#DEFINE WM_PASTE 0x302
>#DEFINE WM_UNDO 0xc6
>#DEFINE WM_REDO (WM_USER+85)
>
>DECLARE SendMessage IN user32 ;
> INTEGER hWnd,;
> INTEGER wMsg,;
> INTEGER wParam,;
> INTEGER lParam
>*And you can use it like this.
>
>SendMessage(THISFORM.Edicion1.OBJECT.Hwnd,WM_PASTE,0,0)
>
>It will work, it worked for me.
Thanks,

TFISHER
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform