aboutsummaryrefslogtreecommitdiff
path: root/resource.rc
blob: 9f8af6ed4d1ffd135369fc2ac96f8387971f14ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#include <windows.h>
#include "resource.h"

CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "episode_browser.manifest"

IDR_MENU MENU
BEGIN
	POPUP "&File"
	BEGIN
		MENUITEM "&Exit", ID_FILE_EXIT
	END
	POPUP "&Help"
	BEGIN
		MENUITEM "&About", ID_FILE_ABOUT
	END
END

#define PAD	7
#define ABOUTW	190
#define ABOUTH	40
#define OKW	48
#define OKH	16

IDD_ABOUT DIALOGEX DISCARDABLE 20, 20, ABOUTW, ABOUTH
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "About"
FONT 8, "MS Shell Dlg 2"
BEGIN
	DEFPUSHBUTTON	"&OK", IDOK, ABOUTW-OKW-PAD, ABOUTH-OKH-PAD, OKW, OKH
	LTEXT		TEXT("Episode Browser\r\nCopyright 2021 John Ankarström"),
			IDC_ABOUTTEXT, PAD, PAD, ABOUTW-OKW-PAD*2, ABOUTH-PAD
END