1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
|
<HTML>
<head><title>wxFocusEvent</title></head>
<BODY BGCOLOR=#FFFFFF>
<A NAME="wxfocusevent"></A><CENTER>
<A HREF="wx.htm"><img align=center src="contents.gif" BORDER=0 ALT="Contents"></A> <A HREF="wx22.htm#classref"><img align=center src="up.gif" BORDER=0 ALT="Up"></A> <A HREF="wx98.htm#wxfilteroutputstream"><img align=center src="back.gif" BORDER=0 ALT="Previous"></A> <A HREF="wx100.htm#wxfont"><img align=center src="forward.gif" BORDER=0 ALT="Next"></A> </CENTER><HR>
<H2>wxFocusEvent</H2>
<P>
A focus event is sent when a window's focus changes.<P>
<B><FONT COLOR="#FF0000">Derived from</FONT></B><P>
<A HREF="wx84.htm#wxevent">wxEvent</A><BR>
<A HREF="wx158.htm#wxobject">wxObject</A><P>
<B><FONT COLOR="#FF0000">Include files</FONT></B><P>
<wx/event.h><P>
<B><FONT COLOR="#FF0000">Event table macros</FONT></B><P>
To process a focus event, use these event handler macros to direct input to a member
function that takes a wxFocusEvent argument.<P>
<TABLE>
<TR><TD VALIGN=TOP>
<B>EVT_SET_FOCUS(func)</B>
</TD>
<TD VALIGN=TOP>
Process a wxEVT_SET_FOCUS event.
</TD></TR>
<TR><TD VALIGN=TOP>
<B>EVT_KILL_FOCUS(func)</B>
</TD>
<TD VALIGN=TOP>
Process a wxEVT_KILL_FOCUS event.
</TD></TR>
</TABLE>
<B><FONT COLOR="#FF0000">See also</FONT></B><P>
<A HREF="wx260.htm#wxwindowonsetfocus">wxWindow::OnSetFocus</A>,
<A HREF="wx260.htm#wxwindowonkillfocus">wxWindow::OnKillFocus</A>,
<A HREF="wx299.htm#eventhandlingoverview">Event handling overview</A><P>
<B><FONT COLOR="#FF0000">Members</FONT></B><P>
<A HREF="#topic386">wxFocusEvent::wxFocusEvent</A><BR>
<P>
<HR>
<A NAME="topic386"></A>
<H3>wxFocusEvent::wxFocusEvent</H3>
<P>
<B></B> <B>wxFocusEvent</B>(<B>WXTYPE </B><I>eventType = 0</I>, <B>int </B><I>id = 0</I>)<P>
Constructor.<P>
</BODY></HTML>
|