#include <wx/event.h>
A move event holds information about wxTopLevelWindow move change events.
The following event handler macros redirect the events to member function handlers 'func' with prototypes like:
Event macros:
wxEVT_MOVE
event, which is generated when a window is moved. wxEVT_MOVE_START
event, which is generated when the user starts to move or size a window. wxMSW only. wxEVT_MOVE_END
event, which is generated when the user stops moving or sizing a window. wxMSW only. Public Member Functions | |
wxMoveEvent (const wxPoint &pt, int id=0) | |
Constructor. | |
wxPoint | GetPosition () const |
Returns the position of the window generating the move change event. |
wxMoveEvent::wxMoveEvent | ( | const wxPoint & | pt, | |
int | id = 0 | |||
) |
Constructor.
wxPoint wxMoveEvent::GetPosition | ( | ) | const |
Returns the position of the window generating the move change event.
![]() |
[ top ] |