Re: [WIN] how clear clipboard?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Derek,

Thanks, that does work!  :)

Dan

----- Original Message ----- 
From: "Derek Parnell" <ddparnell at bigpond.com>
To: "EUforum" <EUforum at topica.com>
Subject: 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
> 
> 
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu