-Fixed a couple of warnings

-Added a few menu options for accessing the website, forums, and for submitting bugs.
This commit is contained in:
cyberwarriorx 2006-12-01 06:36:02 +00:00
parent 8054223d02
commit abc9d733b2
3 changed files with 19 additions and 1 deletions

View File

@ -884,6 +884,15 @@ LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM
}
return 0;
case IDM_WEBSITE:
ShellExecute(NULL, "open", "http://desmume.sourceforge.net", NULL, NULL, SW_SHOWNORMAL);
return 0;
case IDM_FORUM:
ShellExecute(NULL, "open", "http://sourceforge.net/forum/?group_id=164579", NULL, NULL, SW_SHOWNORMAL);
return 0;
case IDM_SUBMITBUGREPORT:
ShellExecute(NULL, "open", "http://sourceforge.net/tracker/?func=add&group_id=164579&atid=832291", NULL, NULL, SW_SHOWNORMAL);
return 0;
}
return 0;
default: /* for messages that we don't deal with */

View File

@ -33,7 +33,7 @@ void refreshAll();
#define IconDeSmuME 100
#define IDC_STATIC 101
#define IDC_STATIC -1
#define IDM_OPEN 102
#define IDM_QUIT 103
#define IDC_FERMER 104
@ -66,6 +66,9 @@ void refreshAll();
#define IDM_PRINTSCREEN 140
#define IDM_QUICK_PRINTSCREEN 141
#define IDM_SOUNDSETTINGS 142
#define IDM_WEBSITE 143
#define IDM_FORUM 144
#define IDM_SUBMITBUGREPORT 145
#define IDM_STATE_LOAD 150
#define IDM_STATE_SAVE 151

View File

@ -346,6 +346,12 @@ MENU_PRINCIPAL MENU
MENUITEM "Sub BG 3", IDM_SBG3, CHECKED
}
}
POPUP "&Help"
{
MENUITEM "&Website", IDM_WEBSITE
MENUITEM "&Forums", IDM_FORUM
MENUITEM "&Submit a bug report", IDM_SUBMITBUGREPORT
}
}
IDD_CONFIG DIALOG DISCARDABLE 0, 0, 125, 227