void CRaidAnalyzerDlg::OnSysCommand(UINT nID, LPARAM lParam) { if ((nID & 0xFFF0) == IDM_ABOUTBOX) { CAboutDlg dlgAbout; dlgAbout.DoModal(); } else { CDialogEx::OnSysCommand(nID, lParam); } }
//============================================================================= void CXButtonXPTestDlg::OnSysCommand(UINT nID, LPARAM lParam) //============================================================================= { if ((nID & 0xFFF0) == IDM_ABOUTBOX) { CAboutDlg dlgAbout; dlgAbout.DoModal(); } else { CDialog::OnSysCommand(nID, lParam); } }
// 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); } }
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 ! :)")); } }
void CDefaultDlg::OnContextmenuAboutpalemoonpreloader() { CAboutDlg dlgAbout; dlgAbout.DoModal(); } // About...
void Cmp3taggerDlg::OnAboutbox() { CAboutDlg dlg; dlg.DoModal(); }
// App command to run the dialog void CTetrisApp::OnAppAbout() { CAboutDlg aboutDlg; aboutDlg.DoModal(); }
LRESULT [!output WTL_MAINDLG_CLASS]::OnAppAbout(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) { CAboutDlg dlg; dlg.DoModal(); return 0; }
void CMWEditApp::OnAppAbout() { CAboutDlg aboutDlg; aboutDlg.DoModal(); }
void CChatCDlg::OnAppAbout() { // TODO: 여기에 명령 처리기 코드를 추가합니다. CAboutDlg dlg; dlg.DoModal(); }
// App command to run the dialog void CHoneyViewApp::OnAppAbout() { CAboutDlg aboutDlg; aboutDlg.DoModal(); }
// 帮助菜单 void CLogViewDlg::DoHelpAbout() { CAboutDlg dlgAbout; dlgAbout.DoModal(); }
afx_msg void CGDSApp::OnAppAbout() {//@CODE_3664 CAboutDlg aboutDlg; aboutDlg.DoModal(); }//@CODE_3664
LRESULT CRunDlg::OnAbout(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) { CAboutDlg ab; ab.DoModal(m_hWnd); return 0; }
// App command to run the dialog void CSVCBoxTestApp::OnAppAbout() { CAboutDlg aboutDlg; aboutDlg.DoModal(); }
// App command to run the dialog void CBaikuDemoApp::OnAppAbout() { CAboutDlg aboutDlg; aboutDlg.DoModal(); }
void CMSDNIntegratorDlg::OnBtnHelp() { CAboutDlg dlgAbout; dlgAbout.DoModal(); }
void CFPAnalysisView::OnHelpAbout() { CAboutDlg aboutDlg; aboutDlg.DoModal(); }
// show the about dialog here void CAutomateGraphingApp::About(void) { CAboutDlg dlg; dlg.DoModal(); }
void CTortoiseMergeApp::OnAppAbout() { CAboutDlg aboutDlg; aboutDlg.DoModal(); }
void CAxTIF5App::OnAppAbout() { CAboutDlg wndDlg; wndDlg.DoModal(); }
// App command to run the dialog void CMonitorApp::OnAppAbout() { CAboutDlg aboutDlg; aboutDlg.DoModal(); }
void CPage1::OnDialogAbout() { CAboutDlg aboutDlg; aboutDlg.DoModal(); }
void CDuffDlg::Help() { CAboutDlg dlgAbout; dlgAbout.DoModal(); }
// Anwendungsbefehl zum Ausführen des Dialogfelds void CBibedtApp::OnAppAbout() { CAboutDlg aboutDlg; aboutDlg.DoModal(); }
void CMainFrame::OnAppAbout(UINT uNotifyCode, int nID, CWindow wndCtl) { CAboutDlg dlg; dlg.DoModal(); }
void CMainFrame::OnAppAbout() { CAboutDlg aboutDlg; aboutDlg.DoModal(); }
void CQSV2FLVDlg::OnBnClickedBtnAbout() { // TODO: 关于 CAboutDlg dlg; dlg.DoModal(); }
LRESULT CMainFrame::OnAppAbout(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) { CAboutDlg dlg; dlg.DoModal(); return 0; }
void CMainDlg::OnShowAbout() { CAboutDlg dlg; dlg.DoModal(); }