本文整理汇总了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);
}
}
示例2: OnSysCommand
//=============================================================================
void CXButtonXPTestDlg::OnSysCommand(UINT nID, LPARAM lParam)
//=============================================================================
{
if ((nID & 0xFFF0) == IDM_ABOUTBOX)
{
CAboutDlg dlgAbout;
dlgAbout.DoModal();
}
else
{
CDialog::OnSysCommand(nID, lParam);
}
}
示例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);
}
}
示例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 ! :)"));
}
}
示例5: OnContextmenuAboutpalemoonpreloader
void CDefaultDlg::OnContextmenuAboutpalemoonpreloader() { CAboutDlg dlgAbout; dlgAbout.DoModal(); } // About...
示例6:
void Cmp3taggerDlg::OnAboutbox()
{
CAboutDlg dlg;
dlg.DoModal();
}
示例7: OnAppAbout
// App command to run the dialog
void CTetrisApp::OnAppAbout()
{
CAboutDlg aboutDlg;
aboutDlg.DoModal();
}
示例8:
LRESULT [!output WTL_MAINDLG_CLASS]::OnAppAbout(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/)
{
CAboutDlg dlg;
dlg.DoModal();
return 0;
}
示例9: OnAppAbout
void CMWEditApp::OnAppAbout() {
CAboutDlg aboutDlg;
aboutDlg.DoModal();
}
示例10: OnAppAbout
void CChatCDlg::OnAppAbout()
{
// TODO: 여기에 명령 처리기 코드를 추가합니다.
CAboutDlg dlg;
dlg.DoModal();
}
示例11: OnAppAbout
// App command to run the dialog
void CHoneyViewApp::OnAppAbout()
{
CAboutDlg aboutDlg;
aboutDlg.DoModal();
}
示例12: DoHelpAbout
// 帮助菜单
void CLogViewDlg::DoHelpAbout()
{
CAboutDlg dlgAbout;
dlgAbout.DoModal();
}
示例13: OnAppAbout
afx_msg void CGDSApp::OnAppAbout()
{//@CODE_3664
CAboutDlg aboutDlg;
aboutDlg.DoModal();
}//@CODE_3664
示例14: OnAbout
LRESULT CRunDlg::OnAbout(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/)
{
CAboutDlg ab;
ab.DoModal(m_hWnd);
return 0;
}
示例15: OnAppAbout
// App command to run the dialog
void CSVCBoxTestApp::OnAppAbout()
{
CAboutDlg aboutDlg;
aboutDlg.DoModal();
}