diff src/win32/MainWndHelp.cpp @ 1:f9f4f1b99eed

importing src directory
author Robert McIntyre <rlm@mit.edu>
date Sat, 03 Mar 2012 10:31:27 -0600
parents
children
line wrap: on
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/win32/MainWndHelp.cpp	Sat Mar 03 10:31:27 2012 -0600
     1.3 @@ -0,0 +1,30 @@
     1.4 +#include "stdafx.h"
     1.5 +#include "resource.h"
     1.6 +#include "MainWnd.h"
     1.7 +#include "AboutDialog.h"
     1.8 +#include "BugReport.h"
     1.9 +#include "VBA.h"
    1.10 +
    1.11 +extern int emulating;
    1.12 +
    1.13 +void MainWnd::OnHelpAbout()
    1.14 +{
    1.15 +	theApp.winCheckFullscreen();
    1.16 +	AboutDialog dlg;
    1.17 +
    1.18 +	dlg.DoModal();
    1.19 +}
    1.20 +
    1.21 +void MainWnd::OnHelpFaq()
    1.22 +{
    1.23 +	::ShellExecute(0, _T("open"), "http://vba.ngemu.com/faq.shtml",
    1.24 +	               0, 0, SW_SHOWNORMAL);
    1.25 +}
    1.26 +
    1.27 +void MainWnd::OnHelpBugreport()
    1.28 +{
    1.29 +	BugReport dlg(theApp.m_pMainWnd);
    1.30 +
    1.31 +	dlg.DoModal();
    1.32 +}
    1.33 +