# Re: 请问 : 如何paste一张bitmap到Richtextbox中

Posted by cww on December 22, 1998 at 21:23:32:

In Reply to: Re: 请问 : 如何paste一张bitmap到Richtextbox中 posted by Jack on December 22, 1998 at 17:22:59:

1.把图放入Clipboard中(用ClipBoard物件)
2.RichTextbox取得Focus，并将Caret移到正确地方
(用Setfocus SelStart, SelLength来做)
3.SendKeys 来送出Ctl-V按键

Follow Ups:

- 更正 Jack 15:56:21 12/23/98 (0)
- 是 SendKeys Jack 15:53:24 12/23/98 (2)
  - 的确SendKeys无效，那改一下 cww 08:59:27 12/24/98 (1)
    - 可以了, 谢谢cww!(无内容) Jack 10:55:30 12/24/98 (0)