]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/focusevt.tex
don't call wxYield() from EnsureVisible(), this is too dangerous - and unnecessary...
[wxWidgets.git] / docs / latex / wx / focusevt.tex
1 \section{\class{wxFocusEvent}}\label{wxfocusevent}
2
3 A focus event is sent when a window's focus changes.
4
5 \wxheading{Derived from}
6
7 \helpref{wxEvent}{wxevent}\\
8 \helpref{wxObject}{wxobject}
9
10 \wxheading{Include files}
11
12 <wx/event.h>
13
14 \wxheading{Event table macros}
15
16 To process a focus event, use these event handler macros to direct input to a member
17 function that takes a wxFocusEvent argument.
18
19 \twocolwidtha{7cm}
20 \begin{twocollist}\itemsep=0pt
21 \twocolitem{{\bf EVT\_SET\_FOCUS(func)}}{Process a wxEVT\_SET\_FOCUS event.}
22 \twocolitem{{\bf EVT\_KILL\_FOCUS(func)}}{Process a wxEVT\_KILL\_FOCUS event.}
23 \end{twocollist}%
24
25 \wxheading{See also}
26
27 \helpref{wxWindow::OnSetFocus}{wxwindowonsetfocus},\rtfsp
28 \helpref{wxWindow::OnKillFocus}{wxwindowonkillfocus},\rtfsp
29 \helpref{Event handling overview}{eventhandlingoverview}
30
31 \latexignore{\rtfignore{\wxheading{Members}}}
32
33 \membersection{wxFocusEvent::wxFocusEvent}
34
35 \func{}{wxFocusEvent}{\param{WXTYPE }{eventType = 0}, \param{int }{id = 0}}
36
37 Constructor.
38