1 \section{\class{wxDropFilesEvent
}}\label{wxdropfilesevent
}
3 This class is used for drop files events, that is, when files have been dropped
4 onto the window. This functionality is currently only available under Windows.
6 Important note: this is a separate implementation to the more general
7 drag and drop implementation documented
\helpref{here
}{wxdndoverview
}. It uses the
8 older, Windows message-based approach of dropping files.
10 \wxheading{Derived from
}
12 \helpref{wxEvent
}{wxevent
}\\
13 \helpref{wxObject
}{wxobject
}
15 \wxheading{Include files
}
19 \wxheading{Event table macros
}
21 To process a drop files event, use these event handler macros to direct input to a member
22 function that takes a wxDropFilesEvent argument.
25 \begin{twocollist
}\itemsep=
0pt
26 \twocolitem{{\bf EVT
\_DROP\_FILES(func)
}}{Process a wxEVT
\_DROP\_FILES event.
}
31 \helpref{wxWindow::OnDropFiles
}{wxwindowondropfiles
},
\helpref{Event handling overview
}{eventhandlingoverview
}
33 \latexignore{\rtfignore{\wxheading{Members
}}}
35 \membersection{wxDropFilesEvent::wxDropFilesEvent
}
37 \func{}{wxDropFilesEvent
}{\param{WXTYPE
}{id =
0},
\param{int
}{noFiles =
0},
\rtfsp
38 \param{wxString*
}{files = NULL
}}
42 \membersection{wxDropFilesEvent::m
\_files}
44 \member{wxString*
}{m
\_files}
46 An array of filenames.
48 \membersection{wxDropFilesEvent::m
\_noFiles}
50 \member{int
}{m
\_noFiles}
52 The number of files dropped.
54 \membersection{wxDropFilesEvent::m
\_pos}
56 \member{wxPoint
}{m
\_pos}
58 The point at which the drop took place.
60 \membersection{wxDropFilesEvent::GetFiles
}\label{wxdropfileseventgetfiles
}
62 \constfunc{wxString*
}{GetFiles
}{\void}
64 Returns an array of filenames.
66 \membersection{wxDropFilesEvent::GetNumberOfFiles
}\label{wxdropfileseventgetnumberoffiles
}
68 \constfunc{int
}{GetNumberOfFiles
}{\void}
70 Returns the number of files dropped.
72 \membersection{wxDropFilesEvent::GetPosition
}\label{wxdropfileseventgetposition
}
74 \constfunc{wxPoint
}{GetPosition
}{\void}
76 Returns the position at which the files were dropped.
78 Returns an array of filenames.