Contents Up Previous Next

wxHtmlHelpDialog

This class is used by wxHtmlHelpController to display help. It is an internal class and should not be used directly - except for the case when you're writing your own HTML help controller.

Derived from

wxFrame

Include files

<wx/html/helpdlg.h>

Members

wxHtmlHelpDialog::wxHtmlHelpDialog
wxHtmlHelpDialog::AddToolbarButtons
wxHtmlHelpDialog::Create
wxHtmlHelpDialog::GetController
wxHtmlHelpDialog::ReadCustomization
wxHtmlHelpDialog::SetController
wxHtmlHelpDialog::SetTitleFormat
wxHtmlHelpDialog::WriteCustomization


wxHtmlHelpDialog::wxHtmlHelpDialog

wxHtmlHelpDialog(wxHtmlHelpData* data = NULL)

wxHtmlHelpDialog(wxWindow* parent, int wxWindowID, const wxString& title = wxEmptyString, int style = wxHF_DEFAULT_STYLE, wxHtmlHelpData* data = NULL)

Constructor. For the values of style, please see the documentation for wxHtmlHelpController.


wxHtmlHelpDialog::AddToolbarButtons

virtual void AddToolbarButtons(wxToolBar *toolBar, int style)

You may override this virtual method to add more buttons to the help window's toolbar. toolBar is a pointer to the toolbar and style is the style flag as passed to the Create method.

wxToolBar::Realize is called immediately after returning from this function.


wxHtmlHelpDialog::Create

bool Create(wxWindow* parent, wxWindowID id, const wxString& title = wxEmptyString, int style = wxHF_DEFAULT_STYLE)

Creates the dialog. See the constructor for a description of the parameters.


wxHtmlHelpDialog::GetController

wxHtmlHelpController* GetController() const

Returns the help controller associated with the dialog.


wxHtmlHelpDialog::ReadCustomization

void ReadCustomization(wxConfigBase* cfg, const wxString& path = wxEmptyString)

Reads the user's settings for this dialog see wxHtmlHelpController::ReadCustomization)


wxHtmlHelpDialog::SetController

void SetController(wxHtmlHelpController* contoller)

Sets the help controller associated with the dialog.


wxHtmlHelpDialog::SetTitleFormat

void SetTitleFormat(const wxString& format)

Sets the dialog's title format. format must contain exactly one "%s" (it will be replaced by the page title).


wxHtmlHelpDialog::WriteCustomization

void WriteCustomization(wxConfigBase* cfg, const wxString& path = wxEmptyString)

Saves the user's settings for this dialog (see wxHtmlHelpController::WriteCustomization).