Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Spellcheck RTF
Message
 
To
26/11/2002 11:06:49
Luis Navas
Independent Consultant
Auckland, New Zealand
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Miscellaneous
Thread ID:
00726083
Message ID:
00727108
Views:
16
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform