Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
HowTo force Richtextctrl to react on keyboard '{CTRL+V}'
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00850053
Message ID:
00850175
Vues:
30
This message has been marked as the solution to the initial question of the thread.
Hi Yuri,

I run some test and it looks like you've to send WM_PASTE message for this to work.
DECLARE integer SendMessage IN WIN32API ;
		integer hwnd, integer Msg, integer Wparam, integer lParam
#define WM_PASTE	0x0302
SendMessage(Thisform.oRTF.Object.Hwnd, WM_PASTE, 0, 0)
>Will it somehow differ from oShell = CreateObject("WScript.Shell"), oShell.sendkeys(to window) that I already tryed?
>Not quite sure how to send it to control (is control.setfocus, and send to window enough?).
>
>>Hi Yuri,
>>
>>I would try to send 'CTRL+V' directly to control using SendMessage Win API.
>>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform