|
-
Jan 1st, 2000, 02:46 AM
#1
Thread Starter
Frenzied Member
How can i put pictures into a rich text box?
Steve
-
Jan 1st, 2000, 04:15 AM
#2
New Member
Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long
Private Const WM_PASTE = &H302
then place this code to command1_click():
Clipboard.Clear
Clipboard.SetData Picture1.Picture
SendMessage RichTextBox1.hwnd, WM_PASTE, 0, 0
-
Jan 1st, 2000, 09:02 AM
#3
Thread Starter
Frenzied Member
Wow thanks, that works great! 
Steve
-
Jan 1st, 2000, 03:44 PM
#4
Guru
is there a way to do it without using the clipboard?
Thanks!
Tom
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|