A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/message__box_8hpp_source.html below:

NCBI C++ ToolKit: include/gui/widgets/wx/message_box.hpp Source File

Go to the documentation of this file.

Go to the SVN repository for this file.

1 #ifndef GUI_DIALOGS_GENERAL___MESSAGE_BOX__HPP 2 #define GUI_DIALOGS_GENERAL___MESSAGE_BOX__HPP 42 #include <wx/gdicmn.h> 43 #include <wx/string.h> 44 #include <wx/arrstr.h> 62  const string

& title =

"Error"

,

69  const

wxString& title =

wxT

(

"Error"

),

75  const string

& title =

"Info"

);

80  const string

& title =

"Warning"

);

84  void NcbiErrorBox

(

const string

& message,

const string

& title =

"Error"

);

101  SFileDlgData

(

const string

& title,

const string

& wildcard,

long

style);

103  void

SetFilename(

const string

& filename);

104  string

GetFilename()

const

;

119  SWFileDlgData

(

const

wxString& title,

const

wxString& wildcard,

long

style);

121  void

SetFilename(

const

wxString& filename);

122

wxString GetFilename()

const

;

Include a standard set of the NCBI C++ Toolkit most basic headers.

Workaround for wxWidgets header errors in certain configurations; MUST be included (at least indirect...

vector< string > m_Filenames

EDialogReturnValue NcbiInfoBox(const string &message, const string &title="Info")

specialized Message Box function for reporting general information messages

void NcbiWarningBox(const string &message, const string &title="Warning")

specialized Message Box function for reporting non-critical errors

void NcbiErrorBox(const string &message, const string &title="Error")

specialized Message Box function for reporting critical errors

EDialogReturnValue NcbiMessageBoxW(const wxString &message, TDialogType type=eDialog_Ok, EDialogIcon icon=eIcon_Exclamation, const wxString &title=wxT("Error"), EDialogTextMode text_mode=eRaw)

int NcbiFileBrowser(SFileDlgData &data, wxWindow *parent=NULL)

show wxFileDialog and returns

wxArrayString m_Filenames

EDialogReturnValue NcbiMessageBox(const string &message, TDialogType type=eDialog_Ok, EDialogIcon icon=eIcon_Exclamation, const string &title="Error", EDialogTextMode text_mode=eRaw)

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

#define NCBI_GUIWIDGETS_WX_EXPORT

EDialogIcon

enumerated type for dialog icon

EDialogTextMode

enumerated return values for dialog boxes

EDialogReturnValue

enumerated return values for dialog boxes, starting from 1 to undermine attempts to cast it "bool"


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4