mirror of
https://github.com/fadden/ciderpress.git
synced 2024-12-22 05:29:43 +00:00
b2cd857031
This adds a replacement for the SelectFilesDialog class. It has been updated to use Explorer-style dialogs, which are a bit nicer than the old-style dialogs. Hopefully this will eliminate some of the brain damage, like the disappearing Accept button. This change only updates MDC. A second change will update the main app and remove the old code. Also, updated the MDC version to 3.0.0, and changed the web site linked in the Help menu from faddensoft.com to a2ciderpress.com.
201 lines
5.2 KiB
Plaintext
201 lines
5.2 KiB
Plaintext
// Microsoft Visual C++ generated resource script.
|
||
//
|
||
#include "resource.h"
|
||
|
||
#define APSTUDIO_READONLY_SYMBOLS
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// Generated from the TEXTINCLUDE 2 resource.
|
||
//
|
||
#define APSTUDIO_HIDDEN_SYMBOLS
|
||
#include "afxres.h"
|
||
#undef APSTUDIO_HIDDEN_SYMBOLS
|
||
#include "resource.h"
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
#undef APSTUDIO_READONLY_SYMBOLS
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
// English (United States) resources
|
||
|
||
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
||
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
||
#pragma code_page(1252)
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// Icon
|
||
//
|
||
|
||
// Icon with lowest ID value placed first to ensure application icon
|
||
// remains consistent on all systems.
|
||
IDI_MDC ICON "mdc.ICO"
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// Menu
|
||
//
|
||
|
||
IDC_MDC MENU
|
||
BEGIN
|
||
POPUP "&File"
|
||
BEGIN
|
||
MENUITEM "&Scan disk images...", IDM_FILE_SCAN
|
||
MENUITEM "E&xit", IDM_FILE_EXIT
|
||
END
|
||
POPUP "&Help"
|
||
BEGIN
|
||
MENUITEM "Visit CiderPress &web site", IDM_HELP_WEBSITE
|
||
MENUITEM "&About ...", IDM_HELP_ABOUT
|
||
END
|
||
END
|
||
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// Accelerator
|
||
//
|
||
|
||
IDC_MDC ACCELERATORS
|
||
BEGIN
|
||
"?", IDM_ABOUT, ASCII, ALT
|
||
"/", IDM_ABOUT, ASCII, ALT
|
||
END
|
||
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// Dialog
|
||
//
|
||
|
||
IDD_ABOUTBOX DIALOG 22, 17, 156, 111
|
||
STYLE DS_SETFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||
CAPTION "About"
|
||
FONT 10, "MS Sans Serif"
|
||
BEGIN
|
||
ICON IDI_MDC,IDC_MYICON,7,7,20,20
|
||
LTEXT "MDC version %d.%d.%d",IDC_ABOUT_VERS,33,7,116,8,SS_NOPREFIX
|
||
LTEXT "Copyright <20> 2009 by CiderPress project authors.\rAll Rights Reserved.",IDC_STATIC,7,31,142,19
|
||
DEFPUSHBUTTON "OK",IDOK,53,90,50,14
|
||
LTEXT "This utility scans Apple II disk images and creates formatted listings of the files in them.",IDC_STATIC,7,58,142,26
|
||
LTEXT "Multi-Disk Catalog",IDC_STATIC,33,15,55,8
|
||
END
|
||
|
||
IDD_CHOOSE_FILES DIALOGEX 0, 0, 270, 112
|
||
STYLE DS_SETFONT | DS_3DLOOK | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_CLIPCHILDREN
|
||
FONT 8, "MS Sans Serif", 0, 0, 0x1
|
||
BEGIN
|
||
LTEXT "",1119,0,0,270,87,NOT WS_GROUP
|
||
LTEXT "Select the disk images to scan. If you select a folder, all files in that folder will be processed. Use Ctrl-click and Shift-click to select multiple items.",IDC_CHOOSEFILES_STATIC1,7,87,263,17
|
||
END
|
||
|
||
IDD_PROGRESS DIALOG 0, 0, 250, 66
|
||
STYLE DS_SETFONT | DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_VISIBLE | WS_CAPTION
|
||
CAPTION "Progress..."
|
||
FONT 8, "MS Sans Serif"
|
||
BEGIN
|
||
PUSHBUTTON "Cancel",IDCANCEL,99,45,50,14
|
||
LTEXT "Now scanning:",IDC_STATIC,7,7,96,8
|
||
LTEXT ">filename<",IDC_PROGRESS_FILENAME,7,20,236,8
|
||
END
|
||
|
||
|
||
#ifdef APSTUDIO_INVOKED
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// TEXTINCLUDE
|
||
//
|
||
|
||
2 TEXTINCLUDE
|
||
BEGIN
|
||
"#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
|
||
"#include ""afxres.h""\r\n"
|
||
"#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
|
||
"#include ""resource.h""\r\n"
|
||
"\0"
|
||
END
|
||
|
||
3 TEXTINCLUDE
|
||
BEGIN
|
||
"\r\n"
|
||
"\0"
|
||
END
|
||
|
||
1 TEXTINCLUDE
|
||
BEGIN
|
||
"resource.h\0"
|
||
END
|
||
|
||
#endif // APSTUDIO_INVOKED
|
||
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// DESIGNINFO
|
||
//
|
||
|
||
#ifdef APSTUDIO_INVOKED
|
||
GUIDELINES DESIGNINFO
|
||
BEGIN
|
||
IDD_ABOUTBOX, DIALOG
|
||
BEGIN
|
||
LEFTMARGIN, 7
|
||
RIGHTMARGIN, 149
|
||
VERTGUIDE, 33
|
||
TOPMARGIN, 7
|
||
BOTTOMMARGIN, 104
|
||
END
|
||
|
||
"IDD_CHOOSE_FILES", DIALOG
|
||
BEGIN
|
||
VERTGUIDE, 7
|
||
BOTTOMMARGIN, 104
|
||
HORZGUIDE, 87
|
||
END
|
||
|
||
IDD_PROGRESS, DIALOG
|
||
BEGIN
|
||
LEFTMARGIN, 7
|
||
RIGHTMARGIN, 243
|
||
TOPMARGIN, 7
|
||
BOTTOMMARGIN, 59
|
||
END
|
||
END
|
||
#endif // APSTUDIO_INVOKED
|
||
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// String Table
|
||
//
|
||
|
||
STRINGTABLE
|
||
BEGIN
|
||
IDS_APP_TITLE "MDC"
|
||
IDC_MDC "MDC"
|
||
IDS_MUST_REGISTER "You must be a registered owner of CiderPress to use MDC.\r\n\r\nVisit http://www.faddensoft.com/."
|
||
IDS_FAILED "Failed"
|
||
END
|
||
|
||
STRINGTABLE
|
||
BEGIN
|
||
IDM_FILE_SCAN "Select disk images to scan"
|
||
IDM_HELP_WEBSITE "Visit the CiderPress web site\nGo to web site"
|
||
END
|
||
|
||
#endif // English (United States) resources
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
|
||
|
||
|
||
#ifndef APSTUDIO_INVOKED
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// Generated from the TEXTINCLUDE 3 resource.
|
||
//
|
||
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
#endif // not APSTUDIO_INVOKED
|
||
|