1 \section{\class{wxMouseCaptureChangedEvent
}}\label{wxmousecapturechangedevent
}
3 An mouse capture changed event is sent to a window that loses its
4 mouse capture. This is called even if wxWindow::ReleaseCapture
5 was called by the application code. Handling this event allows
6 an application to cater for unexpected capture releases which
7 might otherwise confuse mouse handling code.
9 This event is implemented under Windows only.
11 \wxheading{Derived from
}
13 \helpref{wxEvent
}{wxevent
}\\
14 \helpref{wxObject
}{wxobject
}
16 \wxheading{Include files
}
20 \wxheading{Event table macros
}
22 To process this event, use the following event handler macro to direct input to a member
23 function that takes a wxMouseCaptureChangedEvent argument.
26 \begin{twocollist
}\itemsep=
0pt
27 \twocolitem{{\bf EVT
\_MOUSE\_CAPTURE\_CHANGED(func)
}}{Process a wxEVT
\_MOUSE\_CAPTURE\_CHANGED event.
}
32 \helpref{Event handling overview
}{eventhandlingoverview
},
33 \helpref{wxWindow::CaptureMouse
}{wxwindowcapturemouse
},
34 \helpref{wxWindow::ReleaseMouse
}{wxwindowreleasemouse
},
35 \helpref{wxWindow::GetCapture
}{wxwindowgetcapture
}
37 \latexignore{\rtfignore{\wxheading{Members
}}}
39 \membersection{wxMouseCaptureChangedEvent::wxMouseCaptureChangedEvent
}
41 \func{}{wxMouseCaptureChangedEvent
}{\param{wxWindowID
}{windowId =
0},
\param{wxWindow*
}{ gainedCapture = NULL
}}
45 \membersection{wxActivateEvent::GetCapturedWindow
}\label{wxmousecapturechangedeventgetcapturedwindow
}
47 \constfunc{wxWindow*
}{GetCapturedWindow
}{\void}
49 Returns the window that gained the capture, or NULL if it was a non-wxWidgets window.