您当前的位置:首页 > IT编程 > C++
| C语言 | Java | VB | VC | python | Android | TensorFlow | C++ | oracle | 学术与代码 | cnn卷积神经网络 | gnn | 图像修复 | Keras | 数据集 | Neo4j | 自然语言处理 | 深度学习 | 医学CAD | 医学影像 | 超参数 | pointnet | pytorch | 异常检测 | Transformers | 情感分类 | 知识图谱 |

自学教程:C++ CreateControls函数代码示例

51自学网 2021-06-01 20:14:12
  C++
这篇教程C++ CreateControls函数代码示例写得很实用,希望能帮到您。

本文整理汇总了C++中CreateControls函数的典型用法代码示例。如果您正苦于以下问题:C++ CreateControls函数的具体用法?C++ CreateControls怎么用?C++ CreateControls使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。

在下文中一共展示了CreateControls函数的30个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。

示例1: ASSERT

	int CTemporalRefCtrl::OnCreate(LPCREATESTRUCT lpCreateStruct)	{		if (CWnd::OnCreate(lpCreateStruct) == -1)			return -1;		if (m_ref.m_type != CTRef::UNKNOWN)		{			m_type = m_ref.m_type;		}		ASSERT(m_period.IsInside(m_ref));		CreateControls();		return 0;	}
开发者ID:RNCan,项目名称:WeatherBasedSimulationFramework,代码行数:16,


示例2: SetExtraStyle

bool mmAppStartDialog::Create(wxWindow* parent, wxWindowID id, const wxString& caption    , const wxPoint& pos, const wxSize& size, long style){    SetExtraStyle(GetExtraStyle()|wxWS_EX_BLOCK_EVENTS);    bool ok = wxDialog::Create(parent, id, caption, pos, size, style);    if (ok) {        SetIcon(mmex::getProgramIcon());        CreateControls();        GetSizer()->Fit(this);        GetSizer()->SetSizeHints(this);        CentreOnScreen();    }    return ok;}
开发者ID:Maurizio13,项目名称:moneymanagerex,代码行数:16,


示例3: SetExtraStyle

