diff options
author | John Ankarström <john@ankarstrom.se> | 2022-02-14 18:00:33 +0100 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-02-14 18:00:33 +0100 |
commit | 58cbc7c7f4c0339928bdb704cb34ba387f12fa97 (patch) | |
tree | fccb8e892fb242f5be0a5d5e82e6450764a4ff9a /resource.rc | |
parent | 92f7852b6979239214848b7ebb4046d52e4aba06 (diff) | |
download | EpisodeBrowser-58cbc7c7f4c0339928bdb704cb34ba387f12fa97.tar.gz |
Implement list view, "about" dialog.
Diffstat (limited to 'resource.rc')
-rw-r--r-- | resource.rc | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/resource.rc b/resource.rc new file mode 100644 index 0000000..9f8af6e --- /dev/null +++ b/resource.rc @@ -0,0 +1,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
\ No newline at end of file |