1 \section{\class{wxContextHelp
}}\label{wxcontexthelp
}
3 This class changes the cursor to a query and puts the application into a 'context-sensitive help mode'.
4 When the user left-clicks on a window within the specified window, a wxEVT
\_HELP event is
5 sent to that control, and the application may respond to it by popping up some help.
10 wxContextHelp contextHelp(myWindow);
13 \wxheading{Derived from
}
15 \helpref{wxObject
}{wxobject
}
17 \wxheading{Include files
}
23 \helpref{wxHelpEvent
}{wxhelpevent
},
\rtfsp
24 \helpref{wxHelpController
}{wxhelpcontroller
}
26 \latexignore{\rtfignore{\wxheading{Members
}}}
28 \membersection{wxContextHelp::wxContextHelp
}
30 \func{}{wxContextHelp
}{\param{wxWindow*
}{ window = NULL
},
\param{bool
}{ doNow = TRUE
}}
32 Constructs a context help object, calling
\helpref{BeginContextHelp
}{wxcontexthelpbegincontexthelp
} if
\rtfsp
33 {\it doNow
} is TRUE (the default).
35 If
{\it window
} is NULL, the top window is used.
37 \membersection{wxContextHelp::
\destruct{wxContextHelp
}}
39 \func{}{\destruct{wxContextHelp
}}{\void}
41 Destroys the context help object.
43 \membersection{wxContextHelp::BeginContextHelp
}\label{wxcontexthelpbegincontexthelp
}
45 \func{bool
}{BeginContextHelp
}{\param{wxWindow*
}{ window = NULL
}}
47 Puts the application into context-sensitive help mode.
{\it window
} is the window
48 which will be used to catch events; if NULL, the top window will be used.
50 Returns TRUE if the application was successfully put into context-sensitive help mode.
51 This function only returns when the event loop has finished.
53 \membersection{wxContextHelp::EndContextHelp
}\label{wxcontexthelpendcontexthelp
}
55 \func{bool
}{EndContextHelp
}{\void}
57 Ends context-sensitive help mode. Not normally called by the application.