Re: Drag and Drop question



Steven Levine wrote:
In <Bd1D8ggkpXsj-pn2-3nPdpyfxSTXu@Rudi6>, on 01/27/2008
at 07:41 PM, "Ruediger Ihle" <NO_SPAM_R.Ihle@xxxxxx> said:

Hi,

Currently I do this by specifying an RMF, that is only
known to my application i.e. something like

<DRM_PID_xxxxxxxx,DRF_MY_FORMAT>

where xxxxxxxx is the process ID of my app. Since I've found no documentation about this, I'm asking myself if
that is the way to go. Any comments ?

This seems like a reasonable approach. This has the advantange of
preventing other applications from accepting drops from your containers,
if that's what you want.

An alternative is to peek at the hwnd of the drag source and use that to
determine if you wish to accept the drop.

I've used the (DRAGITEM) hstrContainerName field for a similar purpose. Works well.

--
[Reverse the parts of the e-mail address to reply.]
.



Relevant Pages

  • Re: [9fans] Update on Fossil+Venti Stuff
    ... wiki and documentation, as well as this mailing list, serve the ... purpose of adding a bit of padding so it's a bit more comfortable from ...
    (comp.os.plan9)
  • Re: Reverse engineering != piracy (was Re: RosAsm disassembler output vs. IDA Pro)
    ... My main purpose of using ASM is for reverse engineering, ... because the official documentation was so wrong on some points that it was ... >disassembler the way that Rene is suggesting. ...
    (alt.lang.asm)
  • Re: Whats your (second) favourite language?
    ... "Permission to use, copy, modify, and distribute this software and its ... documentation for any purpose and without fee is hereby granted" is ...
    (comp.lang.lisp)
  • Re: Python25.zip
    ... Dennis Lee Bieber wrote: ... I haven't seen any documentation on the use or purpose of the zip file. ... gives the helpful warning that the above should follow the home directory in the path list. ...
    (comp.lang.python)
  • Re: C style: private functions, function docstrings & style
    ... "tags" to jump directly to function definitions. ... has a comment at the top explaining its purpose, ... and the source code is right there to answer any ... IIRC you can have doxygen documentation that can jump you straight to ...
    (comp.lang.c)