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

NCBI C++ ToolKit: src/gui/widgets/wx/demo/hello_combo_dlg.cpp Source File

15 #include <wx/bitmap.h> 18 #include <wx/stattext.h> 19 #include <wx/button.h> 20 #include <wx/combobox.h> 67  Create

(parent,

id

, caption, pos,

size

, style);

75 bool CHelloWorldDlg::Create

( wxWindow* parent, wxWindowID

id

,

const

wxString& caption,

const

wxPoint& pos,

const

wxSize&

size

,

long

style )

78 

SetExtraStyle(wxWS_EX_BLOCK_EVENTS);

79

wxDialog::Create( parent,

id

, caption, pos,

size

, style );

84

GetSizer()->SetSizeHints(

this

);

125

wxBoxSizer* itemBoxSizer2 =

new

wxBoxSizer(wxHORIZONTAL);

126

itemDialog1->SetSizer(itemBoxSizer2);

131

wxString choices[] = {

_

(

"First"

),

_

(

"Second"

),

_

(

"Third"

),

_

(

"Furst"

),

_

(

"Sucond"

),

_

(

"Thurd"

) };

132

wxArrayString arr_choices(

sizeof

(choices)/

sizeof

(wxString), choices );

136

itemDialog1,

wxID_ANY

,

_

(

""

), wxDefaultPosition, wxSize( 300, -1 ),

139

itemBoxSizer2->Add(itemComboBox3, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);

142

itemDialog1,

wxID_ANY

,

_

(

""

), wxDefaultPosition, wxDefaultSize,

145

itemBoxSizer2->Add(itemComboBox4, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);

150

itemBoxSizer2->Add(50, 5, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);

152

wxButton* itemButton5 =

new

wxButton( itemDialog1, wxID_CANCEL,

_

(

"&Close"

), wxDefaultPosition, wxDefaultSize, 0 );

153

itemBoxSizer2->Add(itemButton5, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);

void SetBaseItems(const wxArrayString &choices)

wxIcon GetIconResource(const wxString &name)

Retrieves icon resources.

wxBitmap GetBitmapResource(const wxString &name)

Retrieves bitmap resources.

static bool ShowToolTips()

Should we show tooltips?

CHelloWorldDlg()

Constructors.

void CreateControls()

Creates the controls and sizers.

bool Create(wxWindow *parent, wxWindowID id=10000, const wxString &caption=_("Empty wxWidets/C++ Toolkit app"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxSYSTEM_MENU|wxCLOSE_BOX)

Creation.

~CHelloWorldDlg()

Destructor.

void Init()

Initialises member variables.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

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


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