wxMouseCaptureChangedEventAn mouse capture changed event is sent to a window that loses its mouse capture. This is called even if wxWindow::ReleaseCapture was called by the application code. Handling this event allows an application to cater for unexpected capture releases which might otherwise confuse mouse handling code. This event is implemented under Windows only. Derived from Include files <wx/event.h> Event table macros To process this event, use the following event handler macro to direct input to a member function that takes a wxMouseCaptureChangedEvent argument.
See also wxMouseCaptureLostEvent Event handling overview, wxWindow::CaptureMouse, wxWindow::ReleaseMouse, wxWindow::GetCapture Members
wxMouseCaptureChangedEvent::wxMouseCaptureChangedEvent
wxMouseCaptureChangedEvent::wxMouseCaptureChangedEventwxMouseCaptureChangedEvent(wxWindowID windowId = 0, wxWindow* gainedCapture = NULL) Constructor.
wxActivateEvent::GetCapturedWindowwxWindow* GetCapturedWindow() const Returns the window that gained the capture, or NULL if it was a non-wxWidgets window.
|