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