Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members

CHMIndexPanel Class Reference

Custom panel for displaying the .chm index (if available). More...

#include <chmindexpanel.h>

Inheritance diagram for CHMIndexPanel:

wxPanel List of all members.

Public Member Functions

 CHMIndexPanel (wxWindow *parent, CHMHtmlWindow *html)
 Initializes the panel.
CHMListCtrl * GetResultsList ()
 Accesor for the CHMListCtrl used by this panel.
void Reset ()
 Clears the textbox and removes all items from the list control.
void SetNewFont (const wxFont &font)
 Sets the font.

Protected Member Functions

void OnIndexSel (wxListEvent &event)
 This gets called when the user clicks on a list item.
void OnIndexSelRet (wxCommandEvent &event)
 This gets called when the user presses enter on a list item.
void OnText (wxCommandEvent &event)
 Called whenever the user types a letter in the textbox.

Private Attributes

CHMHtmlWindow * _html
wxTextCtrl * _text
CHMListCtrl * _lc
bool _navigate

Detailed Description

Custom panel for displaying the .chm index (if available).


Constructor & Destructor Documentation

CHMIndexPanel::CHMIndexPanel (  wxWindow *  parent,
CHMHtmlWindow *  html
) 
 

Initializes the panel.

Parameters:
parent Parent widget.
html HTML-capable widget used for displaying pages from the index.


The documentation for this class was generated from the following files:
Generated on Fri Nov 17 12:35:46 2006 for xCHM by  doxygen 1.4.4