Contents Up Previous Next

wxTipWindow

Shows simple text in a popup tip window on creation. This is used by wxSimpleHelpProvider to show popup help. The window automatically destroys itself when the user clicks on it or it loses the focus.

You should not normally need to use it explicitly in your application since a help provider class will create it when required.

Derived from

wxPopupTransientWindow
wxPopupWindow
wxWindow
wxEvtHandler
wxObject

Include files

<wx/tipwin.h>

Members

wxTipWindow::wxTipWindow
wxTipWindow::Adjust


wxTipWindow::wxTipWindow

wxTipWindow(wxWindow* parent, const wxString& text, wxCoord maxLength = 100)

Constructor. The tip is shown immediately the window is constructed.


wxTipWindow::Adjust

void Adjust(const wxString& text, wxCoord maxLength)

Calculates the client rect we need to display the text.