set text onto clipboard 
Author Message
 set text onto clipboard

Can somebody please post code for a simple sub that is equivalent to
VB's Clipboard.SetText, for PBDLL 6?

--
        Bart.



Fri, 24 Jan 2003 03:00:00 GMT  
 set text onto clipboard
See your SDK/WinAPI reference under:
HANDLE SetClipboardData(

    UINT  uFormat, // clipboard format
    HANDLE  hData  // data handle
   );

The SetClipboardData function places data on the clipboard in a specified
clipboard format. The window must be the current clipboard owner, and the
application must have called the OpenClipboard function. (When responding to
the WM_RENDERFORMAT and WM_RENDERALLFORMATS messages, the clipboard owner
must not call OpenClipboard before calling SetClipboardData.)

--
Michael Mattias
Tal Systems
Racine WI USA


Quote:
> Can somebody please post code for a simple sub that is equivalent to
> VB's Clipboard.SetText, for PBDLL 6?

> --
> Bart.



Fri, 24 Jan 2003 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. writing output listing onto screen (or not) and onto file

2. Screen copied text onto command line means nothing

3. How to read a file onto the text widget

4. Displaying text onto an image

5. Set X clipboard contents

6. setting the clipboard

7. setting the clipboard from python?

8. How to set and get the X clipboard ?

9. PICTs, Clipboards, and non-jaggy text

10. Copy Text to Windows-Clipboard?

11. How to append text to the clipboard?

12. How to get styled text of the clipboard ?

 

 
Powered by phpBB® Forum Software