/*! * AboutDlg creator */bool AboutDlg::Create( wxWindow* parent, wxWindowID id, const wxString& caption, const wxPoint& pos, const wxSize& size, long style ){////@begin AboutDlg member initialisation////@end AboutDlg member initialisation////@begin AboutDlg creation    SetExtraStyle(GetExtraStyle()|wxWS_EX_BLOCK_EVENTS);    wxDialog::Create( parent, id, caption, pos, size, style );    CreateControls();    GetSizer()->Fit(this);    GetSizer()->SetSizeHints(this);    Centre();////@end AboutDlg creation    return true;}
开发者ID:Xangis,项目名称:QuickTileViewer,代码行数:19,


示例4: _

bool AISTargetQueryDialog::Create( wxWindow* parent, wxWindowID id, const wxString& caption,                                   const wxPoint& pos, const wxSize& size, long style ){    //    As a display optimization....    //    if current color scheme is other than DAY,    //    Then create the dialog ..WITHOUT.. borders and title bar.    //    This way, any window decorations set by external themes, etc    //    will not detract from night-vision    long wstyle = AIS_TARGET_QUERY_STYLE;    if( ( global_color_scheme != GLOBAL_COLOR_SCHEME_DAY )            && ( global_color_scheme != GLOBAL_COLOR_SCHEME_RGB ) ) wstyle |= ( wxNO_BORDER );    if( !wxDialog::Create( parent, id, caption, pos, size, wstyle ) ) return false;    m_parent = parent;        wxFont *dFont = FontMgr::Get().GetFont( _("AISTargetQuery") );    int font_size = wxMax(8, dFont->GetPointSize());    wxString face = dFont->GetFaceName();#ifdef __WXGTK__    face = _T("Monospace");#endif    m_basefont = FontMgr::Get().FindOrCreateFont( font_size, wxFONTFAMILY_MODERN,                      wxFONTSTYLE_NORMAL, dFont->GetWeight(), false, face );    SetFont( *m_basefont );    m_adjustedFontSize = dFont->GetPointSize();    m_control_font_size = dFont->GetPointSize();        CreateControls();    SetColorScheme( global_color_scheme );    //Set the maximum size of the entire settings dialog    wxSize sz = g_Platform->getDisplaySize();    SetSizeHints( 50, 50, sz.x-20, sz.y-40 );        if(!m_bautosize){        Fit();          // Sets the horizontal size OK        Layout();         SetSize( -1, m_adjustedFontSize * 30);          // Estimated vertical size    }    return true;}
开发者ID:registry,项目名称:OpenCPN,代码行数:47,


示例5: CreateControls

bool MainFrame::Create(wxWindow* parent, wxWindowID id, const wxString& caption, const wxPoint& pos, const wxSize& size, long style){////@begin MainFrame creation    wxFrame::Create( parent, id, caption, pos, size, style );    CreateControls();    SetIcon(GetIconResource(wxT("res/nwnx4_icon.xpm")));////@end MainFrame creation	m_logger = new wxLogTextCtrl(m_log);	wxLog::SetActiveTarget(m_logger);	wxLog::AddTraceMask(TRACE_NORMAL);	wxLog::AddTraceMask(TRACE_VERBOSE);	wxLogMessage(wxT("Running in GUI mode."));	wxDateTime now = wxDateTime::Now();	m_startedAt->AppendText(now.Format());	controller = new NWNXController(m_config);	m_CmdLine->AppendText(controller->parameters);	m_PWEnabled->SetValue(controller->processWatchdog);	m_GWEnabled->SetValue(controller->gamespyWatchdog);    m_PWInterval->AppendText(wxT("1"));	m_GWInterval->AppendText(wxString::Format(wxT("%d"), controller->gamespyInterval));    m_GWRetries->AppendText(wxString::Format(wxT("%d"), controller->gamespyTolerance));	m_BtnStop->Enable(false);	// Create worker thread	worker = new NWNXWorker(controller, this);	if (worker->Create() != wxTHREAD_NO_ERROR)	{		wxLogError(wxT("Can't create worker thread!"));		worker->Delete();		worker = NULL;	}	else	{		worker->Run();		m_BtnStart->Enable(false);		worker->startServer();	}    return true;}
开发者ID:NWNX,项目名称:nwnx4,代码行数:47,


示例6: project

SaveSelectionDlg::SaveSelectionDlg(Project* project_s,								   wxWindow* parent,								   wxWindowID id,								   const wxString& caption,								   const wxPoint& pos,								   const wxSize& size, long style ): project(project_s), grid_base(project_s->GetGridBase()),m_all_init(false), is_space_time(project_s->GetGridBase()->IsTimeVariant()){	SetParent(parent);    CreateControls();    Centre();	InitTime();	FillColIdMap();	InitField();	m_all_init = true;}
开发者ID:gouchangjiang,项目名称:opengeoda,代码行数:17,


示例7: SetExtraStyle

void mmCustomFieldListDialog::Create(wxWindow* parent){    SetExtraStyle(GetExtraStyle()|wxWS_EX_BLOCK_EVENTS);    long style = wxCAPTION | wxCLOSE_BOX | wxRESIZE_BORDER;    wxString WindowTitle = wxString::Format(_("Personalize custom fields | %s"), m_RefType);    if (!wxDialog::Create(parent, wxID_ANY, WindowTitle, wxDefaultPosition, wxDefaultSize, style))        return;    CreateControls();    fillControls();    GetSizer()->Fit(this);    GetSizer()->SetSizeHints(this);    fillControls();    SetIcon(mmex::getProgramIcon());    Centre();}
开发者ID:vomikan,项目名称:moneymanagerex,代码行数:17,


示例8: SetExtraStyle

bool mmMainCurrencyDialog::Create(wxWindow* parent    , wxWindowID id    , const wxString& caption    , const wxPoint& pos    , const wxSize& size    , long style){    SetExtraStyle(GetExtraStyle()|wxWS_EX_BLOCK_EVENTS);    wxDialog::Create(parent, id, caption, pos, size, style);    CreateControls();    SetIcon(mmex::getProgramIcon());    fillControls();    Centre();    return TRUE;}
开发者ID:Zorg2409,项目名称:moneymanagerex,代码行数:17,


示例9: SetExtraStyle

bool mmCategDialog::Create(wxWindow* parent, wxWindowID id    , const wxString& caption, const wxPoint& pos    , const wxSize& size, long style){    SetExtraStyle(GetExtraStyle() | wxWS_EX_BLOCK_EVENTS);    wxDialog::Create(parent, id, caption, pos, size, style);    CreateControls();    fillControls();    GetSizer()->Fit(this);    GetSizer()->SetSizeHints(this);    this->SetInitialSize();    SetIcon(mmex::getProgramIcon());    SetMinSize(wxSize(316, 316));    Centre();    return TRUE;}
开发者ID:bacanhtai,项目名称:moneymanagerex,代码行数:17,


示例10: SetExtraStyle

bool ShareTransactionDialog::Create(wxWindow* parent, wxWindowID id, const wxString& caption    , const wxPoint& pos, const wxSize& size, long style){    SetExtraStyle(GetExtraStyle()|wxWS_EX_BLOCK_EVENTS);    wxDialog::Create(parent, id, caption, pos, size, style);    CreateControls();    GetSizer()->Fit(this);    GetSizer()->SetSizeHints(this);    SetIcon(mmex::getProgramIcon());    DataToControls();    Centre();    return TRUE;}
开发者ID:mek-x,项目名称:moneymanagerex,代码行数:17,


示例11: SetExtraStyle

/*---------------------------------------------------------------------------*/bool wxSQLHistory::Create(wxWindow* parent, wxWindowID id,                          const wxString& caption, const wxPoint& pos,                          const wxSize& size, long style){   SetExtraStyle(wxWS_EX_BLOCK_EVENTS);   wxDialog::Create(parent, id, caption, pos, size, style);   CreateControls();   SetIcon(wxGetApp().GetIcon(ID_ICO_SQLHISTO));   if (GetSizer())   {      GetSizer()->SetSizeHints(this);   }   Centre();   return true;}
开发者ID:pr1n4ple,项目名称:wxSqlitePlus,代码行数:18,


示例12: SetExtraStyle

ShipDesigner::ShipDesigner( wxWindow* parent)		:m_ToDesign(TD_SHIPS)		,m_ToView(TV_EXISTING)		,m_ChoosenView(-1){    SetExtraStyle(GetExtraStyle()|wxWS_EX_BLOCK_EVENTS);    wxDialog::Create( parent, ID_SHIPDESIGNER, _("Ship & Starbase Designer")				,wxDefaultPosition, wxSize(-1, -1)				,wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX );	CreateControls();    if (GetSizer())    {        GetSizer()->SetSizeHints(this);    }    Centre();}
开发者ID:Zardoz89,项目名称:freestars-code,代码行数:17,


示例13: CreateControls

bool panTaskLogo::Create( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ){////@begin panTaskLogo creation    wxPanel::Create( parent, id, pos, size, style );    CreateControls();    if (GetSizer())    {        GetSizer()->SetSizeHints(this);    }    Centre();////@end panTaskLogo creation	ReadParam();	m_isloadImage =false;    return true;}
开发者ID:dmccskylove,项目名称:src,代码行数:17,


示例14: SetExtraStyle

bool SetOtherDialog::Create(wxWindow *parent,wxWindowID id,const wxString &caption,const wxPoint &pos,const wxSize &size,long style){	SetExtraStyle(wxWS_EX_BLOCK_EVENTS | wxDIALOG_EX_CONTEXTHELP);	if(!wxDialog::Create(parent,id,caption,pos,size,style)){	  return false;	}	CreateControls();	GetSizer()->Fit(this);	GetSizer()->SetSizeHints(this);	Center();	return true;}
开发者ID:GCY,项目名称:wxRovio,代码行数:17,


示例15: CreateControls

/* * ColdfireUnlockerDialogue creator */bool ColdfireUnlockerPanel::Create( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ){//    SetExtraStyle(wxWS_EX_BLOCK_EVENTS);    wxPanel::Create(parent, id, pos, size, style);    CreateControls();    if (GetSizer()) {        GetSizer()->SetSizeHints(this);    }    knownDevices.loadConfigFile();    loadDeviceList();//    flashEraseMethods.loadMethods();    loadEraseMethodsList();    versionStaticControl->SetLabel(_(PROGRAM_VERSION_STRING));    targetSpeedTextControl->SetDecimalValue(8000);    return true;}
开发者ID:qiaozhou,项目名称:usbdm-applications,代码行数:20,


示例16: CreateControls

bool CProjectWelcomePage::Create( CBOINCBaseWizard* parent ){////@begin CProjectWelcomePage member initialisation////@end CProjectWelcomePage member initialisation	((CWizardAttach*)parent)->IsFirstPass = false; ////@begin CProjectWelcomePage creation    wxWizardPageEx::Create( parent, ID_PROJECTWELCOMEPAGE );    CreateControls();    GetSizer()->Fit(this);////@end CProjectWelcomePage creation	return TRUE;}
开发者ID:Ocode,项目名称:boinc,代码行数:17,


示例17: SetExtraStyle

bool WinEDA_PcbFindFrame::Create( wxWindow* parent, wxWindowID id, const wxString& caption, const wxPoint& pos, const wxSize& size, long style ){////@begin WinEDA_PcbFindFrame member initialisation    m_NewText = NULL;////@end WinEDA_PcbFindFrame member initialisation////@begin WinEDA_PcbFindFrame creation    SetExtraStyle(GetExtraStyle()|wxWS_EX_BLOCK_EVENTS);    wxDialog::Create( parent, id, caption, pos, size, style );    CreateControls();    GetSizer()->Fit(this);    GetSizer()->SetSizeHints(this);    Centre();////@end WinEDA_PcbFindFrame creation    return true;}
开发者ID:BackupTheBerlios,项目名称:kicad-svn,代码行数:17,


示例18: WXUNUSED

bool FoldTestPanel::Create( wxWindow* parent, wxWindowID id, const wxString& WXUNUSED(caption), const wxPoint& pos, const wxSize& size, long style ){////@begin FoldTestPanel member initialisation    blaat = NULL;////@end FoldTestPanel member initialisation////@begin FoldTestPanel creation    SetExtraStyle(GetExtraStyle()|wxWS_EX_BLOCK_EVENTS);    wxPanel::Create( parent, id, pos, size, style );    CreateControls();    GetSizer()->Fit(this);    GetSizer()->SetSizeHints(this);    Centre();////@end FoldTestPanel creation    return true;}
开发者ID:Bluehorn,项目名称:wxPython,代码行数:17,


示例19: CreateControls

boolTreeviewSample::Create( wxWindow* parent, wxWindowID id, const wxString& caption, const wxPoint& pos, const wxSize& size, long style ){  wxFrame::Create( parent, id, caption, pos, size, style );  CreateControls();  SetIcon(wxICON(mondrian));  SetMinSize(wxSize(500,200));  if (GetSizer())  {    GetSizer()->Fit(this);    GetSizer()->SetSizeHints(this);  }  Centre();  return true;}
开发者ID:eriser,项目名称:wxsqlite3,代码行数:17,


示例20: defined

bool CDlgOptions::Create(wxWindow* parent, wxWindowID id, const wxString& caption, const wxPoint& pos, const wxSize& size, long style){////@begin CDlgOptions member initialisation    m_LanguageSelectionCtrl = NULL;    m_ReminderFrequencyCtrl = NULL;    m_DialupStaticBoxCtrl = NULL;#if defined(__WXMSW__)    m_DialupConnectionsCtrl = NULL;    m_DialupSetDefaultCtrl = NULL;    m_DialupClearDefaultCtrl = NULL;    m_DialupDefaultConnectionTextCtrl = NULL;    m_DialupDefaultConnectionCtrl = NULL;#endif      // __WXMSW__    m_EnableHTTPProxyCtrl = NULL;    m_HTTPAddressCtrl = NULL;    m_HTTPPortCtrl = NULL;    m_HTTPUsernameCtrl = NULL;    m_HTTPPasswordCtrl = NULL;    m_EnableSOCKSProxyCtrl = NULL;    m_SOCKSAddressCtrl = NULL;    m_SOCKSPortCtrl = NULL;    m_SOCKSUsernameCtrl = NULL;    m_SOCKSPasswordCtrl = NULL;////@end CDlgOptions member initialisation    wxString strCaption = caption;    if (strCaption.IsEmpty()) {        CSkinAdvanced* pSkinAdvanced = wxGetApp().GetSkinManager()->GetAdvanced();        wxASSERT(pSkinAdvanced);        wxASSERT(wxDynamicCast(pSkinAdvanced, CSkinAdvanced));        strCaption.Printf(_("%s - Options"), pSkinAdvanced->GetApplicationName().c_str());    }////@begin CDlgOptions creation    SetExtraStyle(GetExtraStyle()|wxWS_EX_BLOCK_EVENTS);    wxDialog::Create( parent, id, strCaption, pos, size, style );    CreateControls();    GetSizer()->Fit(this);    GetSizer()->SetSizeHints(this);    Centre();////@end CDlgOptions creation    return TRUE;}
开发者ID:phenix3443,项目名称:synecdoche,代码行数:45,


示例21: SetExtraStyle

bool ConnectManagerDlg::Create( wxWindow* parent, wxWindowID id, const wxString& caption, const wxPoint& pos, const wxSize& size, long style ){////@begin ConnectManagerDlg creation    SetExtraStyle(wxWS_EX_VALIDATE_RECURSIVELY|wxWS_EX_BLOCK_EVENTS);    wxDialog::Create( parent, id, caption, pos, size, style );    CreateControls();    if (GetSizer())    {        GetSizer()->SetSizeHints(this);    }    Centre();////@end ConnectManagerDlg creation	UpdateList();    return true;}
开发者ID:luzhlon,项目名称:cpp,代码行数:18,


示例22: CreateControls

int CGridChartWnd::OnCreate(LPCREATESTRUCT lpCreateStruct){	if (CWnd::OnCreate(lpCreateStruct) == -1)		return -1;	CWnd* pParent = NULL;	if(lpCreateStruct)	{		pParent = CWnd::FromHandle (lpCreateStruct->hwndParent);	}	if (pParent != NULL && pParent->IsKindOf (RUNTIME_CLASS (CView)) == NULL)	{		return CreateControls ();	}	return 0;}
开发者ID:samkrew,项目名称:nxp-lpc,代码行数:18,


示例23: SetExtraStyle

bool mmHomePagePanel::Create(wxWindow *parent    , wxWindowID winid    , const wxPoint& pos    , const wxSize& size    , long style    , const wxString& name){    SetExtraStyle(GetExtraStyle() | wxWS_EX_BLOCK_EVENTS);    wxPanel::Create(parent, winid, pos, size, style, name);    CreateControls();    GetSizer()->Fit(this);    GetSizer()->SetSizeHints(this);    createHTML();    return TRUE;}
开发者ID:leandrosob,项目名称:moneymanagerex,代码行数:18,


示例24: CreateControls

bool panTaskColor::Create( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ){////@begin panTaskColor creation    wxPanel::Create( parent, id, pos, size, style );    CreateControls();    if (GetSizer())    {        GetSizer()->SetSizeHints(this);    }    Centre();////@end panTaskColor creation	m_meanblue->SetValue(c_pgvTask->gvTask_GetmeanBlue()) ;	m_meanred->SetValue(c_pgvTask->gvTask_GetmeanRed());	m_meangreen	->SetValue(c_pgvTask->gvTask_GetmeanGreen());    return true;}
开发者ID:dmccskylove,项目名称:src,代码行数:18,


示例25: SetExtraStyle

bool DlgSaveLayout::Create( wxWindow* parent, wxWindowID id, const wxString& caption, const wxPoint& pos, const wxSize& size, long style ){////@begin DlgSaveLayout member initialisation    m_ComboLayout = NULL;////@end DlgSaveLayout member initialisation////@begin DlgSaveLayout creation    SetExtraStyle(GetExtraStyle()|wxWS_EX_BLOCK_EVENTS);    SetParent(parent);    CreateControls();    GetSizer()->Fit(this);    GetSizer()->SetSizeHints(this);    Centre();////@end DlgSaveLayout creation	SetTitle(caption);    return true;}
开发者ID:cubemoon,项目名称:game-editor,代码行数:18,


示例26: SetExtraStyle

/*---------------------------------------------------------------------------*/bool wxBackupRestoreDbDlg::Create(wxWindow* parent, bool backup, wxWindowID id,                                  const wxPoint& pos, const wxSize& size,                                  long style){   m_BackUp  = backup;   SetExtraStyle(wxWS_EX_BLOCK_EVENTS);   wxDialog::Create(parent, id, (m_BackUp ? _("Backup Database") :                                           _("Restore Database")),                    pos, size, style);   CreateControls();   SetIcon(wxGetApp().GetIcon(ID_ICO_DATABASE));   if (GetSizer())   {      GetSizer()->SetSizeHints(this);   }   Centre();   return true;}
开发者ID:omalleypat,项目名称:wxSqlitePlus,代码行数:19,


示例27: wxDialog

xOptionsDialog::xOptionsDialog(wxWindow* parent, wxWindowID id, const wxString& caption, const wxPoint& pos, const wxSize& size, long style)    : wxDialog(parent, id, caption, pos, size, style){    CurrentPage=NULL;    MainSizer=NULL;    MainListView=NULL;    SetExtraStyle(GetExtraStyle() | wxWS_EX_BLOCK_EVENTS);    CreateControls();    Centre();    wxSize MinSize = FindMinSize();    SetSize(MinSize);    SetSizeHints(MinSize);    MainListView->Select(0); //Initially Select The First Item    ShowSelectedPanel();}
开发者ID:BackupTheBerlios,项目名称:xmule-svn,代码行数:18,


示例28: SetExtraStyle

bool mmTransDialog::Create(wxWindow* parent, wxWindowID id, const wxString& caption    , const wxPoint& pos, const wxSize& size, long style){    SetExtraStyle(GetExtraStyle()|wxWS_EX_BLOCK_EVENTS);    wxDialog::Create(parent, id, caption, pos, size, style);    CreateControls();    GetSizer()->Fit(this);    GetSizer()->SetSizeHints(this);    SetIcon(mmex::getProgramIcon());    m_duplicate ? SetDialogTitle(_("Duplicate Transaction"))                : SetDialogTitle(m_new_trx ? _("New Transaction") : _("Edit Transaction"));    Centre();    Fit();    return TRUE;}
开发者ID:twoubt,项目名称:moneymanagerex,代码行数:18,


示例29: WndProc

LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam){    LRESULT result;    if (msg == _msgAttach)        return HandleAPIAttach((HWND)wParam, lParam);    if (msg == _msgDiscoverTest)        return HandleAPIDiscoverTest((HWND)wParam);    switch(msg)    {    case WM_CREATE:        CreateControls(hwnd);        break;    case WM_DESTROY:        PostQuitMessage(0);        return FALSE;    case WM_TIMER:        break;    case WM_COPYDATA:        // reattach if fails        result = HandleCopyData((HWND)wParam, (PCOPYDATASTRUCT)lParam);        if (!result)        {            SkypeAttach(_hwnd);            result = HandleCopyData((HWND)wParam, (PCOPYDATASTRUCT)lParam);        }        UpdateMessageCntText();        return result;    case API_ATTACH_AVAILABLE:        SetConnStatusText("API_ATTACH_AVAILABLE");        _hwndSkype = NULL;        SkypeAttach(_hwnd);        return TRUE;    } // msg    return DefWindowProcW(hwnd, msg, wParam, lParam);}
开发者ID:sh123,项目名称:papi_proxy,代码行数:44,


示例30: DlgCounters

//---------------------------------------------------------------------------------------PractiseCounters::PractiseCounters(wxWindow* parent, wxWindowID id,                                   ExerciseCtrol* pOwner, ExerciseOptions* pConstrains,                                   LeitnerManager* pProblemMngr, const wxPoint& pos)    : DlgCounters(parent, id, pOwner, pConstrains, pos){    //initializations    m_pProblemMngr = pProblemMngr;    // Create the controls    CreateControls();    //load icons    wxBitmap bmp = wxArtProvider::GetBitmap("button_accept", wxART_TOOLBAR, wxSize(24,24));    m_pBmpRight->SetBitmap(bmp);    bmp = wxArtProvider::GetBitmap("button_cancel", wxART_TOOLBAR, wxSize(24,24));    m_pBmpWrong->SetBitmap(bmp);    bmp = wxArtProvider::GetBitmap("diploma_cap", wxART_TOOLBAR, wxSize(35,24));    m_pBmpTotal->SetBitmap(bmp);}
开发者ID:gouchi,项目名称:lenmus,代码行数:20,



注:本文中的CreateControls函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


C++ CreateDIBSection函数代码示例
C++ CreateContext函数代码示例
万事OK自学网:51自学网_软件自学网_CAD自学网自学excel、自学PS、自学CAD、自学C语言、自学css3实例,是一个通过网络自主学习工作技能的自学平台,网友喜欢的软件自学网站。