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.