reactos/dll/win32/msgina/resource.h
Arnav Bhatt 79e4efe04e
[MSGINA] Convert shutdown/logoff boxes back to modal dialog boxes (#5114)
- Convert all modeless dialog boxes back to modal dialog boxes.
- Use WM_TIMER to detect SHIFT key press instead, as you can't
  directly intercept messages on modal dialog boxes.
- Remove some unused functions.

Fixes explorer crash on shutdown cancel. CORE-17749
2023-07-14 15:02:40 +03:00

124 lines
3.9 KiB
C

#pragma once
#define IDC_STATIC -1
#define IDD_STATUS 1000
#define IDC_STATUS_MESSAGE 1001
#define IDD_WELCOME 1100
#define IDC_WELCOME_HELP 1101
#define IDD_LOGON 1200
#define IDC_LOGON_USERNAME 1201
#define IDC_LOGON_PASSWORD 1202
#define IDC_LOGON_DOMAIN 1203
#define IDC_LOGON_SHUTDOWN 1204
#define IDD_SECURITY 1300
#define IDC_SECURITY_MESSAGE 1301
#define IDC_SECURITY_LOGONDATE 1302
#define IDC_SECURITY_LOCK 1303
#define IDC_SECURITY_LOGOFF 1304
#define IDC_SECURITY_SHUTDOWN 1305
#define IDC_SECURITY_CHANGEPWD 1306
#define IDC_SECURITY_TASKMGR 1307
#define IDD_LOCKED 1400
#define IDC_LOCKED_MESSAGE 1401
#define IDD_UNLOCK 1500
#define IDC_UNLOCK_MESSAGE 1501
#define IDC_UNLOCK_USERNAME 1502
#define IDC_UNLOCK_PASSWORD 1503
#define IDD_CHANGEPWD 1600
#define IDC_CHANGEPWD_USERNAME 1601
#define IDC_CHANGEPWD_DOMAIN 1602
#define IDC_CHANGEPWD_OLDPWD 1603
#define IDC_CHANGEPWD_NEWPWD1 1604
#define IDC_CHANGEPWD_NEWPWD2 1605
#define IDD_LOGOFF 1700
#define IDD_SHUTDOWN 1800
#define IDD_SHUTDOWN_FANCY 1900
#define IDD_SHUTDOWN_FANCY_LONG 1901
#define IDD_SHUTDOWN_REASON 2000
#define IDC_SHUTDOWN_ACTION 2001
#define IDC_SHUTDOWN_DESCRIPTION 2002
#define IDC_REASON_PLANNED 2003
#define IDC_REASON_LIST 2004
#define IDC_REASON_DESCRIPTION 2005
#define IDC_REASON_COMMENT 2006
#define IDC_TURN_OFF_STATIC 3001
#define IDC_HIBERNATE_STATIC 3002
#define IDC_SLEEP_STATIC 3003
#define IDC_SHUTDOWN_STATIC 3004
#define IDC_RESTART_STATIC 3005
#define IDC_BUTTON_SHUTDOWN 1901
#define IDC_BUTTON_REBOOT 1902
#define IDC_BUTTON_SLEEP 1903
#define IDC_BUTTON_HIBERNATE 1904
#define IDD_LEGALNOTICE 2100
#define IDC_LEGALNOTICE_TEXT 2101
#define IDC_ROSLOGO 1007
#define IDC_BAR 1008
#define IDC_DLG_BG 1009
#define IDC_ROSLOGO_WHITE 1010
#define IDI_ROSLOGO 20000
#define IDI_BAR 20001
#define IDI_ROSLOGO_FLAG 20002
#define IDI_DLG_BG 20003
#define IDB_IMAGE_STRIP 20004
#define IDI_NOT_CONNECTED 13
#define IDI_LOGOFF 21
#define IDI_SHUTDOWN 22
#define IDI_KEYBOARD 109
#define IDI_HARDWARE 110
#define IDI_LOCKICON 115
#define IDS_LOGGEDOUTSAS 40000
#define IDS_LOCKEDSAS 40001
#define IDS_PRESSCTRLALTDELETE 40002
#define IDS_ASKFORUSER 40003
#define IDS_ASKFORPASSWORD 40004
#define IDS_FORCELOGOFF 40005
#define IDS_LOCKMSG 40006
#define IDS_LOGONMSG 40007
#define IDS_LOGONDATE 40008
#define IDS_COMPUTERLOCKED 40009
#define IDS_LOCKEDWRONGPASSWORD 40010
#define IDS_LOCKEDWRONGUSER 40011
#define IDS_CHANGEPWDTITLE 40012
#define IDS_NONMATCHINGPASSWORDS 40013
#define IDS_PASSWORDCHANGED 40014
#define IDS_LOGONTITLE 40015
#define IDS_LOGONWRONGUSERORPWD 40016
#define IDS_LOGONUSERDISABLED 40017
#define IDS_PASSWORDMUSTCHANGE 40018
#define IDS_PASSWORDEXPIRED 40019
#define IDS_ACCOUNTEXPIRED 40020
#define IDS_ACCOUNTLOCKED 40021
#define IDS_INVALIDLOGONHOURS 40022
#define IDS_INVALIDWORKSTATION 40023
#define IDS_ACCOUNTRESTRICTION 40024
#define IDS_SHUTDOWN_LOGOFF 50000
#define IDS_SHUTDOWN_SHUTDOWN 50001
#define IDS_SHUTDOWN_RESTART 50002
#define IDS_SHUTDOWN_SLEEP 50003
#define IDS_SHUTDOWN_HIBERNATE 50004
/* Shut down descriptions */
#define IDS_SHUTDOWN_LOGOFF_DESC 50005
#define IDS_SHUTDOWN_SHUTDOWN_DESC 50006
#define IDS_SHUTDOWN_RESTART_DESC 50007
#define IDS_SHUTDOWN_SLEEP_DESC 50008
#define IDS_SHUTDOWN_HIBERNATE_DESC 50009