当前位置: 首页>>代码示例>>C++>>正文


C++ wxActivateEvent类代码示例

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


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

示例1: OnActivate

void MainFrame::OnActivate(wxActivateEvent& event)
{
    /* suggested by Brian Gaff */
    if(event.GetActive() && m_vList)
        m_vList->SetFocus();
    event.Skip();
}
开发者ID:genbtc,项目名称:UltraDefrag,代码行数:7,代码来源:main.cpp

示例2: OnActivate

void wxDocMDIChildFrame::OnActivate(wxActivateEvent& event)
{
    wxMDIChildFrame::OnActivate(event);

    if (event.GetActive() && m_childView)
        m_childView->Activate(event.GetActive());
}
开发者ID:Blackbird88,项目名称:pcsx2,代码行数:7,代码来源:docmdi.cpp

示例3: OnActivate

void wxWebView::OnActivate(wxActivateEvent& event)
{
    if (m_impl->page)
        m_impl->page->focusController()->setActive(event.GetActive());

    event.Skip();
}
开发者ID:jackiekaon,项目名称:owb-mirror,代码行数:7,代码来源:WebView.cpp

示例4: OnActivate

void wxInputConsumer::OnActivate(wxActivateEvent& event)
{
    if ( m_inputHandler && m_inputHandler->HandleActivation(this, event.GetActive()) )
        GetInputWindow()->Refresh();
    else
        event.Skip();
}
开发者ID:BackupTheBerlios,项目名称:wxbeos-svn,代码行数:7,代码来源:inpcons.cpp

示例5: OnActivate

void wxSTEditorFindReplaceDialog::OnActivate(wxActivateEvent &event)
{
    event.Skip();

    if (event.GetActive() && m_findReplacePanel)
        m_findReplacePanel->OnActivate(event);
}
开发者ID:Slulego,项目名称:GD,代码行数:7,代码来源:stefindr.cpp

示例6: OnActivate

void TableFrame::OnActivate(wxActivateEvent& event)
{
	if (event.GetActive()) {
        wxLogMessage("In TableFrame::OnActivate");
		RegisterAsActive("TableFrame", GetTitle());
	}
	event.Skip(false);
}
开发者ID:lixun910,项目名称:geoda,代码行数:8,代码来源:TableFrame.cpp

示例7: OnActivate

void PCPNewFrame::OnActivate(wxActivateEvent& event)
{
	LOG_MSG("In PCPNewFrame::OnActivate");
	if (event.GetActive()) {
		RegisterAsActive("PCPNewFrame", GetTitle());
	}
    if ( event.GetActive() && template_canvas ) template_canvas->SetFocus();
}
开发者ID:gouchangjiang,项目名称:opengeoda,代码行数:8,代码来源:PCPNewView.cpp

示例8: OnActivate

void LisaScatterPlotFrame::OnActivate(wxActivateEvent& event)
{
	LOG_MSG("In LisaScatterPlotFrame::OnActivate");
	if (event.GetActive()) {
		RegisterAsActive("LisaScatterPlotFrame", GetTitle());
	}
    if ( event.GetActive() && template_canvas ) template_canvas->SetFocus();
}
开发者ID:jontheepi,项目名称:geoda,代码行数:8,代码来源:LisaScatterPlotView.cpp

示例9: OnActivate

void TableFrame::OnActivate(wxActivateEvent& event)
{
    LOG_MSG("In TableFrame::OnActivate");
    if (event.GetActive()) {
        RegisterAsActive("TableFrame", GetTitle());
    }
    event.Skip(false);
}
开发者ID:ndon-ndon,项目名称:geoda,代码行数:8,代码来源:TableFrame.cpp

示例10: OnActivate

void ConnectivityHistFrame::OnActivate(wxActivateEvent& event)
{
    LOG_MSG("In ConnectivityHistFrame::OnActivate");
    if (event.GetActive()) {
        RegisterAsActive("ConnectivityHistFrame", GetTitle());
    }
    if ( event.GetActive() && template_canvas ) template_canvas->SetFocus();
}
开发者ID:ndon-ndon,项目名称:geoda,代码行数:8,代码来源:ConnectivityHistView.cpp

示例11: OnTLWActivated

// NOTE: binding to this event in the WebView constructor is too early in 
// some cases, but leave the event handler here so that users can bind to it
// at a later time if they have activation state problems.
void WebView::OnTLWActivated(wxActivateEvent& event)
{        
    if (m_impl && m_impl->page && m_impl->page->focusController())
        m_impl->page->focusController()->setActive(event.GetActive());
    
    event.Skip();
    
}
开发者ID:jiezh,项目名称:h5vcc,代码行数:11,代码来源:WebView.cpp

示例12: OnActivateOrDeactivateApp

void Scrubber::OnActivateOrDeactivateApp(wxActivateEvent &event)
{
   if (event.GetActive())
      mScrubHasFocus = IsScrubbing();
   else
      mScrubHasFocus = false;

   event.Skip();
}
开发者ID:ii0,项目名称:audacity,代码行数:9,代码来源:Scrubbing.cpp

示例13: OnActivate

void TestScrollWinFrame::OnActivate(wxActivateEvent& event)
{
  //LOG_MSG("In TestScrollWinFrame::OnActivate");
	if (event.GetActive()) {
		RegisterAsActive("TestScrollWinFrame", GetTitle());
	}
    if ( event.GetActive() && template_canvas )
        template_canvas->SetFocus();
}
开发者ID:LreeLenn,项目名称:geoda,代码行数:9,代码来源:TestScrollWinView.cpp

示例14: OnActivateOrDeactivateApp

void Scrubber::OnActivateOrDeactivateApp(wxActivateEvent &event)
{
   if (event.GetActive())
      Pause(!IsScrubbing() || mProject->GetControlToolBar()->IsPauseDown());
   else
      Pause(true);

   event.Skip();
}
开发者ID:MisterZeus,项目名称:audacity,代码行数:9,代码来源:Scrubbing.cpp

示例15: OnActivateApp

void CBOINCGUIApp::OnActivateApp(wxActivateEvent& event) {
    if (event.GetActive()) {
        if (m_pEventLog && !m_pEventLog->IsIconized()) {
            m_pEventLog->Raise();
        }
        m_pFrame->Raise();
    }
    event.Skip();
}
开发者ID:vertexclique,项目名称:playground,代码行数:9,代码来源:BOINCGUIApp.cpp


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