choicdlg.h File Reference

Classes

class  wxMultiChoiceDialog
 This class represents a dialog that shows a list of strings, and allows the user to select one or more. More...
class  wxSingleChoiceDialog
 This class represents a dialog that shows a list of strings, and allows the user to select one. More...

Functions

int wxGetSingleChoiceIndex (const wxString &message, const wxString &caption, const wxArrayString &aChoices, wxWindow *parent=NULL, int x=-1, int y=-1, bool centre=true, int width=150, int height=200)
 Same as wxGetSingleChoice() but returns the index representing the selected string.
int wxGetSingleChoiceIndex (const wxString &message, const wxString &caption, int n, const wxString &choices[], wxWindow *parent=NULL, int x=-1, int y=-1, bool centre=true, int width=150, int height=200)
wxString wxGetSingleChoice (const wxString &message, const wxString &caption, const wxArrayString &aChoices, wxWindow *parent=NULL, int x=-1, int y=-1, bool centre=true, int width=150, int height=200)
 Pops up a dialog box containing a message, OK/Cancel buttons and a single-selection listbox.
wxString wxGetSingleChoice (const wxString &message, const wxString &caption, int n, const wxString &choices[], wxWindow *parent=NULL, int x=-1, int y=-1, bool centre=true, int width=150, int height=200)
wxString wxGetSingleChoiceData (const wxString &message, const wxString &caption, const wxArrayString &aChoices, const wxString &client_data[], wxWindow *parent=NULL, int x=-1, int y=-1, bool centre=true, int width=150, int height=200)
 Same as wxGetSingleChoice but takes an array of client data pointers corresponding to the strings, and returns one of these pointers or NULL if Cancel was pressed.
wxString wxGetSingleChoiceData (const wxString &message, const wxString &caption, int n, const wxString &choices[], const wxString &client_data[], wxWindow *parent=NULL, int x=-1, int y=-1, bool centre=true, int width=150, int height=200)
int wxGetSelectedChoices (wxArrayInt &selections, const wxString &message, const wxString &caption, const wxArrayString &aChoices, wxWindow *parent=NULL, int x=-1, int y=-1, bool centre=true, int width=150, int height=200)
 Pops up a dialog box containing a message, OK/Cancel buttons and a multiple-selection listbox.
int wxGetSelectedChoices (wxArrayInt &selections, const wxString &message, const wxString &caption, int n, const wxString &choices[], wxWindow *parent=NULL, int x=-1, int y=-1, bool centre=true, int width=150, int height=200)
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines



wxWidgets logo

[ top ]