Пример #1
0
Boolean CBiddingForm::OnAbout(EventType* pEvent, Boolean& bHandled) {

	CAboutDialog frmAbout;
	frmAbout.DoModal();
	
	bHandled = false;
	return true;
}
Пример #2
0
void CTwisterDialog::OnSysCommand(UINT nID, LPARAM lParam) {
	if ((nID & 0xFFF0) == IDM_ABOUT) {
		CAboutDialog dlgAbout;
		dlgAbout.DoModal();
	}
	else {
		CDialog::OnSysCommand(nID, lParam);
	}
}
Пример #3
0
void CMainDialog::OnSysCommand(UINT nID, LPARAM lParam)
{
  if ((nID & 0xFFF0) == IDM_ABOUTBOX) {
    CAboutDialog dialog;
    dialog.DoModal();
  } else {
    CDialog::OnSysCommand(nID, lParam);
  }
}
Пример #4
0
void CBaseDialog::OnSysCommand(UINT nID, LPARAM lParam)
{
    switch ( nID )
    {
        case IDM_ABOUTBOX:
        {
            CAboutDialog  dlgAbout;
            dlgAbout.DoModal();

            break;
        }
        case IDS_HELPDOC:
        {
			//App ICON -> Menu -> Help
			CWnd *pWndPrev, *pWndChild;
			CString str, strHelpTitle;
			str.LoadString(IDS_APPNAME);
			AddPrefixName(str);
			strHelpTitle.Format(_T("%s %s"), str, _T("Help"));
			
			if(pWndPrev = CWnd::FindWindow(NULL, strHelpTitle))
			{
				pWndChild = pWndPrev->GetLastActivePopup();                     
				pWndPrev->ShowWindow(SW_RESTORE);
				pWndChild->SetForegroundWindow();    
			}
			else
			{
				//Press Help button
				
				//CString str = AfxGetApp()->m_pszHelpFilePath;
				//int iPos = str.ReverseFind('\\');    
				CString    strHelpFile;// = str.Left(iPos);
				//strHelpFile += "\\DataCardHelp.chm";
				//strHelpFile = "DataCardHelp.chm";
				strHelpFile=g_SetData.Main_szHelpFile;
				
				CString CInfo;
				if( (_waccess( strHelpFile, 0 )) == -1 )
				{
					CInfo.LoadString(IDS_HELPINFO);
					AfxMessageBox(CInfo);
				}
				
				ShellExecute(NULL, _T("open"),strHelpFile,    NULL, NULL, SW_SHOWNORMAL); 
			}  
            break;
        }
        default:
        {
            CDialog::OnSysCommand(nID, lParam);

            break;
        }
    }
    
}
Пример #5
0
void 
CMainFrame::OnCmdAppAbout(UINT /* wNotifyCode */, int /* wID */, HWND /* hWndCtl */)
{
	CAboutDialog dlg;
	dlg.DoModal();
}
Пример #6
0
void CCCFixDlg::OnAbout() 
{
	CAboutDialog dlgAbout;
	dlgAbout.DoModal();
}
Пример #7
0
void CTemplateSelectDialog::OnTsAbout() 
{
	CAboutDialog dlg;
	dlg.DoModal();
	GetDlgItem(IDC_TS_TREE)->SetFocus();
}
// Display About box.
void CEventHandlerApp::OnAppAbout()
{
	CAboutDialog aboutDialog;
	aboutDialog.DoModal();
}
void CTemplateFileListDialog::OnComAbout() 
{
	CAboutDialog dlg;
	dlg.DoModal();
}
Пример #10
0
void CTwisterDialog::OnAboutButton() 
{
	CAboutDialog dlg;
	dlg.DoModal();	
}
Пример #11
0
void CDizzyDialog::OnAbout() 
{
	CAboutDialog dlg;
	dlg.DoModal();
}
Пример #12
0
void CCedtApp::OnAppAbout() 
{
	CAboutDialog dlg;
	dlg.DoModal();
}