1. RE: [WIN] how clear clipboard?
Dan Moyer wrote:
> Does anyone know how to *clear* the clipboard?
using win32lib library, one could do this...
atom void
void = w32Func(xEmptyClipBoard)
---
Derek.
2. RE: [WIN] how clear clipboard?
- Posted by Henri.Goffin at sbs.be
Oct 10, 2001
To be complete ... and effective, this should read:
include win32lib.ew
atom void
void = w32Func(xOpenClipboard,{NULL})
void = w32Func(xEmptyClipboard,{})
> -----Original Message-----
> From: Derek Parnell [SMTP:ddparnell at bigpond.com]
> Sent: Wednesday, October 10, 2001 7:22 AM
> To: EUforum
> Subject: RE: [WIN] how clear clipboard?
>
>
> Dan Moyer wrote:
> > Does anyone know how to *clear* the clipboard?
>
> using win32lib library, one could do this...
>
> atom void
> void = w32Func(xEmptyClipBoard)
>
> ---
> Derek.
>
>
3. RE: [WIN] how clear clipboard?
Dan Moyer wrote:
> Derek,
>
> When I use that, I get the following error:
>
> C:\EUPHORIA\WIN32LIB\IDE\2_10_5\Win32lib.ew:409 in function w32Func()
> subscript value 4 is out of bounds, reading from a sequence of length 3
Oops! Close Clipboard is a procedure and not a function. Sorry about
that.
atom void
if w32Func(xOpenClipboard,{getHandle(yourmainwind)}) then
void = w32Func(xEmptyClipboard,{})
w32proc(xCloseClipboard,{})
else
-- Some other process owns the clipboard just now.
end if
---------
Derek