]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/mcaptevt.tex
new wxWindow::FindWindowByXXX() methods replacing the old global functions
[wxWidgets.git] / docs / latex / wx / mcaptevt.tex
CommitLineData
a5e84126
JS
1\section{\class{wxMouseCaptureChangedEvent}}\label{wxmousecapturechangedevent}
2
3An mouse capture changed event is sent to a window that loses its
4mouse capture. This is called even if wxWindow::ReleaseCapture
5was called by the application code. Handling this event allows
6an application to cater for unexpected capture releases which
7might otherwise confuse mouse handling code.
8
9This event is implemented under Windows only.
10
11\wxheading{Derived from}
12
13\helpref{wxEvent}{wxevent}\\
14\helpref{wxObject}{wxobject}
15
16\wxheading{Include files}
17
18<wx/event.h>
19
20\wxheading{Event table macros}
21
22To process this event, use the following event handler macro to direct input to a member
23function that takes a wxMouseCaptureChangedEvent argument.
24
25\twocolwidtha{7cm}
26\begin{twocollist}\itemsep=0pt
27\twocolitem{{\bf EVT\_MOUSE\_CAPTURE\_CHANGED(func)}}{Process a wxEVT\_MOUSE\_CAPTURE\_CHANGED event.}
28\end{twocollist}%
29
30\wxheading{See also}
31
32\helpref{Event handling overview}{eventhandlingoverview},
33\helpref{wxWindow::CaptureMouse}{wxwindowcapturemouse},
34\helpref{wxWindow::ReleaseMouse}{wxwindowreleasemouse},
35\helpref{wxWindow::GetCapture}{wxwindowgetcapture}
36
37\latexignore{\rtfignore{\wxheading{Members}}}
38
39\membersection{wxMouseCaptureChangedEvent::wxMouseCaptureChangedEvent}
40
41\func{}{wxMouseCaptureChangedEvent}{\param{wxWindowID }{windowId = 0}, \param{wxWindow*}{ gainedCapture = NULL}}
42
43Constructor.
44
45\membersection{wxActivateEvent::GetCapturedWindow}\label{wxmousecapturechangedeventgetcapturedwindow}
46
47\constfunc{wxWindow*}{GetCapturedWindow}{\void}
48
49Returns the window that gained the capture, or NULL if it was a non-wxWindows window.
50