File: wx183.htm

package info (click to toggle)
wxwin2-doc 2.01-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 6,540 kB
  • ctags: 5,968
  • sloc: cpp: 15,157; makefile: 434; sh: 6
file content (45 lines) | stat: -rw-r--r-- 1,840 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<HTML>
<head><title>wxPrivateDropTarget</title></head>

<BODY BGCOLOR=#FFFFFF>
<A NAME="wxprivatedroptarget"></A><CENTER>
<A HREF="wx.htm"><img align=center src="contents.gif" BORDER=0 ALT="Contents"></A> <A HREF="wx22.htm#classref"><img align=center src="up.gif" BORDER=0 ALT="Up"></A> <A HREF="wx182.htm#wxprivatedataobject"><img align=center src="back.gif" BORDER=0 ALT="Previous"></A> <A HREF="wx184.htm#wxprocess"><img align=center src="forward.gif" BORDER=0 ALT="Next"></A> </CENTER><HR>

<H2>wxPrivateDropTarget</H2>
<P>
wxPrivateDropTarget is for...<P>
<B><FONT COLOR="#FF0000">Derived from</FONT></B><P>
<A HREF="wx82.htm#wxdroptarget">wxDropTarget</A><P>
<B><FONT COLOR="#FF0000">Include files</FONT></B><P>
&lt;wx/dnd.h&gt;<P>
<B><FONT COLOR="#FF0000">See also</FONT></B><P>
<A HREF="wx82.htm#wxdroptarget">wxDropTarget</A><P>
<B><FONT COLOR="#FF0000">Members</FONT></B><P>
<A HREF="#wxprivatedroptargetwxprivatedroptarget">wxPrivateDropTarget::wxPrivateDropTarget</A><BR>
<A HREF="#wxprivatedroptargetsetid">wxPrivateDropTarget::SetId</A><BR>
<A HREF="#wxprivatedroptargetgetid">wxPrivateDropTarget::GetId</A><BR>
<P>

<HR>
<A NAME="wxprivatedroptargetwxprivatedroptarget"></A>
<H3>wxPrivateDropTarget::wxPrivateDropTarget</H3>
<P>
<B></B> <B>wxPrivateDropTarget</B>()<P>

<HR>
<A NAME="wxprivatedroptargetsetid"></A>
<H3>wxPrivateDropTarget::SetId</H3>
<P>
<B>void</B> <B>SetId</B>(<B>const wxString&amp; </B><I>id</I>)<P>
Yu have to override OnDrop to get at the data.
The string ID identifies the format of clipboard or DnD data. A word
rocessor would e.g. add a wxTextDataObject and a wxPrivateDataObject
to the clipboard - the latter with the Id "WXWORD_FORMAT".<P>

<HR>
<A NAME="wxprivatedroptargetgetid"></A>
<H3>wxPrivateDropTarget::GetId</H3>
<P>
<B>virtual wxString</B> <B>GetId</B>() <B>const</B><P>

</BODY></HTML>