Click to See Complete Forum and Search --> : Copy and paste fuctions in API
yli
Dec 17th, 2000, 04:20 PM
Hi,
I want to know how to implement copy and paste function by using windows API. Can someone tell me which functions in API should I use?
Many thanks!
Here is what you probably need:
Private Declare Function OpenClipboard Lib "user32" (ByVal hwnd As Long)
As Long
Private Declare Function CloseClipboard Lib "user32" () As Long
Private Declare Function SetClipboardData Lib "user32" (ByVal wFormat As
Long, ByVal hMem As Long) As Long
Private Declare Function EmptyClipboard Lib "user32" () As Long
Private Declare Function GetClipboardData Lib "user32" (ByVal wFormat As Long) As Long
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.