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

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

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

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

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

示例1: childBestSize

wxSize wxBookCtrlBase::DoGetBestSize() const{    wxSize bestSize;    // iterate over all pages, get the largest width and height    const size_t nCount = m_pages.size();    for ( size_t nPage = 0; nPage < nCount; nPage++ )    {        const wxWindow * const pPage = m_pages[nPage];        if( pPage )        {            wxSize childBestSize(pPage->GetBestSize());            if ( childBestSize.x > bestSize.x )                bestSize.x = childBestSize.x;            if ( childBestSize.y > bestSize.y )                bestSize.y = childBestSize.y;        }    }    if (m_fitToCurrentPage && GetCurrentPage())        bestSize = GetCurrentPage()->GetBestSize();    // convert display area to window area, adding the size necessary for the    // tabs    wxSize best = CalcSizeFromPage(bestSize);    CacheBestSize(best);    return best;}
开发者ID:Kaoswerk,项目名称:newton-dynamics,代码行数:30,


示例2: wxRemoveFile

void CUpdateWizard::FailedTransfer(){	m_inTransfer = false;	if (!m_loaded)		return;	if (m_localFile != _T(""))	{		wxLogNull log;		wxRemoveFile(m_localFile);	}	if (!m_currentPage)		XRCCTRL(*this, "ID_FAILURE", wxStaticText)->SetLabel(_("Failed to check for newer version of FileZilla."));	else		XRCCTRL(*this, "ID_FAILURE", wxStaticText)->SetLabel(_("Failed to download the latest version of FileZilla."));	((wxWizardPageSimple*)GetCurrentPage())->SetNext(m_pages[3]);	m_pages[3]->SetPrev((wxWizardPageSimple*)GetCurrentPage());	m_skipPageChanging = true;	ShowPage(m_pages[3]);	m_currentPage = 3;	m_skipPageChanging = false;	wxButton* pNext = wxDynamicCast(FindWindow(wxID_FORWARD), wxButton);	pNext->Enable();	wxButton* pPrev = wxDynamicCast(FindWindow(wxID_BACKWARD), wxButton);	pPrev->Disable();	XRCCTRL(*this, "ID_LOG", wxTextCtrl)->ChangeValue(m_update_log);}
开发者ID:madnessw,项目名称:thesnow,代码行数:33,


示例3: GetCurrentPage

void CCandidateWindow::_NextComp(){	UINT uOldPage, uNewPage;	GetCurrentPage(&uOldPage);	if(_uIndex + 1 >= _uCount)	{		return;	}	_InvokeSfHandler(SKK_NEXT_COMP);	candidx++;	_uIndex++;	GetCurrentPage(&uNewPage);	_dwFlags = TF_CLUIE_SELECTION;	if(uNewPage != uOldPage)	{		_dwFlags |= TF_CLUIE_CURRENTPAGE;	}	_Update();	_UpdateUIElement();}
开发者ID:SGA-Takeshi-Tsukamoto,项目名称:corvusskk,代码行数:27,


示例4: SetBitmap

void WIZARD_3DSHAPE_LIBS_DOWNLOADER::OnPageChanged( wxWizardEvent& aEvent ){    SetBitmap( KiBitmap( wizard_add_fplib_icon_xpm ) );    enableNext( true );    if( GetCurrentPage() == m_githubListDlg )        setupGithubList();    else if( GetCurrentPage() == m_reviewDlg )        setupReview();}
开发者ID:AlexanderBrevig,项目名称:kicad-source-mirror,代码行数:10,


示例5: switch

bool CGUITextBox::GetCondition(int condition, int data) const{  switch (condition)  {  case CONTAINER_HAS_NEXT:      return (GetCurrentPage() < GetNumPages());  case CONTAINER_HAS_PREVIOUS:    return (GetCurrentPage() > 1);  default:    return false;  }}
开发者ID:has12,项目名称:xbmc,代码行数:12,


示例6: SetBitmap

void WIZARD_FPLIB_TABLE::OnPageChanged( wxWizardEvent& aEvent ){    SetBitmap( KiBitmap( wizard_add_fplib_icon_xpm ) );    enableNext( true );#ifdef BUILD_GITHUB_PLUGIN    if( GetCurrentPage() == m_githubListDlg )        setupGithubList();    else#endif        if( GetCurrentPage() == m_fileSelectDlg )            setupFileSelect();        else if( GetCurrentPage() == m_reviewDlg )            setupReview();}
开发者ID:blueantst,项目名称:kicad-source-mirror,代码行数:15,


示例7: switch

/*************************************************************************************  WebServerDialog::OnInputAction************************************************************************************//*virtual*/ BOOLWebServerDialog::OnInputAction(OpInputAction* action){	switch (action->GetAction())	{	case OpInputAction::ACTION_GET_ACTION_STATE:		{			OpInputAction* child_action = action->GetChildAction();			switch (child_action->GetAction())			{			case OpInputAction::ACTION_OPEN_ADVANCED_WEBSERVER_SETTINGS: // disable button after clicking it once				{					child_action->SetEnabled(IsFeatureSettingsPage(GetCurrentPage()));					return TRUE;				}			}		}		break;	case OpInputAction::ACTION_OPEN_ADVANCED_WEBSERVER_SETTINGS:		{			WebServerAdvancedSettingsDialog * dialog = OP_NEW(WebServerAdvancedSettingsDialog, (&m_current_settings, &m_current_settings));			if (dialog)			{				OpStatus::Ignore(dialog->Init(this));			}			return TRUE;		}	}	return FeatureDialog::OnInputAction(action);}
开发者ID:prestocore,项目名称:browser,代码行数:34,


示例8: GetCurrentPage

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