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/add__quick__launch__dlg_8cpp_source.html below:

NCBI C++ ToolKit: src/gui/core/add_quick_launch_dlg.cpp Source File

40 #include <wx/stattext.h> 42 #include <wx/bitmap.h> 43 #include <wx/button.h> 44 #include <wx/textctrl.h> 45 #include <wx/msgdlg.h> 72  Create

(parent,

id

, caption, pos,

size

, style);

78 

SetExtraStyle(wxWS_EX_BLOCK_EVENTS);

79

CDialog::Create( parent,

id

, caption, pos,

size

, style );

84

GetSizer()->SetSizeHints(

this

);

110

wxBoxSizer* itemBoxSizer2 =

new

wxBoxSizer(wxVERTICAL);

111

itemCDialog1->SetSizer(itemBoxSizer2);

113

wxStaticText* itemStaticText3 =

new

wxStaticText( itemCDialog1, wxID_STATIC,

_

(

"Please, enter short description of the parameter set:"

), wxDefaultPosition, wxDefaultSize, 0 );

114

itemBoxSizer2->Add(itemStaticText3, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);

116  m_DescrCtrl

=

new

wxTextCtrl( itemCDialog1,

ID_TEXTCTRL3

, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );

117

itemBoxSizer2->Add(

m_DescrCtrl

, 0, wxGROW|wxALL, 5);

119

wxStdDialogButtonSizer* itemStdDialogButtonSizer5 =

new

wxStdDialogButtonSizer;

121

itemBoxSizer2->Add(itemStdDialogButtonSizer5, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);

122

wxButton* itemButton6 =

new

wxButton( itemCDialog1, wxID_OK,

_

(

"&OK"

), wxDefaultPosition, wxDefaultSize, 0 );

123

itemStdDialogButtonSizer5->AddButton(itemButton6);

125

wxButton* itemButton7 =

new

wxButton( itemCDialog1, wxID_CANCEL,

_

(

"&Cancel"

), wxDefaultPosition, wxDefaultSize, 0 );

126

itemStdDialogButtonSizer5->AddButton(itemButton7);

128

itemStdDialogButtonSizer5->Realize();

137  if

(!CDialog::TransferDataFromWindow())

140

wxTextCtrl* textCtrl = (wxTextCtrl*)FindWindow(

ID_TEXTCTRL3

);

144

wxMessageBox(

wxT

(

"Please, enter non empty description"

),

wxT

(

"Error"

),

145

wxOK | wxICON_ERROR,

this

);

static bool ShowToolTips()

wxBitmap GetBitmapResource(const wxString &name)

wxIcon GetIconResource(const wxString &name)

virtual bool TransferDataFromWindow()

bool Create(wxWindow *parent, wxWindowID id=ID_CADDQUICKLAUNCHDLG, const wxString &caption=_("Add Quick Launch Entry"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)

virtual void SetRegistryPath(const string &path)

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

static string TruncateSpaces(const string &str, ETrunc where=eTrunc_Both)

Truncate whitespace in a string.

const struct ncbi::grid::netcache::search::fields::SIZE size

string ToStdString(const wxString &s)


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