]>
Commit | Line | Data |
---|---|---|
1 | \section{\class{wxMoveEvent}}\label{wxmoveevent} | |
2 | ||
3 | A move event holds information about move change events. | |
4 | ||
5 | \wxheading{Derived from} | |
6 | ||
7 | \helpref{wxEvent}{wxevent}\\ | |
8 | \helpref{wxObject}{wxobject} | |
9 | ||
10 | \wxheading{Include files} | |
11 | ||
12 | <wx/event.h> | |
13 | ||
14 | \wxheading{Event table macros} | |
15 | ||
16 | To process a move event, use this event handler macro to direct input to a member | |
17 | function that takes a wxMoveEvent argument. | |
18 | ||
19 | \twocolwidtha{7cm} | |
20 | \begin{twocollist}\itemsep=0pt | |
21 | \twocolitem{{\bf EVT\_MOVE(func)}}{Process a wxEVT\_MOVE event, which is generated | |
22 | when a window is moved.} | |
23 | \end{twocollist}% | |
24 | ||
25 | \wxheading{See also} | |
26 | ||
27 | \helpref{wxWindow::OnMove}{wxwindowonmove}, \helpref{wxPoint}{wxpoint}, \helpref{Event handling overview}{eventhandlingoverview} | |
28 | ||
29 | \latexignore{\rtfignore{\wxheading{Members}}} | |
30 | ||
31 | \membersection{wxMoveEvent::wxMoveEvent} | |
32 | ||
33 | \func{}{wxMoveEvent}{\param{const wxPoint\& }{pt}, \param{int }{id = 0}} | |
34 | ||
35 | Constructor. | |
36 | ||
37 | \membersection{wxMoveEvent::GetPosition}\label{wxmoveeventgetposition} | |
38 | ||
39 | \constfunc{wxPoint}{GetPosition}{\void} | |
40 | ||
41 | Returns the position of the window generating the move change event. | |
42 |