mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
145 lines
4.1 KiB
145 lines
4.1 KiB
#include <windows.h>
|
|
#include <ntverp.h>
|
|
|
|
#define VER_FILETYPE VFT_DLL
|
|
#define VER_FILESUBTYPE VFT2_UNKNOWN
|
|
#define VER_FILEDESCRIPTION_STR "Compatibility Tab Shell Extension DLL"
|
|
#define VER_INTERNALNAME_STR "SlayerXP"
|
|
|
|
#include "common.ver"
|
|
|
|
//Microsoft Developer Studio generated resource script.
|
|
//
|
|
#include "resource.h"
|
|
|
|
#define APSTUDIO_READONLY_SYMBOLS
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 2 resource.
|
|
//
|
|
#include "winres.h"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#undef APSTUDIO_READONLY_SYMBOLS
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// English (U.S.) resources
|
|
|
|
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
|
#ifdef _WIN32
|
|
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
|
#pragma code_page(1252)
|
|
#endif //_WIN32
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// TEXTINCLUDE
|
|
//
|
|
|
|
1 TEXTINCLUDE DISCARDABLE
|
|
BEGIN
|
|
"resource.h\0"
|
|
END
|
|
|
|
2 TEXTINCLUDE DISCARDABLE
|
|
BEGIN
|
|
"#include ""winres.h""\r\n"
|
|
"\0"
|
|
END
|
|
|
|
3 TEXTINCLUDE DISCARDABLE
|
|
BEGIN
|
|
"1 TYPELIB ""SlayerXP.tlb""\r\n"
|
|
"\0"
|
|
END
|
|
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// DESIGNINFO
|
|
//
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
GUIDELINES DESIGNINFO DISCARDABLE
|
|
BEGIN
|
|
IDD_LAYER_PROPPAGE, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 217
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 217
|
|
END
|
|
END
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Dialog
|
|
//
|
|
|
|
IDD_LAYER_PROPPAGE DIALOG DISCARDABLE 0, 0, 224, 226
|
|
STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
|
|
CAPTION "Shim Layer Property Page"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
LTEXT "If you have problems with this program and it worked correctly on an earlier version of Windows, select the compatibility mode that matches that earlier version.",
|
|
IDC_TEXT_INSTRUCTIONS,7,7,210,31
|
|
CONTROL "Run this program in compatibility mode for:",
|
|
IDC_USE_LAYER,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,18,
|
|
57,149,10
|
|
COMBOBOX IDC_LAYER_NAME,18,70,152,85,CBS_DROPDOWNLIST |
|
|
WS_DISABLED | WS_VSCROLL | WS_TABSTOP
|
|
CONTROL "Run in 256 colors",IDC_256COLORS,"Button",
|
|
BS_AUTOCHECKBOX | WS_TABSTOP,18,114,71,10
|
|
CONTROL "Run in 640 x 480 screen resolution",IDC_640X480,"Button",
|
|
BS_AUTOCHECKBOX | WS_TABSTOP,18,129,125,10
|
|
CONTROL "Disable visual themes",IDC_ENABLE_THEMES,"Button",
|
|
BS_AUTOCHECKBOX | WS_TABSTOP,18,144,83,10
|
|
CONTROL "Learn more about <A>program compatibility</A>.",IDC_LEARN,
|
|
"Link Window",WS_TABSTOP,7,207,161,10
|
|
GROUPBOX "Compatibility mode",IDC_STATIC,7,41,210,49
|
|
GROUPBOX "Display settings",IDC_STATIC,7,99,210,61
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// String Table
|
|
//
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_PROJNAME "SlayerXP"
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_LAYER_WIN95_EXT "Windows 95"
|
|
IDS_LAYER_WIN98_EXT "Windows 98 / Windows Me"
|
|
IDS_LAYER_NT4_EXT "Windows NT 4.0 (Service Pack 5)"
|
|
IDS_LAYER_WIN2K_EXT "Windows 2000"
|
|
IDS_COMPAT_UNAVAILABLE "Compatibility modes cannot be set permanently on this program because it is on a network drive."
|
|
IDS_COMPAT_UNAVAILABLE_SYSTEM "Compatibility modes cannot be set on this program because it is part of Windows XP."
|
|
IDS_COMPATIBILITY "Compatibility"
|
|
END
|
|
|
|
#endif // English (U.S.) resources
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 3 resource.
|
|
//
|
|
1 TYPELIB "SlayerXP.tlb"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#endif // not APSTUDIO_INVOKED
|
|
|