1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
|
<HTML>
<head><title>wxMoveEvent</title></head>
<BODY BGCOLOR=#FFFFFF>
<A NAME="wxmoveevent"></A><CENTER>
<A HREF="wx.htm"><img align=center src="contents.gif" BORDER=0 ALT="Contents"></A> <A HREF="wx22.htm#classref"><img align=center src="up.gif" BORDER=0 ALT="Up"></A> <A HREF="wx150.htm#wxmouseevent"><img align=center src="back.gif" BORDER=0 ALT="Previous"></A> <A HREF="wx152.htm#wxmultiplechoicedialog"><img align=center src="forward.gif" BORDER=0 ALT="Next"></A> </CENTER><HR>
<H2>wxMoveEvent</H2>
<P>
A move event holds information about move change events.<P>
<B><FONT COLOR="#FF0000">Derived from</FONT></B><P>
<A HREF="wx84.htm#wxevent">wxEvent</A><BR>
<A HREF="wx158.htm#wxobject">wxObject</A><P>
<B><FONT COLOR="#FF0000">Include files</FONT></B><P>
<wx/event.h><P>
<B><FONT COLOR="#FF0000">Event table macros</FONT></B><P>
To process a move event, use this event handler macro to direct input to a member
function that takes a wxMoveEvent argument.<P>
<TABLE>
<TR><TD VALIGN=TOP>
<B>EVT_MOVE(func)</B>
</TD>
<TD VALIGN=TOP>
Process a wxEVT_MOVE event, which is generated
when a window is moved.
</TD></TR>
</TABLE>
<B><FONT COLOR="#FF0000">See also</FONT></B><P>
<A HREF="wx260.htm#wxwindowonmove">wxWindow::OnMove</A>, <A HREF="wx171.htm#wxpoint">wxPoint</A>, <A HREF="wx299.htm#eventhandlingoverview">Event handling overview</A><P>
<B><FONT COLOR="#FF0000">Members</FONT></B><P>
<A HREF="#topic609">wxMoveEvent::wxMoveEvent</A><BR>
<A HREF="#wxmoveeventgetposition">wxMoveEvent::GetPosition</A><BR>
<P>
<HR>
<A NAME="topic609"></A>
<H3>wxMoveEvent::wxMoveEvent</H3>
<P>
<B></B> <B>wxMoveEvent</B>(<B>const wxPoint& </B><I>pt</I>, <B>int </B><I>id = 0</I>)<P>
Constructor.<P>
<HR>
<A NAME="wxmoveeventgetposition"></A>
<H3>wxMoveEvent::GetPosition</H3>
<P>
<B>wxPoint</B> <B>GetPosition</B>() <B>const</B><P>
Returns the position of the window generating the move change event.<P>
</BODY></HTML>
|