#ifndef __INPUTDIALOG_H__
#define __INPUTDIALOG_H__
#include "dialogex.h"
class CInputDialog : public wxDialogEx
{
public:
CInputDialog();
virtual ~CInputDialog() {}
bool Create(wxWindow* parent, const wxString& title, wxString text);
bool SetPasswordMode(bool password);
void AllowEmpty(bool allowEmpty);
void SetValue(const wxString& value);
wxString GetValue() const;
bool SelectText(int start, int end);
protected:
DECLARE_EVENT_TABLE()
void OnValueChanged(wxCommandEvent& event);
void OnOK(wxCommandEvent& event);
void OnCancel(wxCommandEvent& event);
bool m_allowEmpty;
wxTextCtrl* m_pTextCtrl;
};
#endif //__INPUTDIALOG_H__
¤ Dauer der Verarbeitung: 0.96 Sekunden
¤
*© Formatika GbR, Deutschland