|
-
Jun 26th, 2000, 03:48 AM
#1
Thread Starter
Lively Member
I have a small program that "should" envoke the Paste command within another edit control, code is below.
Private Sub Command1_Click()
Clipboard.Clear 'Clears Clipboard
Clipboard.SetData Picture1.Picture 'Copys the Picture Into The ClipBoard
Call SendMessage(TxtBox&, WM_PASTE, 0, 2) 'TxtBox& is the hWnd of a richedit control and "envokes" the Paste Command.
End Sub
The Problem I am having is that it works within its self meaning it is only working within the same exe that it was made in but not other apps like wordpad.
Does anyone have another Idea how to do it or how to fix this code?
Thank you,
Jeremy
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
|