1 \section{\class{wxActivateEvent
}}\label{wxactivateevent
}
3 An activate event is sent when a window or application is being activated
6 \wxheading{Derived from
}
8 \helpref{wxEvent
}{wxevent
}\\
9 \helpref{wxObject
}{wxobject
}
11 \wxheading{Include files
}
15 \wxheading{Event table macros
}
17 To process an activate event, use these event handler macros to direct input to a member
18 function that takes a wxActivateEvent argument.
21 \begin{twocollist
}\itemsep=
0pt
22 \twocolitem{{\bf EVT
\_ACTIVATE(func)
}}{Process a wxEVT
\_ACTIVATE event.
}
23 \twocolitem{{\bf EVT
\_ACTIVATE\_APP(func)
}}{Process a wxEVT
\_ACTIVATE\_APP event.
}
28 A top-level window (a dialog or frame) receives an activate event when is
29 being activated or deactivated. This is indicated visually by the title
30 bar changing colour, and a subwindow gaining the keyboard focus.
32 An application is activated or deactivated when one of its frames becomes activated,
33 or a frame becomes inactivate resulting in all application frames being inactive. (Windows only)
37 \helpref{wxWindow::OnActivate
}{wxwindowonactivate
},
\rtfsp
38 %% GD: OnXXX functions are not documented
39 %%\helpref{wxApp::OnActivate}{wxapponactivate},\rtfsp
40 \helpref{Event handling overview
}{eventhandlingoverview
}
42 \latexignore{\rtfignore{\wxheading{Members
}}}
44 \membersection{wxActivateEvent::wxActivateEvent
}
46 \func{}{wxActivateEvent
}{\param{WXTYPE
}{eventType =
0},
\param{bool
}{ active = TRUE
},
\param{int
}{id =
0}}
50 \membersection{wxActivateEvent::m
\_active}
52 \member{bool
}{m
\_active}
54 TRUE if the window or application was activated.
56 \membersection{wxActivateEvent::GetActive
}\label{wxactivateeventgetactive
}
58 \constfunc{bool
}{GetActive
}{\void}
60 Returns TRUE if the application or window is being activated, FALSE otherwise.