SilentPatch/SilentPatchSA/SilentPatchSA.rc
Silent 15f9f08052
SA: Remake the monitor/resolution selection dialog
* Uses Common Controls 6 (modern styling)
* Lists friendly monitor names
* Acts correctly on pressing Escape
* Doesn't bug out when an inexistent adapter is selected
* Remembers the selected adapter
* Gives an option to skip the dialog and remember the choice
* Shows in the taskbar correctly
* Explicitly asks the system to scale for DPI, overriding compat options
2024-08-17 00:11:54 +02:00

124 lines
6 KiB
Text

// Microsoft Visual C++ generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "winres.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// Polish (Poland) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_PLK)
LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE
BEGIN
"#include ""winres.h""\r\n"
"\0"
END
3 TEXTINCLUDE
BEGIN
"\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
#endif // Polish (Poland) resources
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
// English (United States) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
/////////////////////////////////////////////////////////////////////////////
//
// RCDATA
//
IDB_LUNAR64 RCDATA "lunar64.png"
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_RESSELECT DIALOGEX 0, 0, 186, 95
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | DS_CENTERMOUSE | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Device Selection"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
DEFPUSHBUTTON "OK",IDOK,28,75,50,14
PUSHBUTTON "Cancel",IDCANCEL,103,75,50,14
COMBOBOX 1000,7,20,172,33,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
COMBOBOX 1001,7,42,172,74,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "Please select the device to use:",1005,7,7,137,8
CONTROL "Remember this choice",IDC_REMEMBERRESCHOICE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,60,86,10
END
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO
BEGIN
IDD_RESSELECT, DIALOG
BEGIN
LEFTMARGIN, 7
TOPMARGIN, 7
END
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// AFX_DIALOG_LAYOUT
//
IDD_RESSELECT AFX_DIALOG_LAYOUT
BEGIN
0
END
#endif // English (United States) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED