annotate src/win32/MainWndHelp.cpp @ 7:c0a590a394c3

ignore generated files
author Robert McIntyre <rlm@mit.edu>
date Sat, 03 Mar 2012 10:50:33 -0600
parents f9f4f1b99eed
children
rev   line source
rlm@1 1 #include "stdafx.h"
rlm@1 2 #include "resource.h"
rlm@1 3 #include "MainWnd.h"
rlm@1 4 #include "AboutDialog.h"
rlm@1 5 #include "BugReport.h"
rlm@1 6 #include "VBA.h"
rlm@1 7
rlm@1 8 extern int emulating;
rlm@1 9
rlm@1 10 void MainWnd::OnHelpAbout()
rlm@1 11 {
rlm@1 12 theApp.winCheckFullscreen();
rlm@1 13 AboutDialog dlg;
rlm@1 14
rlm@1 15 dlg.DoModal();
rlm@1 16 }
rlm@1 17
rlm@1 18 void MainWnd::OnHelpFaq()
rlm@1 19 {
rlm@1 20 ::ShellExecute(0, _T("open"), "http://vba.ngemu.com/faq.shtml",
rlm@1 21 0, 0, SW_SHOWNORMAL);
rlm@1 22 }
rlm@1 23
rlm@1 24 void MainWnd::OnHelpBugreport()
rlm@1 25 {
rlm@1 26 BugReport dlg(theApp.m_pMainWnd);
rlm@1 27
rlm@1 28 dlg.DoModal();
rlm@1 29 }
rlm@1 30