AxModalAlertMenu Class Reference
[Basic AxTk UI classes]

Shows a modal menu with a combination of Yes, No, OK, Cancel menu items in addition to the main menu item. More...

#include <ax/ax_menu_alert.h>

Inheritance diagram for AxModalAlertMenu:

AxModalMenu

List of all members.

Public Member Functions

 AxModalAlertMenu ()
 AxModalAlertMenu (AxMenuController *controller, AxMenuItem *item, const wxString &menuLabel, const wxString &description, const wxString &mainItemLabel, int style=axALERT_NO_BUTTONS, const wxString &okItemLabel=_("OK"), const wxString &cancelItemLabel=_("Cancel"), const wxString &yesItemLabel=_("Yes"), const wxString &noItemLabel=_("No"), const wxString defaultId=AxIdentifierOK)
 ~AxModalAlertMenu ()
void Init ()


Detailed Description

Shows a modal menu with a combination of Yes, No, OK, Cancel menu items in addition to the main menu item.

Possible flags are:

If you use axALERT_NO_BUTTONS, only the main (only) menu item can be activated, and AxIdentifierOK will be returned from ShowModal.

Constructor & Destructor Documentation

AxModalAlertMenu::AxModalAlertMenu (  )  [inline]

AxModalAlertMenu::AxModalAlertMenu ( AxMenuController controller,
AxMenuItem item,
const wxString &  menuLabel,
const wxString &  description,
const wxString &  mainItemLabel,
int  style = axALERT_NO_BUTTONS,
const wxString &  okItemLabel = _("OK"),
const wxString &  cancelItemLabel = _("Cancel"),
const wxString &  yesItemLabel = _("Yes"),
const wxString &  noItemLabel = _("No"),
const wxString  defaultId = AxIdentifierOK 
)

AxModalAlertMenu::~AxModalAlertMenu (  )  [inline]


Member Function Documentation

void AxModalAlertMenu::Init (  )  [inline]

Reimplemented from AxModalMenu.


The documentation for this class was generated from the following files:

Generated on Wed May 6 19:22:07 2009 for AxTk by  doxygen 1.5.8