这篇教程C++ GetExtraStyle函数代码示例写得很实用,希望能帮到您。
本文整理汇总了C++中GetExtraStyle函数的典型用法代码示例。如果您正苦于以下问题:C++ GetExtraStyle函数的具体用法?C++ GetExtraStyle怎么用?C++ GetExtraStyle使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。 在下文中一共展示了GetExtraStyle函数的28个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。 示例1: SetExtraStylebool PrintOptions::Create( MolDisplayWin* parent, wxWindowID id, const wxString& caption, const wxPoint& pos, const wxSize& size, long style ){////@begin PrintOptions member initialisation FrameCheck = NULL; CenterCheck = NULL; MaxCheck = NULL;////@end PrintOptions member initialisation Parent = parent;////@begin PrintOptions creation SetExtraStyle(GetExtraStyle()|wxWS_EX_BLOCK_EVENTS); wxDialog::Create( parent, id, caption, pos, size, style ); CreateControls(); GetSizer()->Fit(this); GetSizer()->SetSizeHints(this); Centre();////@end PrintOptions creation return true;}
开发者ID:Reinis,项目名称:wxmacmolplt,代码行数:20,
示例2: GetExtraStylevoid wxWindowQt::SetExtraStyle( long exStyle ){ long exStyleOld = GetExtraStyle(); if ( exStyle == exStyleOld ) return; // update the internal variable wxWindowBase::SetExtraStyle(exStyle); if (!m_qtWindow) return; Qt::WindowFlags flags = m_qtWindow->windowFlags(); if (!(exStyle & wxWS_EX_CONTEXTHELP) != !(flags & Qt::WindowContextHelpButtonHint)) { flags ^= Qt::WindowContextHelpButtonHint; m_qtWindow->setWindowFlags(flags); }}
开发者ID:vdm113,项目名称:wxWidgets-ICC-patch,代码行数:20,
示例3: SetExtraStylebool mmNewAcctDialog::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(); m_accessChanged = false; GetSizer()->Fit(this); GetSizer()->SetSizeHints(this); SetIcon(mmex::getProgramIcon()); Centre(); return TRUE;}
开发者ID:4silvertooth,项目名称:moneymanagerex,代码行数:20,
示例4: SetExtraStylebool SplitTransactionDialog::Create(wxWindow* parent , wxWindowID id , const wxString& caption , const wxPoint& pos , const wxSize& size , long style){ lcSplit_ = nullptr; SetExtraStyle(GetExtraStyle()|wxWS_EX_BLOCK_EVENTS); wxDialog::Create( parent, id, caption, pos, size, style ); CreateControls(); GetSizer()->Fit(this); GetSizer()->SetSizeHints(this); Centre(); DataToControls(); return TRUE;}
开发者ID:bacanhtai,项目名称:moneymanagerex,代码行数:20,
示例5: SetExtraStylebool InfoDialog::Create( wxWindow* parent, wxWindowID id, const wxString& caption, const wxPoint& pos, const wxSize& size, long style ){////@begin InfoDialog member initialisation m_left_panel = NULL; m_left_sizer = NULL;////@end InfoDialog member initialisation////@begin InfoDialog creation SetExtraStyle(GetExtraStyle()|wxWS_EX_BLOCK_EVENTS); wxDialog::Create( parent, id, caption, pos, size, style ); CreateControls(); SetIcon(GetIconResource(AppSettings::get_default_img_path()+wxT("app_icon.ico"))); if (GetSizer()) { GetSizer()->SetSizeHints(this); }////@end InfoDialog creation return true;}
开发者ID:bianle,项目名称:daq,代码行数:20,
示例6: SetExtraStylebool WinEDA_PlotPSFrame::Create( wxWindow* parent, wxWindowID id, const wxString& caption, const wxPoint& pos, const wxSize& size, long style ){////@begin WinEDA_PlotPSFrame member initialisation m_SizeOption = NULL; m_PlotPSColorOption = NULL; m_Plot_Sheet_Ref = NULL; m_MsgBox = NULL;////@end WinEDA_PlotPSFrame member initialisation////@begin WinEDA_PlotPSFrame 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_PlotPSFrame creation return true;}
开发者ID:BackupTheBerlios,项目名称:kicad-svn,代码行数:20,
示例7: wxGetAppbool CDlgSelectComputer::Create(wxWindow* parent, wxWindowID id, const wxString& caption, const wxPoint& pos, const wxSize& size, long style){ wxString strCaption = caption; if (strCaption.IsEmpty()) { CSkinAdvanced* pSkinAdvanced = wxGetApp().GetSkinManager()->GetAdvanced(); wxASSERT(pSkinAdvanced); wxASSERT(wxDynamicCast(pSkinAdvanced, CSkinAdvanced)); strCaption.Printf(_("%s - Select Computer"), pSkinAdvanced->GetApplicationName().c_str()); } SetExtraStyle(GetExtraStyle()|wxWS_EX_BLOCK_EVENTS); wxDialog::Create(parent, id, strCaption, pos, size, style); CreateControls(); GetSizer()->Fit(this); GetSizer()->SetSizeHints(this); Centre(); return TRUE;}
开发者ID:phenix3443,项目名称:synecdoche,代码行数:20,
示例8: SetExtraStylebool KiDisplayOptionsFrame::Create( wxWindow* parent, wxWindowID id, const wxString& caption, const wxPoint& pos, const wxSize& size, long style ){////@begin KiDisplayOptionsFrame member initialisation m_IsShowPadNum = NULL; m_IsShowPadFill = NULL; m_EdgesDisplayOption = NULL; m_TextDisplayOption = NULL;////@end KiDisplayOptionsFrame member initialisation////@begin KiDisplayOptionsFrame creation SetExtraStyle(GetExtraStyle()|wxWS_EX_BLOCK_EVENTS); wxDialog::Create( parent, id, caption, pos, size, style ); CreateControls(); GetSizer()->Fit(this); GetSizer()->SetSizeHints(this); Centre();////@end KiDisplayOptionsFrame creation return true;}
开发者ID:BackupTheBerlios,项目名称:kicad-svn,代码行数:20,
示例9: Initbool wxDialog::Create( wxWindow* pParent, wxWindowID vId, const wxString& rsTitle, const wxPoint& rPos, const wxSize& rSize, long lStyle, const wxString& rsName){ Init(); SetExtraStyle(GetExtraStyle() | wxTOPLEVEL_EX_DIALOG); // // Save focus before doing anything which can potentially change it // m_pOldFocus = FindFocus(); // // All dialogs should really have this style // lStyle |= wxTAB_TRAVERSAL; if (!wxTopLevelWindow::Create( pParent ,vId ,rsTitle ,rPos ,rSize ,lStyle ,rsName )) return FALSE; SetFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT)); // // Must defer setting the title until after dialog is created and sized // if (!rsTitle.IsNull()) SetTitle(rsTitle); return TRUE;} // end of wxDialog::Create
开发者ID:gitrider,项目名称:wxsj2,代码行数:41,
示例10: SetExtraStylebool mmReportsPanel::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); wxString error; if (saveReportText(error)) browser_->LoadURL(getURL(mmex::getReportIndex())); else browser_->SetPage(error, ""); Model_Usage::instance().pageview(this); return TRUE;}
开发者ID:dqf88,项目名称:moneymanagerex,代码行数:21,
示例11: SetExtraStylebool wxDialog::Create( wxWindow *parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style, const wxString& name ){ SetExtraStyle( GetExtraStyle() | wxTOPLEVEL_EX_DIALOG ); // All dialogs should really have this style... style |= wxTAB_TRAVERSAL; // ...but not these styles style &= ~(wxYES | wxOK | wxNO); // | wxCANCEL if ( !wxTopLevelWindow::Create( parent, id, title, pos, size, style, name ) ) return false; return true;}
开发者ID:beanhome,项目名称:dev,代码行数:21,
示例12: SetExtraStylebool WinEDA_DrcFrame::Create( wxWindow* parent, wxWindowID id, const wxString& caption, const wxPoint& pos, const wxSize& size, long style ){////@begin WinEDA_DrcFrame member initialisation m_MainSizer = NULL; m_CommandSizer = NULL; m_ClearenceTitle = NULL; m_SetClearance = NULL; m_logWindow = NULL;////@end WinEDA_DrcFrame member initialisation////@begin WinEDA_DrcFrame 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_DrcFrame creation return true;}
开发者ID:BackupTheBerlios,项目名称:kicad-svn,代码行数:21,
示例13: SetExtraStylebool about::Create( wxWindow* parent, wxWindowID id, const wxString& caption, const wxPoint& pos, const wxSize& size, long style ){ m_parent = parent;#ifdef __WXOSX__ style |= wxSTAY_ON_TOP;#endif SetExtraStyle( GetExtraStyle() | wxWS_EX_BLOCK_EVENTS ); wxDialog::Create( parent, id, caption, pos, size, style ); wxFont *qFont = GetOCPNScaledFont(_("Dialog")); SetFont( *qFont ); m_displaySize = g_Platform->getDisplaySize(); CreateControls(); Populate(); RecalculateSize(); return TRUE;}
开发者ID:buya07,项目名称:KomodoExercise,代码行数:21,
示例14: SetExtraStylebool WinEDA_LabelPropertiesFrame::Create( wxWindow* parent, wxWindowID id, const wxString& caption, const wxPoint& pos, const wxSize& size, long style ){////@begin WinEDA_LabelPropertiesFrame member initialisation m_TextLabel = NULL; m_TextOrient = NULL; m_TextShape = NULL; m_SizeTitle = NULL; m_TextSize = NULL;////@end WinEDA_LabelPropertiesFrame member initialisation////@begin WinEDA_LabelPropertiesFrame 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_LabelPropertiesFrame creation return true;}
开发者ID:BackupTheBerlios,项目名称:kicad-svn,代码行数:21,
示例15: SetExtraStylevoid mmAttachmentDialog::Create(wxWindow* parent, const wxString& name){ SetExtraStyle(GetExtraStyle()|wxWS_EX_BLOCK_EVENTS); long style = wxCAPTION | wxCLOSE_BOX | wxRESIZE_BORDER; wxString WindowTitle; if (m_RefId > 0) WindowTitle = wxString::Format(_("Organize Attachments | %s %i"), wxGetTranslation(m_RefType), m_RefId); else WindowTitle = wxString::Format(_("Organize Attachments | New %s"), wxGetTranslation(m_RefType)); if (!wxDialog::Create(parent, wxID_ANY, WindowTitle, wxDefaultPosition, wxDefaultSize, style, name)) return; CreateControls(); fillControls(); GetSizer()->Fit(this); GetSizer()->SetSizeHints(this); SetIcon(mmex::getProgramIcon()); Centre();}
开发者ID:moneymanagerex,项目名称:moneymanagerex,代码行数:21,
示例16: DontCreatePeerbool wxNotebook::Create( wxWindow *parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxString& name ){ DontCreatePeer(); if (! (style & wxBK_ALIGN_MASK)) style |= wxBK_TOP; if ( !wxNotebookBase::Create( parent, id, pos, size, style, name ) ) return false; SetPeer(wxWidgetImpl::CreateTabView(this,parent, id, pos, size, style, GetExtraStyle() )); MacPostControlCreate( pos, size ); return true ;}
开发者ID:cwalther,项目名称:wxWidgets,代码行数:21,
示例17: DontCreatePeerbool wxStaticBox::Create( wxWindow *parent, wxWindowID id, const wxString& label, const wxPoint& pos, const wxSize& size, long style, const wxString& name ){ DontCreatePeer(); if ( !wxControl::Create( parent, id, pos, size, style, wxDefaultValidator, name ) ) return false; m_labelOrig = m_label = label; SetPeer(wxWidgetImpl::CreateGroupBox( this, parent, id, label, pos, size, style, GetExtraStyle() )); MacPostControlCreate( pos, size ); return true;}
开发者ID:vdm113,项目名称:wxWidgets-ICC-patch,代码行数:21,
示例18: SetExtraStylebool mmCustomFieldEditDialog::Create(wxWindow* parent , wxWindowID id , const wxString& caption , const wxPoint& pos , const wxSize& size , long style){ SetExtraStyle(GetExtraStyle() | wxWS_EX_BLOCK_EVENTS); if (!wxDialog::Create(parent, id, caption, pos, size, style)) return false; CreateControls(); dataToControls(); GetSizer()->Fit(this); this->SetInitialSize(); GetSizer()->SetSizeHints(this); SetIcon(mmex::getProgramIcon()); Centre(); return true;}
开发者ID:ipsec,项目名称:moneymanagerex,代码行数:21,
示例19: SetExtraStylevoid wxGenericProgressDialog::Init(){ // we may disappear at any moment, let the others know about it SetExtraStyle(GetExtraStyle() | wxWS_EX_TRANSIENT); // Initialize all our members that we always use (even when we don't // create a valid window in this class). m_pdStyle = 0; m_parentTop = NULL; m_gauge = NULL; m_msg = NULL; m_elapsed = m_estimated = m_remaining = NULL; m_state = Uncancelable; m_maximum = 0; m_timeStart = wxGetCurrentTime(); m_timeStop = (unsigned long)-1; m_break = 0; m_skip = false;#if !defined(__SMARTPHONE__) m_btnAbort = m_btnSkip = NULL;#endif m_display_estimated = m_last_timeupdate = m_ctdelay = 0; m_delay = 3; m_winDisabler = NULL; m_tempEventLoop = NULL;}
开发者ID:0ryuO,项目名称:dolphin-avsync,代码行数:40,
示例20: SetExtraStylebool FindDialog::Create( wxWindow* parent, int mode, wxWindowID id, const wxString& caption, const wxPoint& pos, const wxSize& size, long style ) { FindCtrl = NULL; ReplaceCtrl = NULL; MatchCheckBox = NULL; ButtonSearch = NULL; ButtonCancel = NULL; this->mode = mode; SetExtraStyle(GetExtraStyle()|wxWS_EX_BLOCK_EVENTS); wxDialog::Create( parent, id, caption, pos, size, style ); CreateControls(); GetSizer()->Fit(this); GetSizer()->SetSizeHints(this); Centre(); lastflags = 0; setanchor = 0; return TRUE;}
开发者ID:B-Rich,项目名称:breve,代码行数:22,
示例21: SetExtraStylebool CMProgressDialog::Create( wxWindow* parent, wxWindowID id, const wxString& caption, const wxPoint& pos, const wxSize& size, long style ){////@begin CMProgressDialog member initialisation m_textMessage = NULL; m_progress = NULL;////@end CMProgressDialog member initialisation////@begin CMProgressDialog creation SetExtraStyle(GetExtraStyle()|wxWS_EX_BLOCK_EVENTS); wxDialog::Create( parent, id, caption, pos, size, style ); CreateControls(); GetSizer()->Fit(this); GetSizer()->SetSizeHints(this); Centre();////@end CMProgressDialog creation m_cancelPressed = false; m_cancelling = false; return TRUE;}
开发者ID:AlexeyS,项目名称:cmake,代码行数:22,
示例22: SetExtraStylebool InfoDialog::Create( wxWindow* parent, wxWindowID id, const wxString& caption, const wxPoint& pos, const wxSize& size, long style ){////@begin InfoDialog member initialisation m_left_panel = NULL; m_left_sizer = NULL; m_caenvmetool_rev = NULL;////@end InfoDialog member initialisation////@begin InfoDialog creation SetExtraStyle(GetExtraStyle()|wxWS_EX_BLOCK_EVENTS); wxDialog::Create( parent, id, caption, pos, size, style ); CreateControls(); SetIcon(GetIconResource(wxT("scope2.png"))); if (GetSizer()) { GetSizer()->SetSizeHints(this); } Centre();////@end InfoDialog creation return true;}
开发者ID:abc6081,项目名称:daq,代码行数:22,
示例23: SetExtraStylebool mmFilterTransactionsDialog::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(); GetStoredSettings(-1); dataToControls(); GetSizer()->Fit(this); GetSizer()->SetSizeHints(this); SetIcon(mmex::getProgramIcon()); Centre(); return true;}
开发者ID:Hugoprogpro,项目名称:moneymanagerex,代码行数:22,
示例24: GetExtraStylebool wxSpinButton::Create( wxWindow *parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxString& name ){ m_macIsUserPane = false; if ( !wxSpinButtonBase::Create( parent, id, pos, size, style, wxDefaultValidator, name ) ) return false; m_min = 0; m_max = 100; if (!parent) return false; m_peer = wxWidgetImpl::CreateSpinButton( this , parent, id, 0, m_min, m_max, pos, size, style, GetExtraStyle() ); MacPostControlCreate( pos, size ); return true;}
开发者ID:jonntd,项目名称:dynamica,代码行数:22,
示例25: SetExtraStylevoid mmWebAppDialog::do_create(wxWindow* parent){ SetExtraStyle(GetExtraStyle() | wxWS_EX_BLOCK_EVENTS); long style = wxCAPTION | wxCLOSE_BOX | wxRESIZE_BORDER; if (!wxDialog::Create(parent, wxID_ANY, _("Import WebApp transactions") , wxDefaultPosition, wxDefaultSize, style)) { return; } CreateControls(); GetSizer()->Fit(this); GetSizer()->SetSizeHints(this); SetIcon(mmex::getProgramIcon()); fillControls(); Centre();}
开发者ID:avma,项目名称:moneymanagerex,代码行数:22,
示例26: SetExtraStylebool WinEDA_PadPropertiesFrame::Create( wxWindow* parent, wxWindowID id, const wxString& caption, const wxPoint& pos, const wxSize& size, long style ){////@begin WinEDA_PadPropertiesFrame member initialisation m_LeftBoxSizer = NULL; m_PadNumCtrl = NULL; m_PadNetNameCtrl = NULL; m_PadSizeBoxSizer = NULL; m_PadDeltaBoxSizer = NULL; m_PadOffsetBoxSizer = NULL; m_PadOrient = NULL; m_PadShape = NULL; m_PadType = NULL; m_PadLayerCu = NULL; m_PadLayerCmp = NULL; m_PadLayerAdhCmp = NULL; m_PadLayerAdhCu = NULL; m_PadLayerPateCmp = NULL; m_PadLayerPateCu = NULL; m_PadLayerSilkCmp = NULL; m_PadLayerSilkCu = NULL; m_PadLayerMaskCmp = NULL; m_PadLayerMaskCu = NULL; m_PadLayerECO1 = NULL; m_PadLayerECO2 = NULL; m_PadLayerDraft = NULL;////@end WinEDA_PadPropertiesFrame member initialisation////@begin WinEDA_PadPropertiesFrame 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_PadPropertiesFrame creation return true;}
开发者ID:BackupTheBerlios,项目名称:kicad-svn,代码行数:38,
示例27: wxGetAppbool CDlgMessages::Create( wxWindow* parent, wxWindowID id, const wxString& caption, const wxPoint& pos, const wxSize& size, long style ){ wxString strCaption = caption; if (strCaption.IsEmpty()) { CSkinAdvanced* pSkinAdvanced = wxGetApp().GetSkinManager()->GetAdvanced(); wxASSERT(pSkinAdvanced); wxASSERT(wxDynamicCast(pSkinAdvanced, CSkinAdvanced)); strCaption.Printf(_("%s - Messages"), pSkinAdvanced->GetApplicationName().c_str()); } SetExtraStyle(GetExtraStyle()|wxDIALOG_EX_CONTEXTHELP|wxWS_EX_BLOCK_EVENTS); wxDialog::Create( parent, id, strCaption, pos, size, style ); SetBackgroundStyle(wxBG_STYLE_CUSTOM); Freeze();#ifdef __WXDEBUG__ SetBackgroundColour(wxColour(255, 0, 255));#endif SetForegroundColour(*wxBLACK); CreateControls(); GetSizer()->Fit(this); GetSizer()->SetSizeHints(this); Center(); // To work properly on Mac, RestoreState() must be called _after_ // calling GetSizer()->Fit(), GetSizer()->SetSizeHints() and Center() RestoreState(); Thaw(); return true;}
开发者ID:Rytiss,项目名称:native-boinc-for-android,代码行数:38,
示例28: SetExtraStylebool wxDialog::Create(wxWindow *parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style, const wxString& name){ SetExtraStyle(GetExtraStyle() | wxTOPLEVEL_EX_DIALOG); // All dialogs should really have this style style |= wxTAB_TRAVERSAL; if ( !wxTopLevelWindow::Create(parent, id, title, pos, size, style, name) ) return false; if ( !m_hasFont ) SetFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT));#if defined(__SMARTPHONE__) && defined(__WXWINCE__) SetLeftMenu(wxID_OK, _("OK"));#endif#if wxUSE_TOOLBAR && defined(__POCKETPC__) CreateToolBar();#endif#if wxUSE_DIALOG_SIZEGRIP if ( HasFlag(wxRESIZE_BORDER) ) { CreateGripper(); Connect(wxEVT_CREATE, wxWindowCreateEventHandler(wxDialog::OnWindowCreate)); }#endif // wxUSE_DIALOG_SIZEGRIP return true;}
开发者ID:CustomCardsOnline,项目名称:wxWidgets,代码行数:38,
注:本文中的GetExtraStyle函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 C++ GetFactory函数代码示例 C++ GetExtension函数代码示例 |