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 \wxheading{Derived from
}
8 \helpref{wxEvent
}{wxevent
}\\
9 \helpref{wxObject
}{wxobject
}
11 \wxheading{Event table macros
}
13 To process a drop files event, use these event handler macros to direct input to a member
14 function that takes a wxDropFilesEvent argument.
17 \begin{twocollist
}\itemsep=
0pt
18 \twocolitem{{\bf EVT
\_DROP\_FILES(func)
}}{Process a wxEVT
\_DROP\_FILES event.
}
23 \helpref{wxWindow::OnDropFiles
}{wxwindowondropfiles
},
\helpref{Event handling overview
}{eventhandlingoverview
}
25 \latexignore{\rtfignore{\wxheading{Members
}}}
27 \membersection{wxDropFilesEvent::wxDropFilesEvent
}
29 \func{}{wxDropFilesEvent
}{\param{WXTYPE
}{id =
0},
\param{int
}{noFiles =
0},
\rtfsp
30 \param{wxString*
}{files = NULL
}}
34 \membersection{wxDropFilesEvent::m
\_files}
36 \member{wxString*
}{m
\_files}
38 An array of filenames.
40 \membersection{wxDropFilesEvent::m
\_noFiles}
42 \member{int
}{m
\_noFiles}
44 The number of files dropped.
46 \membersection{wxDropFilesEvent::m
\_pos}
48 \member{wxPoint
}{m
\_pos}
50 The point at which the drop took place.
52 \membersection{wxDropFilesEvent::GetFiles
}\label{wxdropfileseventgetfiles
}
54 \constfunc{wxString*
}{GetFiles
}{\void}
56 Returns an array of filenames.
58 \membersection{wxDropFilesEvent::GetNumberOfFiles
}\label{wxdropfileseventgetnumberoffiles
}
60 \constfunc{int
}{GetNumberOfFiles
}{\void}
62 Returns the number of files dropped.
64 \membersection{wxDropFilesEvent::GetPosition
}\label{wxdropfileseventgetposition
}
66 \constfunc{wxPoint
}{GetPosition
}{\void}
68 Returns the position at which the files were dropped.
70 Returns an array of filenames.