Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.programmer > #1635

Clipboard fetching

Date 2012-04-16 09:04 +0100
From Matthew Phillips <spam2011m@yahoo.co.uk>
Newsgroups comp.sys.acorn.programmer
Subject Clipboard fetching
Message-ID <63a3378152.Matthew@sinenomine.freeserve.co.uk> (permalink)

Show all headers | View raw


While there are such a large number of clipboard experts in the area....

For the first time I am implementing clipboard support in an application.  It
doesn't seem too bad, but one thing I was concerned about is the
Message_DataRequest where AppNote 240 states that offset 20 should be the
window handle, and offset 24 an internal handle to indicate the destination.

I was wondering if bad things would happen if I did not give a window handle. 
Would any clipboard owning task do anything with the window handle value
other than copy it into the Message_DataSave for the reply?

Might there be an application out there which used the window handle to
determine where to send its replying Message_DataSave, rather than using the
task handle of the task it received the Message_DataRequest from?

I was wanting to avoid giving a window handle so that the Message_DataSave
does not get picked up by my event handlers for the ordinary data trabsfer
protocol.

Does anyone have any direct experience of this which would reassure me this
is OK to do?

-- 
Matthew Phillips
Durham

Back to comp.sys.acorn.programmer | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Clipboard fetching Matthew Phillips <spam2011m@yahoo.co.uk> - 2012-04-16 09:04 +0100
  Re: Clipboard fetching Martin Wuerthner <spamtrap@mw-software.com> - 2012-04-19 17:29 +0200
    Re: Clipboard fetching Gerph <gerph@gerph.org> - 2012-04-19 16:18 -0700
      Re: Clipboard fetching Matthew Phillips <spam2011m@yahoo.co.uk> - 2012-04-20 23:09 +0100
        Re: Clipboard fetching Gerph <gerph@gerph.org> - 2012-04-21 01:18 -0700
          Re: Clipboard fetching Matthew Phillips <spam2011m@yahoo.co.uk> - 2012-04-21 10:32 +0100
            Re: Clipboard fetching Gerph <gerph@gerph.org> - 2012-04-21 04:26 -0700
              Re: Clipboard fetching Matthew Phillips <spam2011m@yahoo.co.uk> - 2012-04-22 00:56 +0100
            Re: Clipboard fetching Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2012-04-21 16:14 +0200
              Re: Clipboard fetching Matthew Phillips <spam2011m@yahoo.co.uk> - 2012-04-22 00:54 +0100
                Re: Clipboard fetching Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2012-04-22 05:37 +0200
                Re: Clipboard fetching Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2012-04-22 05:42 +0200

csiph-web