]>
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{Library} | |
15 | ||
16 | \helpref{wxCore}{librarieslist} | |
17 | ||
18 | \wxheading{Event table macros} | |
19 | ||
20 | To process a move event, use this event handler macro to direct input to a member | |
21 | function that takes a wxMoveEvent argument. | |
22 | ||
23 | \twocolwidtha{7cm} | |
24 | \begin{twocollist}\itemsep=0pt | |
25 | \twocolitem{{\bf EVT\_MOVE(func)}}{Process a wxEVT\_MOVE event, which is generated | |
26 | when a window is moved.} | |
27 | \twocolitem{{\bf EVT\_MOVE\_START(func)}}{Process a wxEVT\_MOVE\_START event, which is generated | |
28 | when the user starts to move or size a window. wxMSW only.} | |
29 | \twocolitem{{\bf EVT\_MOVE\_END(func)}}{Process a wxEVT\_MOVE\_END event, which is generated | |
30 | when the user stops moving or sizing a window. wxMSW only.} | |
31 | \end{twocollist} | |
32 | ||
33 | \wxheading{See also} | |
34 | ||
35 | \helpref{wxPoint}{wxpoint}, \helpref{Event handling overview}{eventhandlingoverview} | |
36 | ||
37 | \latexignore{\rtfignore{\wxheading{Members}}} | |
38 | ||
39 | \membersection{wxMoveEvent::wxMoveEvent}\label{wxmoveeventctor} | |
40 | ||
41 | \func{}{wxMoveEvent}{\param{const wxPoint\& }{pt}, \param{int }{id = 0}} | |
42 | ||
43 | Constructor. | |
44 | ||
45 | \membersection{wxMoveEvent::GetPosition}\label{wxmoveeventgetposition} | |
46 | ||
47 | \constfunc{wxPoint}{GetPosition}{\void} | |
48 | ||
49 | Returns the position of the window generating the move change event. | |
50 |