trichview.com

trichview.support




Re: Simulating a keypress


Return to index


Author

Message

Sergey Tkachenko

Posted: 12/10/2003 20:34:17


  SendMessage(RichViewEdit1.Handle, WM_KEYDOWN, VK_RETURN, 0)


For sending other keys, see VK_*** constants (virtual-key codes)


>

> Hi,

> After inserting a break : RVE.AddBreak, I want to simulate as if the

VK_RETURN

> key has been pressed. This will bring the cursor to the next line. How can

> I achieve this?

>

> If you could give examples on how to simulate keypress, I really have to

> thank you. The application we are developing is extremly complex and will

> need your expert guidance.

>

> Thanks Sergey.





Powered by ABC Amber Outlook Express Converter