X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a660d684eda27638bca0384b2058911a31c8e845..68d411dc5724b9284455a31ef8a8d6d99c18d224:/docs/latex/wx/activevt.tex diff --git a/docs/latex/wx/activevt.tex b/docs/latex/wx/activevt.tex index 6eca563147..3b877c7da8 100644 --- a/docs/latex/wx/activevt.tex +++ b/docs/latex/wx/activevt.tex @@ -8,6 +8,10 @@ or deactivated. \helpref{wxEvent}{wxevent}\\ \helpref{wxObject}{wxobject} +\wxheading{Include files} + + + \wxheading{Event table macros} To process an activate event, use these event handler macros to direct input to a member @@ -28,29 +32,32 @@ 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) +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. + \wxheading{See also} -\helpref{wxWindow::OnActivate}{wxwindowonactivate},\rtfsp -\helpref{wxApp::OnActivate}{wxapponactivate},\rtfsp -\helpref{Event handling overview}{eventhandlingoverview} +\helpref{Event handling overview}{eventhandlingoverview},\rtfsp +\helpref{wxApp::IsActive}{wxappisactive} \latexignore{\rtfignore{\wxheading{Members}}} -\membersection{wxActivateEvent::wxActivateEvent} +\membersection{wxActivateEvent::wxActivateEvent}\label{wxactivateeventctor} -\func{}{wxActivateEvent}{\param{WXTYPE }{eventType = 0}, \param{int }{id = 0}} +\func{}{wxActivateEvent}{\param{WXTYPE }{eventType = 0}, \param{bool}{ active = true}, \param{int }{id = 0}} Constructor. -\membersection{wxActivateEvent::m\_active} +\membersection{wxActivateEvent::m\_active}\label{wxactivateeventmactive} \member{bool}{m\_active} -TRUE if the window or application was activated. +true if the window or application was activated. \membersection{wxActivateEvent::GetActive}\label{wxactivateeventgetactive} \constfunc{bool}{GetActive}{\void} -Returns TRUE if the application or window is being activated, FALSE otherwise. +Returns true if the application or window is being activated, false otherwise.