Files
reactos/base/system/winlogon/resource.h
Hermès Bélusca-Maïto 20b3673aab [MSGINA] Fix default focus to dialog controls (#8337)
Fix some erroneous `SetFocus()` invocations in dialog procedures:

- In `WM_INITDIALOG`, don't return `TRUE` if focus is changed to a
  control, otherwise any focus set by the caller would be ignored;

- In other handlers, `SetFocus()` would generate an inconsistent
  behaviour with the dialog push-buttons, as mentioned in:
  https://devblogs.microsoft.com/oldnewthing/20040802-00/?p=38283
2025-08-14 23:28:02 +02:00

44 lines
1.4 KiB
C

#pragma once
#define IDC_STATIC (-1)
/* Icons */
#define IDI_WINLOGON 4
/* Dialogs */
#define IDD_SHUTDOWNCOMPUTER 300
#define IDC_SHTDOWNICON 301
#define IDC_SHUTDOWNCOMPUTER 302
#define IDC_BTNSHTDOWNCOMPUTER 303
#define IDD_GINALOADFAILED 400
#define IDC_GINALOADFAILED 401
#define IDC_GINALOADFAILEDCONTACT 402
#define IDD_SYSSHUTDOWN 500
#define IDC_SYSSHUTDOWNICON 501
#define IDC_SYSSHUTDOWNTIMELEFT 502
#define IDC_SYSSHUTDOWNMESSAGE 503
/* Strings */
#define IDS_PREPARENETWORKCONNECTIONS 1675
#define IDS_APPLYINGCOMPUTERSETTINGS 1676
#define IDS_RUNNINGSTARTUPSCRIPTS 1677
#define IDS_RUNNINGSHUTDOWNSCRIPTS 1678
#define IDS_APPLYINGYOURPERSONALSETTINGS 1679
#define IDS_RUNNINGLOGOFFSCRIPTS 1680
#define IDS_RUNNINGLOGONSCRIPTS 1681
#define IDS_LOADINGYOURPERSONALSETTINGS 1682
#define IDS_CLOSINGNETWORKCONNECTIONS 1683
#define IDS_REACTOSISSHUTTINGDOWN 1684
#define IDS_PREPARETOSTANDBY 1685
#define IDS_PREPARETOHIBERNATE 1686
#define IDS_SAVEYOURSETTINGS 1687
#define IDS_REACTOSISSTARTINGUP 1690
#define IDS_LOGGINGOFF 1691
#define IDS_TIMEOUTSHORTFORMAT 1695
#define IDS_TIMEOUTLONGFORMAT 1696
#define IDS_REACTOSISRESTARTING 1697
#define IDS_FAILEDACTIVATEUSERSHELL 1001