Results 1 to 2 of 2

Thread: Copy and paste fuctions in API

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2000
    Location
    Posts
    3

    Question

    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!
    yli

  2. #2
    Guest
    Here is what you probably need:

    Code:
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width