X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f5c74fddf00138efc1acd84deeeb5dfdb60b5591..2712e31795ee7ab4de62189b440d702f3f849c0d:/docs/latex/wx/activevt.tex diff --git a/docs/latex/wx/activevt.tex b/docs/latex/wx/activevt.tex index 3b877c7da8..c507ff729f 100644 --- a/docs/latex/wx/activevt.tex +++ b/docs/latex/wx/activevt.tex @@ -12,6 +12,10 @@ or deactivated. +\wxheading{Library} + +\helpref{wxCore}{librarieslist} + \wxheading{Event table macros} To process an activate event, use these event handler macros to direct input to a member @@ -21,20 +25,23 @@ function that takes a wxActivateEvent argument. \begin{twocollist}\itemsep=0pt \twocolitem{{\bf EVT\_ACTIVATE(func)}}{Process a wxEVT\_ACTIVATE event.} \twocolitem{{\bf EVT\_ACTIVATE\_APP(func)}}{Process a wxEVT\_ACTIVATE\_APP event.} +\twocolitem{{\bf EVT\_HIBERNATE(func)}}{Process a hibernate event, supplying the member function. +This event applies to wxApp only, and only on Windows SmartPhone and PocketPC. It is generated when the +system is low on memory; the application should free up as much memory as possible, and restore +full working state when it receives a wxEVT\_ACTIVATE or wxEVT\_ACTIVATE\_APP event.} \end{twocollist}% \wxheading{Remarks} -A top-level window (a dialog or frame) receives an activate event when is +A top-level window (a dialog or frame) receives an activate event when it is being activated or deactivated. This is indicated visually by the title bar changing colour, and a subwindow gaining the keyboard focus. An application is activated or deactivated when one of its frames becomes activated, -or a frame becomes inactivate resulting in all application frames being inactive. (Windows only) +or a frame becomes inactivated resulting in all application frames being inactive. Please note that usually you should call \helpref{event.Skip()}{wxeventskip} in -your handlers for these events as not doing so can result in strange effects, -especially on Mac platform. +your handlers for these events as not doing so can result in strange effects. \wxheading{See also} @@ -49,12 +56,6 @@ especially on Mac platform. Constructor. -\membersection{wxActivateEvent::m\_active}\label{wxactivateeventmactive} - -\member{bool}{m\_active} - -true if the window or application was activated. - \membersection{wxActivateEvent::GetActive}\label{wxactivateeventgetactive} \constfunc{bool}{GetActive}{\void}