X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..02a3b39120a618998dc690e95c3983606ea97745:/docs/latex/wx/helpinst.tex diff --git a/docs/latex/wx/helpinst.tex b/docs/latex/wx/helpinst.tex index c93b02c263..846b8eb169 100644 --- a/docs/latex/wx/helpinst.tex +++ b/docs/latex/wx/helpinst.tex @@ -32,7 +32,12 @@ There are currently the following help controller classes defined: \begin{itemize}\itemsep=0pt \item wxWinHelpController, for controlling Windows Help. \item wxCHMHelpController, for controlling MS HTML Help. To use this, you need to set wxUSE\_MS\_HTML\_HELP -to 0 in setup.h, and link your application with Microsoft's htmlhelp.lib. Currently VC++ only. +to 1 in setup.h and have htmlhelp.h header from Microsoft's HTML Help kit (you don't need +VC++ specific htmlhelp.lib because wxWindows loads neccessary DLL at runtime and so it +works with all compilers). +\item wxBestHelpController, for controlling MS HTML Help or, if Microsoft's runtime is +not available, \helpref{wxHtmlHelpController}{wxhtmlhelpcontroller}. You need to provide +{\bf both} CHM and HTB versions of the help file. For 32bit Windows only. \item wxExtHelpController, for controlling external browsers under Unix. The default browser is Netscape Navigator. The 'help' sample shows its use. \item wxHelpControllerHtml, using \helpref{wxHTML}{wxhtml} to display help. See {\tt wx/helpwxht.h} for @@ -116,6 +121,14 @@ This function is for backward compatibility only, and applications should use \h If the help viewer is not running, runs it and displays the contents. +\membersection{wxHelpController::DisplayContextPopup}\label{wxhelpcontrollerdisplaycontextpopup} + +\func{virtual bool}{DisplayContextPopup}{\param{int }{contextId}} + +Displays the section as a popup window using a context id. + +Returns FALSE if unsuccessful or not implemented. + \membersection{wxHelpController::DisplaySection}\label{wxhelpcontrollerdisplaysection} \func{virtual bool}{DisplaySection}{\param{const wxString\&}{ section}} @@ -146,6 +159,14 @@ If the help viewer is not running, runs it and displays the given section. See also the help sample for notes on how to specify section numbers for various help file formats. +\membersection{wxHelpController::DisplayTextPopup}\label{wxhelpcontrollerdisplaytextpopup} + +\func{virtual bool}{DisplayTextPopup}{\param{const wxString\&}{ text}, \param{const wxPoint\& }{pos}} + +Displays the text in a popup window, if possible. + +Returns FALSE if unsuccessful or not implemented. + \membersection{wxHelpController::GetFrameParameters}\label{wxhelpcontrollergetframeparameters} \func{virtual wxFrame *}{GetFrameParameters}{\param{const wxSize * }{size = NULL}, \param{const wxPoint * }{pos = NULL},