Re: [WIN] how clear clipboard?
- Posted by Dan Moyer <DANIELMOYER at prodigy.net> Oct 10, 2001
- 504 views
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 funcid = 124'|' parms = {} lRC = <no value> libfunc = <no value> lFuncDef = {3220504576,{67'C',108'l',111'o',115's',101'e',67'C',108'l', 105'i',112'p',98'b',111'o',97'a',114'r',100'd'},{}} linked = <no value> ...(and a lot more!) It's probably similar to what I got when I guessed that I might need to use the xClose function. Dan ----- Original Message ----- From: "Derek Parnell" <ddparnell at bigpond.com> To: "EUforum" <EUforum at topica.com> Sent: Wednesday, October 10, 2001 7:25 AM Subject: Re: [WIN] how clear clipboard? > > After reading the SDk a bit, it seems you need to do this ... > > atom void > if w32Func(xOpenClipboard,{getHandle(yourmainwind)}) then > void = w32Func(xEmptyClipboard,{}) > void = w32Func(xCloseClipboard,{}) > else > -- Some other process owns the clipboard just now. > end if > > > --------- > Derek > > >