mirror of
https://github.com/reactos/reactos.git
synced 2024-12-31 19:42:51 +00:00
[SHELL32] Display the ReactOS version to the About dialog programmatically (#2276)
The current control parameters don't fit well with the version string since ReactOS migrated from SVN to Git. However, modifying the resource parameters doesn't fix the problem as well because the string itself is dynamic (as it can change in words specially the build architecture if the version build is AMD64 or x86 for example). CORE-16571
This commit is contained in:
parent
18fe055275
commit
a57f7b50c0
36 changed files with 55 additions and 136 deletions
|
@ -137,10 +137,7 @@ BEGIN
|
|||
ICON "", IDC_ABOUT_ICON, 7, 55, 21, 20
|
||||
LTEXT "", IDC_ABOUT_APPNAME, 35, 55, 200, 10
|
||||
LTEXT "Версия ", IDC_STATIC, 35, 65, 28, 10
|
||||
LTEXT KERNEL_VERSION_STR, IDC_STATIC, 63, 65, 27, 10
|
||||
LTEXT " (", IDC_STATIC, 90, 65, 5, 10
|
||||
LTEXT KERNEL_VERSION_BUILD_STR, IDC_STATIC, 95, 65, 58, 10
|
||||
LTEXT ")", IDC_STATIC, 153, 65, 5, 10
|
||||
LTEXT "", IDC_ABOUT_VERSION, 61, 65, 200, 10
|
||||
LTEXT "Copyright 1998-", IDC_STATIC, 35, 75, 53, 10
|
||||
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
|
||||
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
|
||||
|
|
|
@ -136,10 +136,7 @@ BEGIN
|
|||
ICON "", IDC_ABOUT_ICON, 7, 55, 21, 20
|
||||
LTEXT "", IDC_ABOUT_APPNAME, 35, 55, 200, 10
|
||||
LTEXT "Version ", IDC_STATIC, 35, 65, 28, 10
|
||||
LTEXT KERNEL_VERSION_STR, IDC_STATIC, 63, 65, 27, 10
|
||||
LTEXT " (", IDC_STATIC, 90, 65, 5, 10
|
||||
LTEXT KERNEL_VERSION_BUILD_STR, IDC_STATIC, 95, 65, 58, 10
|
||||
LTEXT ")", IDC_STATIC, 153, 65, 5, 10
|
||||
LTEXT "", IDC_ABOUT_VERSION, 61, 65, 200, 10
|
||||
LTEXT "Copyright 1998-", IDC_STATIC, 35, 75, 53, 10
|
||||
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
|
||||
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
|
||||
|
|
|
@ -142,10 +142,7 @@ BEGIN
|
|||
ICON "", IDC_ABOUT_ICON, 7, 55, 21, 20
|
||||
LTEXT "", IDC_ABOUT_APPNAME, 35, 55, 200, 10
|
||||
LTEXT "Verze ", IDC_STATIC, 35, 65, 28, 10
|
||||
LTEXT KERNEL_VERSION_STR, IDC_STATIC, 63, 65, 27, 10
|
||||
LTEXT " (", IDC_STATIC, 90, 65, 5, 10
|
||||
LTEXT KERNEL_VERSION_BUILD_STR, IDC_STATIC, 95, 65, 58, 10
|
||||
LTEXT ")", IDC_STATIC, 153, 65, 5, 10
|
||||
LTEXT "", IDC_ABOUT_VERSION, 61, 65, 200, 10
|
||||
LTEXT "Copyright 1998-", IDC_STATIC, 35, 75, 53, 10
|
||||
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
|
||||
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
|
||||
|
|
|
@ -142,10 +142,7 @@ BEGIN
|
|||
ICON "", IDC_ABOUT_ICON, 7, 55, 21, 20
|
||||
LTEXT "", IDC_ABOUT_APPNAME, 35, 55, 200, 10
|
||||
LTEXT "Version ", IDC_STATIC, 35, 65, 28, 10
|
||||
LTEXT KERNEL_VERSION_STR, IDC_STATIC, 63, 65, 27, 10
|
||||
LTEXT " (", IDC_STATIC, 90, 65, 5, 10
|
||||
LTEXT KERNEL_VERSION_BUILD_STR, IDC_STATIC, 95, 65, 58, 10
|
||||
LTEXT ")", IDC_STATIC, 153, 65, 5, 10
|
||||
LTEXT "", IDC_ABOUT_VERSION, 61, 65, 200, 10
|
||||
LTEXT "Copyright 1998-", IDC_STATIC, 35, 75, 53, 10
|
||||
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
|
||||
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
|
||||
|
|
|
@ -136,10 +136,7 @@ BEGIN
|
|||
ICON "", IDC_ABOUT_ICON, 7, 55, 21, 20
|
||||
LTEXT "", IDC_ABOUT_APPNAME, 35, 55, 200, 10
|
||||
LTEXT "Version ", IDC_STATIC, 35, 65, 28, 10
|
||||
LTEXT KERNEL_VERSION_STR, IDC_STATIC, 63, 65, 27, 10
|
||||
LTEXT " (", IDC_STATIC, 90, 65, 5, 10
|
||||
LTEXT KERNEL_VERSION_BUILD_STR, IDC_STATIC, 95, 65, 58, 10
|
||||
LTEXT ")", IDC_STATIC, 153, 65, 5, 10
|
||||
LTEXT "", IDC_ABOUT_VERSION, 61, 65, 200, 10
|
||||
LTEXT "Copyright 1998-", IDC_STATIC, 35, 75, 53, 10
|
||||
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
|
||||
LTEXT " Das ReactOS Team\0", IDC_STATIC, 105, 75, 70, 10
|
||||
|
|
|
@ -136,10 +136,7 @@ BEGIN
|
|||
ICON "", IDC_ABOUT_ICON, 7, 55, 21, 20
|
||||
LTEXT "", IDC_ABOUT_APPNAME, 35, 55, 200, 10
|
||||
LTEXT "Έκδοση ", IDC_STATIC, 35, 65, 28, 10
|
||||
LTEXT KERNEL_VERSION_STR, IDC_STATIC, 63, 65, 27, 10
|
||||
LTEXT " (", IDC_STATIC, 90, 65, 5, 10
|
||||
LTEXT KERNEL_VERSION_BUILD_STR, IDC_STATIC, 95, 65, 58, 10
|
||||
LTEXT ")", IDC_STATIC, 153, 65, 5, 10
|
||||
LTEXT "", IDC_ABOUT_VERSION, 61, 65, 200, 10
|
||||
LTEXT "Copyright 1998-", IDC_STATIC, 35, 75, 53, 10
|
||||
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
|
||||
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
|
||||
|
|
|
@ -136,10 +136,7 @@ BEGIN
|
|||
ICON "", IDC_ABOUT_ICON, 7, 55, 21, 20
|
||||
LTEXT "", IDC_ABOUT_APPNAME, 35, 55, 200, 10
|
||||
LTEXT "Version ", IDC_STATIC, 35, 65, 28, 10
|
||||
LTEXT KERNEL_VERSION_STR, IDC_STATIC, 63, 65, 27, 10
|
||||
LTEXT " (", IDC_STATIC, 90, 65, 5, 10
|
||||
LTEXT KERNEL_VERSION_BUILD_STR, IDC_STATIC, 95, 65, 58, 10
|
||||
LTEXT ")", IDC_STATIC, 153, 65, 5, 10
|
||||
LTEXT "", IDC_ABOUT_VERSION, 61, 65, 200, 10
|
||||
LTEXT "Copyright 1998-", IDC_STATIC, 35, 75, 53, 10
|
||||
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
|
||||
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
|
||||
|
|
|
@ -136,10 +136,7 @@ BEGIN
|
|||
ICON "", IDC_ABOUT_ICON, 7, 55, 21, 20
|
||||
LTEXT "", IDC_ABOUT_APPNAME, 35, 55, 200, 10
|
||||
LTEXT "Version ", IDC_STATIC, 35, 65, 28, 10
|
||||
LTEXT KERNEL_VERSION_STR, IDC_STATIC, 63, 65, 27, 10
|
||||
LTEXT " (", IDC_STATIC, 90, 65, 5, 10
|
||||
LTEXT KERNEL_VERSION_BUILD_STR, IDC_STATIC, 95, 65, 58, 10
|
||||
LTEXT ")", IDC_STATIC, 153, 65, 5, 10
|
||||
LTEXT "", IDC_ABOUT_VERSION, 61, 65, 200, 10
|
||||
LTEXT "Copyright 1998-", IDC_STATIC, 35, 75, 53, 10
|
||||
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
|
||||
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
|
||||
|
|
|
@ -144,10 +144,7 @@ BEGIN
|
|||
ICON "", IDC_ABOUT_ICON, 7, 55, 21, 20
|
||||
LTEXT "", IDC_ABOUT_APPNAME, 35, 55, 200, 10
|
||||
LTEXT "Versión ", IDC_STATIC, 35, 65, 28, 10
|
||||
LTEXT KERNEL_VERSION_STR, IDC_STATIC, 63, 65, 27, 10
|
||||
LTEXT " (", IDC_STATIC, 90, 65, 5, 10
|
||||
LTEXT KERNEL_VERSION_BUILD_STR, IDC_STATIC, 95, 65, 58, 10
|
||||
LTEXT ")", IDC_STATIC, 153, 65, 5, 10
|
||||
LTEXT "", IDC_ABOUT_VERSION, 61, 65, 200, 10
|
||||
LTEXT "Copyright 1998-", IDC_STATIC, 35, 75, 53, 10
|
||||
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
|
||||
LTEXT " El equipo de ReactOS\0", IDC_STATIC, 105, 75, 100, 10
|
||||
|
|
|
@ -143,10 +143,7 @@ BEGIN
|
|||
ICON "", IDC_ABOUT_ICON, 7, 55, 21, 20
|
||||
LTEXT "", IDC_ABOUT_APPNAME, 35, 55, 200, 10
|
||||
LTEXT "Versioon ", IDC_STATIC, 35, 65, 28, 10
|
||||
LTEXT KERNEL_VERSION_STR, IDC_STATIC, 63, 65, 27, 10
|
||||
LTEXT " (", IDC_STATIC, 90, 65, 5, 10
|
||||
LTEXT KERNEL_VERSION_BUILD_STR, IDC_STATIC, 95, 65, 58, 10
|
||||
LTEXT ")", IDC_STATIC, 153, 65, 5, 10
|
||||
LTEXT "", IDC_ABOUT_VERSION, 61, 65, 200, 10
|
||||
LTEXT "Autoriõigus 1998-", IDC_STATIC, 35, 75, 53, 10
|
||||
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
|
||||
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
|
||||
|
|
|
@ -136,10 +136,7 @@ BEGIN
|
|||
ICON "", IDC_ABOUT_ICON, 7, 55, 21, 20
|
||||
LTEXT "", IDC_ABOUT_APPNAME, 35, 55, 200, 10
|
||||
LTEXT "Version ", IDC_STATIC, 35, 65, 28, 10
|
||||
LTEXT KERNEL_VERSION_STR, IDC_STATIC, 63, 65, 27, 10
|
||||
LTEXT " (", IDC_STATIC, 90, 65, 5, 10
|
||||
LTEXT KERNEL_VERSION_BUILD_STR, IDC_STATIC, 95, 65, 58, 10
|
||||
LTEXT ")", IDC_STATIC, 153, 65, 5, 10
|
||||
LTEXT "", IDC_ABOUT_VERSION, 61, 65, 200, 10
|
||||
LTEXT "Copyright 1998-", IDC_STATIC, 35, 75, 53, 10
|
||||
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
|
||||
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
|
||||
|
|
|
@ -136,10 +136,7 @@ BEGIN
|
|||
ICON "", IDC_ABOUT_ICON, 7, 55, 21, 20
|
||||
LTEXT "", IDC_ABOUT_APPNAME, 35, 55, 200, 10
|
||||
LTEXT "Version ", IDC_STATIC, 35, 65, 28, 10
|
||||
LTEXT KERNEL_VERSION_STR, IDC_STATIC, 63, 65, 27, 10
|
||||
LTEXT " (", IDC_STATIC, 90, 65, 5, 10
|
||||
LTEXT KERNEL_VERSION_BUILD_STR, IDC_STATIC, 95, 65, 58, 10
|
||||
LTEXT ")", IDC_STATIC, 153, 65, 5, 10
|
||||
LTEXT "", IDC_ABOUT_VERSION, 61, 65, 200, 10
|
||||
LTEXT "Copyright 1998-", IDC_STATIC, 35, 75, 53, 10
|
||||
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
|
||||
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
|
||||
|
|
|
@ -138,10 +138,7 @@ BEGIN
|
|||
ICON "", IDC_ABOUT_ICON, 7, 55, 21, 20
|
||||
LTEXT "", IDC_ABOUT_APPNAME, 35, 55, 200, 10
|
||||
LTEXT "גירסה ", IDC_STATIC, 35, 65, 28, 10
|
||||
LTEXT KERNEL_VERSION_STR, IDC_STATIC, 63, 65, 27, 10
|
||||
LTEXT " (", IDC_STATIC, 90, 65, 5, 10
|
||||
LTEXT KERNEL_VERSION_BUILD_STR, IDC_STATIC, 95, 65, 58, 10
|
||||
LTEXT ")", IDC_STATIC, 153, 65, 5, 10
|
||||
LTEXT "", IDC_ABOUT_VERSION, 61, 65, 200, 10
|
||||
LTEXT "זכויות יוצרים 1998-", IDC_STATIC, 35, 75, 53, 10
|
||||
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
|
||||
LTEXT " צוות ReactOS\0", IDC_STATIC, 105, 75, 53, 10
|
||||
|
|
|
@ -136,10 +136,7 @@ BEGIN
|
|||
ICON "", IDC_ABOUT_ICON, 7, 55, 21, 20
|
||||
LTEXT "", IDC_ABOUT_APPNAME, 35, 55, 200, 10
|
||||
LTEXT "वर्ज़न ", IDC_STATIC, 35, 65, 28, 10
|
||||
LTEXT KERNEL_VERSION_STR, IDC_STATIC, 63, 65, 27, 10
|
||||
LTEXT " (", IDC_STATIC, 90, 65, 5, 10
|
||||
LTEXT KERNEL_VERSION_BUILD_STR, IDC_STATIC, 95, 65, 58, 10
|
||||
LTEXT ")", IDC_STATIC, 153, 65, 5, 10
|
||||
LTEXT "", IDC_ABOUT_VERSION, 61, 65, 200, 10
|
||||
LTEXT "कॉपीराइट 1998-", IDC_STATIC, 35, 75, 53, 10
|
||||
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
|
||||
LTEXT " रिऐक्ट ओएस टीम\0", IDC_STATIC, 105, 75, 53, 10
|
||||
|
|
|
@ -136,10 +136,7 @@ BEGIN
|
|||
ICON "", IDC_ABOUT_ICON, 7, 55, 21, 20
|
||||
LTEXT "", IDC_ABOUT_APPNAME, 35, 55, 200, 10
|
||||
LTEXT "Version ", IDC_STATIC, 35, 65, 28, 10
|
||||
LTEXT KERNEL_VERSION_STR, IDC_STATIC, 63, 65, 27, 10
|
||||
LTEXT " (", IDC_STATIC, 90, 65, 5, 10
|
||||
LTEXT KERNEL_VERSION_BUILD_STR, IDC_STATIC, 95, 65, 58, 10
|
||||
LTEXT ")", IDC_STATIC, 153, 65, 5, 10
|
||||
LTEXT "", IDC_ABOUT_VERSION, 61, 65, 200, 10
|
||||
LTEXT "Copyright 1998-", IDC_STATIC, 35, 75, 53, 10
|
||||
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
|
||||
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
|
||||
|
|
|
@ -136,10 +136,7 @@ BEGIN
|
|||
ICON "", IDC_ABOUT_ICON, 7, 55, 21, 20
|
||||
LTEXT "", IDC_ABOUT_APPNAME, 35, 55, 200, 10
|
||||
LTEXT "Versi ", IDC_STATIC, 35, 65, 28, 10
|
||||
LTEXT KERNEL_VERSION_STR, IDC_STATIC, 63, 65, 27, 10
|
||||
LTEXT " (", IDC_STATIC, 90, 65, 5, 10
|
||||
LTEXT KERNEL_VERSION_BUILD_STR, IDC_STATIC, 95, 65, 58, 10
|
||||
LTEXT ")", IDC_STATIC, 153, 65, 5, 10
|
||||
LTEXT "", IDC_ABOUT_VERSION, 61, 65, 200, 10
|
||||
LTEXT "Copyright 1998-", IDC_STATIC, 35, 75, 53, 10
|
||||
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
|
||||
LTEXT " Tim ReactOS\0", IDC_STATIC, 105, 75, 53, 10
|
||||
|
|
|
@ -136,10 +136,7 @@ BEGIN
|
|||
ICON "", IDC_ABOUT_ICON, 7, 55, 21, 20
|
||||
LTEXT "", IDC_ABOUT_APPNAME, 35, 55, 200, 10
|
||||
LTEXT "Versione ", IDC_STATIC, 35, 65, 28, 10
|
||||
LTEXT KERNEL_VERSION_STR, IDC_STATIC, 63, 65, 27, 10
|
||||
LTEXT " (", IDC_STATIC, 90, 65, 5, 10
|
||||
LTEXT KERNEL_VERSION_BUILD_STR, IDC_STATIC, 95, 65, 58, 10
|
||||
LTEXT ")", IDC_STATIC, 153, 65, 5, 10
|
||||
LTEXT "", IDC_ABOUT_VERSION, 61, 65, 200, 10
|
||||
LTEXT "Copyright 1998-", IDC_STATIC, 35, 75, 53, 10
|
||||
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
|
||||
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
|
||||
|
|
|
@ -136,10 +136,7 @@ BEGIN
|
|||
ICON "", IDC_ABOUT_ICON, 7, 55, 21, 20
|
||||
LTEXT "", IDC_ABOUT_APPNAME, 35, 55, 200, 10
|
||||
LTEXT "バージョン ", IDC_STATIC, 35, 65, 28, 10
|
||||
LTEXT KERNEL_VERSION_STR, IDC_STATIC, 63, 65, 27, 10
|
||||
LTEXT " (", IDC_STATIC, 90, 65, 5, 10
|
||||
LTEXT KERNEL_VERSION_BUILD_STR, IDC_STATIC, 95, 65, 58, 10
|
||||
LTEXT ")", IDC_STATIC, 153, 65, 5, 10
|
||||
LTEXT "", IDC_ABOUT_VERSION, 61, 65, 200, 10
|
||||
LTEXT "Copyright 1998-", IDC_STATIC, 35, 75, 53, 10
|
||||
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
|
||||
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
|
||||
|
|
|
@ -136,10 +136,7 @@ BEGIN
|
|||
ICON "", IDC_ABOUT_ICON, 7, 55, 21, 20
|
||||
LTEXT "", IDC_ABOUT_APPNAME, 35, 55, 200, 10
|
||||
LTEXT "Version ", IDC_STATIC, 35, 65, 28, 10
|
||||
LTEXT KERNEL_VERSION_STR, IDC_STATIC, 63, 65, 27, 10
|
||||
LTEXT " (", IDC_STATIC, 90, 65, 5, 10
|
||||
LTEXT KERNEL_VERSION_BUILD_STR, IDC_STATIC, 95, 65, 58, 10
|
||||
LTEXT ")", IDC_STATIC, 153, 65, 5, 10
|
||||
LTEXT "", IDC_ABOUT_VERSION, 61, 65, 200, 10
|
||||
LTEXT "Copyright 1998-", IDC_STATIC, 35, 75, 53, 10
|
||||
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
|
||||
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
|
||||
|
|
|
@ -136,10 +136,7 @@ BEGIN
|
|||
ICON "", IDC_ABOUT_ICON, 7, 55, 21, 20
|
||||
LTEXT "", IDC_ABOUT_APPNAME, 35, 55, 200, 10
|
||||
LTEXT "Version ", IDC_STATIC, 35, 65, 28, 10
|
||||
LTEXT KERNEL_VERSION_STR, IDC_STATIC, 63, 65, 27, 10
|
||||
LTEXT " (", IDC_STATIC, 90, 65, 5, 10
|
||||
LTEXT KERNEL_VERSION_BUILD_STR, IDC_STATIC, 95, 65, 58, 10
|
||||
LTEXT ")", IDC_STATIC, 153, 65, 5, 10
|
||||
LTEXT "", IDC_ABOUT_VERSION, 61, 65, 200, 10
|
||||
LTEXT "Copyright 1998-", IDC_STATIC, 35, 75, 53, 10
|
||||
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
|
||||
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
|
||||
|
|
|
@ -136,10 +136,7 @@ BEGIN
|
|||
ICON "", IDC_ABOUT_ICON, 7, 55, 21, 20
|
||||
LTEXT "", IDC_ABOUT_APPNAME, 35, 55, 200, 10
|
||||
LTEXT "Versjon ", IDC_STATIC, 35, 65, 28, 10
|
||||
LTEXT KERNEL_VERSION_STR, IDC_STATIC, 63, 65, 27, 10
|
||||
LTEXT " (", IDC_STATIC, 90, 65, 5, 10
|
||||
LTEXT KERNEL_VERSION_BUILD_STR, IDC_STATIC, 95, 65, 58, 10
|
||||
LTEXT ")", IDC_STATIC, 153, 65, 5, 10
|
||||
LTEXT "", IDC_ABOUT_VERSION, 61, 65, 200, 10
|
||||
LTEXT "Copyright 1998-", IDC_STATIC, 35, 75, 53, 10
|
||||
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
|
||||
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
|
||||
|
|
|
@ -141,10 +141,7 @@ BEGIN
|
|||
ICON "", IDC_ABOUT_ICON, 7, 55, 21, 20
|
||||
LTEXT "", IDC_ABOUT_APPNAME, 35, 55, 200, 10
|
||||
LTEXT "Wersja ", IDC_STATIC, 35, 65, 28, 10
|
||||
LTEXT KERNEL_VERSION_STR, IDC_STATIC, 63, 65, 27, 10
|
||||
LTEXT " (", IDC_STATIC, 90, 65, 5, 10
|
||||
LTEXT KERNEL_VERSION_BUILD_STR, IDC_STATIC, 95, 65, 58, 10
|
||||
LTEXT ")", IDC_STATIC, 153, 65, 5, 10
|
||||
LTEXT "", IDC_ABOUT_VERSION, 61, 65, 200, 10
|
||||
LTEXT "Copyright 1998-", IDC_STATIC, 35, 75, 53, 10
|
||||
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
|
||||
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
|
||||
|
|
|
@ -136,10 +136,7 @@ BEGIN
|
|||
ICON "", IDC_ABOUT_ICON, 7, 55, 21, 20
|
||||
LTEXT "", IDC_ABOUT_APPNAME, 35, 55, 200, 10
|
||||
LTEXT "Versão ", IDC_STATIC, 35, 65, 28, 10
|
||||
LTEXT KERNEL_VERSION_STR, IDC_STATIC, 63, 65, 27, 10
|
||||
LTEXT " (", IDC_STATIC, 90, 65, 5, 10
|
||||
LTEXT KERNEL_VERSION_BUILD_STR, IDC_STATIC, 95, 65, 58, 10
|
||||
LTEXT ")", IDC_STATIC, 153, 65, 5, 10
|
||||
LTEXT "", IDC_ABOUT_VERSION, 61, 65, 200, 10
|
||||
LTEXT "Copyright 1998-", IDC_STATIC, 35, 75, 53, 10
|
||||
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
|
||||
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
|
||||
|
|
|
@ -136,10 +136,7 @@ BEGIN
|
|||
ICON "", IDC_ABOUT_ICON, 7, 55, 21, 20
|
||||
LTEXT "", IDC_ABOUT_APPNAME, 35, 55, 200, 10
|
||||
LTEXT "Versão ", IDC_STATIC, 35, 65, 28, 10
|
||||
LTEXT KERNEL_VERSION_STR, IDC_STATIC, 63, 65, 27, 10
|
||||
LTEXT " (", IDC_STATIC, 90, 65, 5, 10
|
||||
LTEXT KERNEL_VERSION_BUILD_STR, IDC_STATIC, 95, 65, 58, 10
|
||||
LTEXT ")", IDC_STATIC, 153, 65, 5, 10
|
||||
LTEXT "", IDC_ABOUT_VERSION, 61, 65, 200, 10
|
||||
LTEXT "Copyright 1998-", IDC_STATIC, 35, 75, 53, 10
|
||||
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
|
||||
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
|
||||
|
|
|
@ -138,10 +138,7 @@ BEGIN
|
|||
ICON "", IDC_ABOUT_ICON, 7, 55, 21, 20
|
||||
LTEXT "", IDC_ABOUT_APPNAME, 35, 55, 200, 10
|
||||
LTEXT "Versiune", IDC_STATIC, 35, 65, 28, 10
|
||||
LTEXT KERNEL_VERSION_STR, IDC_STATIC, 68, 65, 27, 10
|
||||
LTEXT " (", IDC_STATIC, 95, 65, 5, 10
|
||||
LTEXT KERNEL_VERSION_BUILD_STR, IDC_STATIC, 100, 65, 58, 10
|
||||
LTEXT ")", IDC_STATIC, 158, 65, 5, 10
|
||||
LTEXT "", IDC_ABOUT_VERSION, 61, 65, 200, 10
|
||||
LTEXT "Drept de autor 1998-", IDC_STATIC, 35, 75, 68, 10
|
||||
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 103, 75, 17, 10
|
||||
LTEXT " Echipa ReactOS\0", IDC_STATIC, 120, 75, 53, 10
|
||||
|
|
|
@ -143,10 +143,7 @@ BEGIN
|
|||
ICON "", IDC_ABOUT_ICON, 7, 55, 21, 20
|
||||
LTEXT "", IDC_ABOUT_APPNAME, 35, 55, 200, 10
|
||||
LTEXT "Версия ", IDC_STATIC, 35, 65, 28, 10
|
||||
LTEXT KERNEL_VERSION_STR, IDC_STATIC, 63, 65, 27, 10
|
||||
LTEXT " (", IDC_STATIC, 90, 65, 5, 10
|
||||
LTEXT KERNEL_VERSION_BUILD_STR, IDC_STATIC, 95, 65, 58, 10
|
||||
LTEXT ")", IDC_STATIC, 153, 65, 5, 10
|
||||
LTEXT "", IDC_ABOUT_VERSION, 61, 65, 200, 10
|
||||
LTEXT "Copyright 1998-", IDC_STATIC, 35, 75, 53, 10
|
||||
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
|
||||
LTEXT " Команда ReactOS\0", IDC_STATIC, 105, 75, 65, 10
|
||||
|
|
|
@ -136,10 +136,7 @@ BEGIN
|
|||
ICON "", IDC_ABOUT_ICON, 7, 55, 21, 20
|
||||
LTEXT "", IDC_ABOUT_APPNAME, 35, 55, 200, 10
|
||||
LTEXT "Verzia ", IDC_STATIC, 35, 65, 28, 10
|
||||
LTEXT KERNEL_VERSION_STR, IDC_STATIC, 63, 65, 27, 10
|
||||
LTEXT " (", IDC_STATIC, 90, 65, 5, 10
|
||||
LTEXT KERNEL_VERSION_BUILD_STR, IDC_STATIC, 95, 65, 58, 10
|
||||
LTEXT ")", IDC_STATIC, 153, 65, 5, 10
|
||||
LTEXT "", IDC_ABOUT_VERSION, 61, 65, 200, 10
|
||||
LTEXT "Copyright 1998-", IDC_STATIC, 35, 75, 53, 10
|
||||
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
|
||||
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
|
||||
|
|
|
@ -136,10 +136,7 @@ BEGIN
|
|||
ICON "", IDC_ABOUT_ICON, 7, 55, 21, 20
|
||||
LTEXT "", IDC_ABOUT_APPNAME, 35, 55, 200, 10
|
||||
LTEXT "Version ", IDC_STATIC, 35, 65, 28, 10
|
||||
LTEXT KERNEL_VERSION_STR, IDC_STATIC, 63, 65, 27, 10
|
||||
LTEXT " (", IDC_STATIC, 90, 65, 5, 10
|
||||
LTEXT KERNEL_VERSION_BUILD_STR, IDC_STATIC, 95, 65, 58, 10
|
||||
LTEXT ")", IDC_STATIC, 153, 65, 5, 10
|
||||
LTEXT "", IDC_ABOUT_VERSION, 61, 65, 200, 10
|
||||
LTEXT "Copyright 1998-", IDC_STATIC, 35, 75, 53, 10
|
||||
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
|
||||
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
|
||||
|
|
|
@ -140,10 +140,7 @@ BEGIN
|
|||
ICON "", IDC_ABOUT_ICON, 7, 55, 21, 20
|
||||
LTEXT "", IDC_ABOUT_APPNAME, 35, 55, 200, 10
|
||||
LTEXT "Versioni ", IDC_STATIC, 35, 65, 28, 10
|
||||
LTEXT KERNEL_VERSION_STR, IDC_STATIC, 63, 65, 27, 10
|
||||
LTEXT " (", IDC_STATIC, 90, 65, 5, 10
|
||||
LTEXT KERNEL_VERSION_BUILD_STR, IDC_STATIC, 95, 65, 58, 10
|
||||
LTEXT ")", IDC_STATIC, 153, 65, 5, 10
|
||||
LTEXT "", IDC_ABOUT_VERSION, 61, 65, 200, 10
|
||||
LTEXT "Copyright 1998-", IDC_STATIC, 35, 75, 53, 10
|
||||
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
|
||||
LTEXT " Ekipi ReactOS\0", IDC_STATIC, 105, 75, 53, 10
|
||||
|
|
|
@ -136,10 +136,7 @@ BEGIN
|
|||
ICON "", IDC_ABOUT_ICON, 7, 55, 21, 20
|
||||
LTEXT "", IDC_ABOUT_APPNAME, 35, 55, 200, 10
|
||||
LTEXT "Version ", IDC_STATIC, 35, 65, 28, 10
|
||||
LTEXT KERNEL_VERSION_STR, IDC_STATIC, 63, 65, 27, 10
|
||||
LTEXT " (", IDC_STATIC, 90, 65, 5, 10
|
||||
LTEXT KERNEL_VERSION_BUILD_STR, IDC_STATIC, 95, 65, 58, 10
|
||||
LTEXT ")", IDC_STATIC, 153, 65, 5, 10
|
||||
LTEXT "", IDC_ABOUT_VERSION, 61, 65, 200, 10
|
||||
LTEXT "Copyright 1998-", IDC_STATIC, 35, 75, 53, 10
|
||||
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
|
||||
LTEXT " ReactOS-gruppen\0", IDC_STATIC, 105, 75, 60, 10
|
||||
|
|
|
@ -138,10 +138,7 @@ BEGIN
|
|||
ICON "", IDC_ABOUT_ICON, 7, 55, 21, 20
|
||||
LTEXT "", IDC_ABOUT_APPNAME, 35, 55, 200, 10
|
||||
LTEXT "Sürüm ", IDC_STATIC, 35, 65, 28, 10
|
||||
LTEXT KERNEL_VERSION_STR, IDC_STATIC, 63, 65, 27, 10
|
||||
LTEXT " (", IDC_STATIC, 90, 65, 5, 10
|
||||
LTEXT KERNEL_VERSION_BUILD_STR, IDC_STATIC, 95, 65, 58, 10
|
||||
LTEXT ")", IDC_STATIC, 153, 65, 5, 10
|
||||
LTEXT "", IDC_ABOUT_VERSION, 61, 65, 200, 10
|
||||
LTEXT "Telif Hakkı 1998-", IDC_STATIC, 35, 75, 53, 10
|
||||
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
|
||||
LTEXT " ReactOS Takımı\0", IDC_STATIC, 105, 75, 53, 10
|
||||
|
|
|
@ -136,10 +136,7 @@ BEGIN
|
|||
ICON "", IDC_ABOUT_ICON, 7, 55, 21, 20
|
||||
LTEXT "", IDC_ABOUT_APPNAME, 35, 55, 200, 10
|
||||
LTEXT "Версія ", IDC_STATIC, 35, 65, 28, 10
|
||||
LTEXT KERNEL_VERSION_STR, IDC_STATIC, 63, 65, 27, 10
|
||||
LTEXT " (", IDC_STATIC, 90, 65, 5, 10
|
||||
LTEXT KERNEL_VERSION_BUILD_STR, IDC_STATIC, 95, 65, 58, 10
|
||||
LTEXT ")", IDC_STATIC, 153, 65, 5, 10
|
||||
LTEXT "", IDC_ABOUT_VERSION, 61, 65, 200, 10
|
||||
LTEXT "Copyright 1998-", IDC_STATIC, 35, 75, 53, 10
|
||||
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
|
||||
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
|
||||
|
|
|
@ -146,10 +146,7 @@ BEGIN
|
|||
ICON "", IDC_ABOUT_ICON, 7, 55, 21, 20
|
||||
LTEXT "", IDC_ABOUT_APPNAME, 35, 55, 200, 10
|
||||
LTEXT "版本 ", IDC_STATIC, 35, 65, 28, 10
|
||||
LTEXT KERNEL_VERSION_STR, IDC_STATIC, 63, 65, 27, 10
|
||||
LTEXT " (", IDC_STATIC, 90, 65, 5, 10
|
||||
LTEXT KERNEL_VERSION_BUILD_STR, IDC_STATIC, 95, 65, 58, 10
|
||||
LTEXT ")", IDC_STATIC, 153, 65, 5, 10
|
||||
LTEXT "", IDC_ABOUT_VERSION, 61, 65, 200, 10
|
||||
LTEXT "版权所有 1998-", IDC_STATIC, 35, 75, 53, 10
|
||||
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
|
||||
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
|
||||
|
|
|
@ -145,10 +145,7 @@ BEGIN
|
|||
ICON "", IDC_ABOUT_ICON, 7, 55, 21, 20
|
||||
LTEXT "", IDC_ABOUT_APPNAME, 35, 55, 200, 10
|
||||
LTEXT "版本 ", IDC_STATIC, 35, 65, 28, 10
|
||||
LTEXT KERNEL_VERSION_STR, IDC_STATIC, 63, 65, 27, 10
|
||||
LTEXT " (", IDC_STATIC, 90, 65, 5, 10
|
||||
LTEXT KERNEL_VERSION_BUILD_STR, IDC_STATIC, 95, 65, 58, 10
|
||||
LTEXT ")", IDC_STATIC, 153, 65, 5, 10
|
||||
LTEXT "", IDC_ABOUT_VERSION, 61, 65, 200, 10
|
||||
LTEXT "Copyright 1998-", IDC_STATIC, 35, 75, 53, 10
|
||||
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
|
||||
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
|
||||
|
|
|
@ -312,6 +312,7 @@
|
|||
#define IDD_ABOUT 2
|
||||
#define IDC_ABOUT_ICON 0x3009
|
||||
#define IDC_ABOUT_APPNAME 0x3500
|
||||
#define IDC_ABOUT_VERSION 0x3501
|
||||
#define IDC_ABOUT_OTHERSTUFF 0x350D
|
||||
#define IDC_ABOUT_REG_USERNAME 0x3507
|
||||
#define IDC_ABOUT_REG_ORGNAME 0x3508
|
||||
|
|
|
@ -31,6 +31,8 @@
|
|||
#include <shellapi.h>
|
||||
#include <shlobj.h>
|
||||
#include <shlwapi.h>
|
||||
#include <strsafe.h>
|
||||
#include <winnls.h>
|
||||
|
||||
#include "undocshell.h"
|
||||
#include "pidl.h"
|
||||
|
@ -41,6 +43,7 @@
|
|||
#include <wine/unicode.h>
|
||||
|
||||
#include <reactos/version.h>
|
||||
#include <reactos/buildno.h>
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(shell);
|
||||
|
||||
|
@ -961,6 +964,9 @@ VOID WINAPI Printers_UnregisterWindow(HANDLE hClassPidl, HWND hwnd)
|
|||
typedef struct
|
||||
{
|
||||
LPCWSTR szApp;
|
||||
#ifdef __REACTOS__
|
||||
LPCWSTR szOSVersion;
|
||||
#endif
|
||||
LPCWSTR szOtherStuff;
|
||||
HICON hIcon;
|
||||
} ABOUT_INFO;
|
||||
|
@ -1176,6 +1182,9 @@ static INT_PTR CALLBACK AboutDlgProc( HWND hWnd, UINT msg, WPARAM wParam, LPARAM
|
|||
SetWindowTextW( hWnd, szAppTitle );
|
||||
|
||||
SetDlgItemTextW( hWnd, IDC_ABOUT_APPNAME, info->szApp );
|
||||
#ifdef __REACTOS__
|
||||
SetDlgItemTextW( hWnd, IDC_ABOUT_VERSION, info->szOSVersion );
|
||||
#endif
|
||||
SetDlgItemTextW( hWnd, IDC_ABOUT_OTHERSTUFF, info->szOtherStuff );
|
||||
|
||||
// Set the registered user and organization name
|
||||
|
@ -1369,6 +1378,9 @@ BOOL WINAPI ShellAboutW( HWND hWnd, LPCWSTR szApp, LPCWSTR szOtherStuff,
|
|||
HRSRC hRes;
|
||||
DLGTEMPLATE *DlgTemplate;
|
||||
BOOL bRet;
|
||||
#ifdef __REACTOS__
|
||||
WCHAR szVersionString[256];
|
||||
#endif
|
||||
|
||||
TRACE("\n");
|
||||
|
||||
|
@ -1381,7 +1393,15 @@ BOOL WINAPI ShellAboutW( HWND hWnd, LPCWSTR szApp, LPCWSTR szOtherStuff,
|
|||
if(!DlgTemplate)
|
||||
return FALSE;
|
||||
|
||||
#ifdef __REACTOS__
|
||||
/* Output the version OS kernel strings */
|
||||
StringCchPrintfW(szVersionString, _countof(szVersionString), L"%S (%S)", KERNEL_VERSION_STR, KERNEL_VERSION_BUILD_STR);
|
||||
#endif
|
||||
|
||||
info.szApp = szApp;
|
||||
#ifdef __REACTOS__
|
||||
info.szOSVersion = szVersionString;
|
||||
#endif
|
||||
info.szOtherStuff = szOtherStuff;
|
||||
info.hIcon = hIcon ? hIcon : LoadIconW( 0, (LPWSTR)IDI_WINLOGO );
|
||||
|
||||
|
|
Loading…
Reference in a new issue