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


C++ CAboutDlg::DoModal方法代码示例

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


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

示例1: OnSysCommand

void CRaidAnalyzerDlg::OnSysCommand(UINT nID, LPARAM lParam)
{
	if ((nID & 0xFFF0) == IDM_ABOUTBOX)
	{
		CAboutDlg dlgAbout;
		dlgAbout.DoModal();
	}
	else
	{
		CDialogEx::OnSysCommand(nID, lParam);
	}
}
开发者ID:Lyarvo4ka,项目名称:Projects,代码行数:12,代码来源:RaidAnalyzerDlg.cpp

示例2: OnSysCommand

//=============================================================================	
void CXButtonXPTestDlg::OnSysCommand(UINT nID, LPARAM lParam)
//=============================================================================	
{
	if ((nID & 0xFFF0) == IDM_ABOUTBOX)
	{
		CAboutDlg dlgAbout;
		dlgAbout.DoModal();
	}
	else
	{
		CDialog::OnSysCommand(nID, lParam);
	}
}
开发者ID:janker007,项目名称:cocoshun,代码行数:14,代码来源:XButtonXPTestDlg.cpp

示例3: OnSysCommand

// Change "Message Filter" in "Class Info" tab in Class Wizard to see OnSysCommand message
void CTargetDlg::OnSysCommand(UINT nID, LPARAM lParam) 
{
	// TODO: Add your message handler code here and/or call default
	if((nID & 0xFFF0) == IDM_ABOUTBOX)
	{
	    CAboutDlg aboutDlg;
	    aboutDlg.DoModal();
	}
	else
	{
		CDialog::OnSysCommand(nID, lParam);
	}	

}
开发者ID:old-games,项目名称:DXWnd-OG-build,代码行数:15,代码来源:TargetDlg.cpp

示例4: OnSupportToolCommand

void CMainFrame::OnSupportToolCommand( UINT id )
{
	if(id==WM_SUPPORT_CONTENTS){
		PostMessage(ID_HELP_FINDER);
		
		//HtmlHelp(NULL,HH_DISPLAY_TOPIC);
	}
	if(id==WM_SUPPORT_TIPOFTHEDAY)
	{
		CTipOfTheDayDlg TipDialog;
		TipDialog.DoModal();
	}
	if (id==WM_SUPPORT_HELPDESK)
		::ShellExecute (NULL, NULL, _T("http://www.potatosoftware.com/redir/?linkID=5"), NULL, NULL, NULL);
	if (id==WM_SUPPORT_FORUMS)
		::ShellExecute (NULL, NULL, _T("http://www.potatosoftware.com/redir/?linkID=6"), NULL, NULL, NULL);
	if (id==WM_SUPPORT_TUTORIALS)
		::ShellExecute (NULL, NULL, _T("http://www.potatosoftware.com/redir/?linkID=4"), NULL, NULL, NULL);
	if (id==WM_SUPPORT_FAQ)
		::ShellExecute (NULL, NULL, _T("http://www.potatosoftware.com/index.php?option=com_content&view=article&id=67&Itemid=78"), NULL, NULL, NULL);
	if (id==WM_SUPPORT_UPDATE)
		::ShellExecute (NULL, NULL, _T("http://code.google.com/p/easyprofiler/downloads/list"), NULL, NULL, NULL);
	if (id==WM_SUPPORT_COPYRIGHT)
		::ShellExecute (NULL, NULL, _T("http://www.apache.org/licenses/LICENSE-2.0"), NULL, NULL, NULL);
	if (id==WM_SUPPORT_VISIT)
		::ShellExecute (NULL, NULL, _T("http://www.potatosoftware.com"), NULL, NULL, NULL);
	if (id==WM_SUPPORT_INVITE)
		::ShellExecute (NULL, NULL, _T("http://www.potatosoftware.com/redir/?linkID=5"), NULL, NULL, NULL);
	if (id==WM_SUPPORT_NEWS)
		::ShellExecute (NULL, NULL, _T("http://www.potatosoftware.com/index.php?option=com_potatonews&view=list&Itemid=83"), NULL, NULL, NULL);

	if(id==WM_SUPPORT_MAILSUPPORT)
	{
		::ShellExecute (NULL, NULL, _T("mailto:[email protected]?subject=Easy Profiler"), NULL, NULL, NULL);
	}
	if (id==WM_SUPPORT_PARTNER)
	{
		::ShellExecute (NULL, NULL, _T("mailto:[email protected]?subject=Partner"), NULL, NULL, NULL);
	}
	if (id == WM_SUPPORT_CODE_PROJECT)
	{
		//Link to code project article.
		//Once the article is published, linkID 13 will point to the new address.
		::ShellExecute (NULL, NULL, _T("http://www.potatosoftware.com/redir?linkID=13"), NULL, NULL, NULL);
	}
	if (id == WM_SUPPORT_GOOGLE_CODE)
	{
		::ShellExecute (NULL, NULL, _T("http://code.google.com/p/easyprofiler/"), NULL, NULL, NULL);
	}
	if (id == WM_SUPPORT_BLOG)
	{
		::ShellExecute (NULL, NULL, _T("http://www.potatosoftware.com/index.php?option=com_myblog&Itemid=93"), NULL, NULL, NULL);
	}
	
	if (id==WM_SUPPORT_ABOUT)
	{
		CAboutDlg aboutDlg;
		aboutDlg.DoModal();
	}
	if (id == WM_SUPPORT_ACTIVATE_PRODUCT || id==WM_SUPPORT_LICENCEKEY)
	{
		AfxMessageBox(_T("One day this will be implemented ! :)"));
	}

}
开发者ID:geforce42376,项目名称:easyprofiler,代码行数:65,代码来源:MainFrm.cpp

示例5: OnContextmenuAboutpalemoonpreloader

void CDefaultDlg::OnContextmenuAboutpalemoonpreloader() { CAboutDlg dlgAbout; dlgAbout.DoModal(); }	// About...
开发者ID:Link-Satonaka,项目名称:Palemoon-Preloader,代码行数:1,代码来源:DefaultDlg.cpp

示例6:

void Cmp3taggerDlg::OnAboutbox()
{
	CAboutDlg dlg;
	dlg.DoModal();
}
开发者ID:przemeklal,项目名称:mp3tagger,代码行数:5,代码来源:mp3taggerDlg.cpp

示例7: OnAppAbout

// App command to run the dialog
void CTetrisApp::OnAppAbout()
{
	CAboutDlg aboutDlg;
	aboutDlg.DoModal();
}
开发者ID:zliting,项目名称:Tetris1,代码行数:6,代码来源:Tetris.cpp

示例8:

LRESULT [!output WTL_MAINDLG_CLASS]::OnAppAbout(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/)
{
	CAboutDlg dlg;
	dlg.DoModal();
	return 0;
}
开发者ID:FlatGlobus,项目名称:WTLBuilder,代码行数:6,代码来源:MainDlg.cpp

示例9: OnAppAbout

void CMWEditApp::OnAppAbout() {
  CAboutDlg aboutDlg;
  aboutDlg.DoModal();
 }
开发者ID:Purr4me,项目名称:TES5Edit-GoogleCode,代码行数:4,代码来源:MWEdit.cpp

示例10: OnAppAbout

void CChatCDlg::OnAppAbout()
{
	// TODO: 여기에 명령 처리기 코드를 추가합니다.
	CAboutDlg dlg;
	dlg.DoModal();
}
开发者ID:asdlei00,项目名称:project-jb,代码行数:6,代码来源:ChatCDlg.cpp

示例11: OnAppAbout

// App command to run the dialog
void CHoneyViewApp::OnAppAbout()
{
	CAboutDlg aboutDlg;
	aboutDlg.DoModal();
}
开发者ID:kippler,项目名称:Honeyview1,代码行数:6,代码来源:HoneyView.cpp

示例12: DoHelpAbout

// 帮助菜单
void CLogViewDlg::DoHelpAbout()
{
    CAboutDlg dlgAbout;
    dlgAbout.DoModal();
}
开发者ID:psgsgpsg,项目名称:xlogview,代码行数:6,代码来源:LogViewDlg.cpp

示例13: OnAppAbout

afx_msg void CGDSApp::OnAppAbout()
{//@CODE_3664

	CAboutDlg aboutDlg;
	aboutDlg.DoModal();
}//@CODE_3664
开发者ID:klhurley,项目名称:ElementalEngine2,代码行数:6,代码来源:CGDSApp.cpp

示例14: OnAbout

LRESULT CRunDlg::OnAbout(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/)
{
	CAboutDlg ab;
	ab.DoModal(m_hWnd);
	return 0;
}
开发者ID:timepp,项目名称:handyrun2,代码行数:6,代码来源:rundlg.cpp

示例15: OnAppAbout

// App command to run the dialog
void CSVCBoxTestApp::OnAppAbout()
{
	CAboutDlg aboutDlg;
	aboutDlg.DoModal();
}
开发者ID:zhangyongproject,项目名称:VC,代码行数:6,代码来源:SVCBoxTest.cpp


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