Re: Drag and Drop question
- From: Marty <net@xxxxxxxxxxxxxxxxxxx>
- Date: Sun, 27 Jan 2008 13:26:16 -0800
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.]
.
- Follow-Ups:
- Re: Drag and Drop question
- From: Ruediger Ihle
- Re: Drag and Drop question
- References:
- Drag and Drop question
- From: Ruediger Ihle
- Re: Drag and Drop question
- From: Steven Levine
- Drag and Drop question
- Prev by Date: Re: Drag and Drop question
- Next by Date: Crashes in free() (OpenWatcom 1.5)
- Previous by thread: Re: Drag and Drop question
- Next by thread: Re: Drag and Drop question
- Index(es):
Relevant Pages
|