Source code of Windows XP (NT5)
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.

76 lines
4.0 KiB

  1. #include <windows.h>
  2. #include "profile.h"
  3. ID_ICON ICON PRELOAD MOVEABLE DISCARDABLE PROFILE.ICO
  4. STRINGTABLE PRELOAD MOVEABLE DISCARDABLE
  5. BEGIN
  6. IDS_NAME, "Profile"
  7. IDS_INFO, "Configures your personal profile"
  8. IDS_UNABLETOSAVE, "Unable to save your profile settings"
  9. IDS_BASEERRORMSG, "You are unable to save the profile settings because:\n\n%s\n\nContinue without saving?"
  10. IDS_NAMEINDONTLIST, "You can not save changes from a computer which is in the ""Do Not Save Profile"" list."
  11. IDS_NONAMEANDDONOTSAVE, "This computer does not have ""Save"" privileges (it is not in the list of machines to save changes from, and the default setting is to not save changes on an ""Unlisted"" computer)."
  12. IDS_LOGOFFNOTICE, "Your profile settings have been successfully saved.\n\nIn order for the changes to take effect:\n\n1) Log off any other computers you are using, then\n2) Log off of this computer."
  13. IDS_DUPLICATENAME, "One or more computer names are in both the ""Save Profile"" list and the ""Do Not Save Profile"" list."
  14. IDS_ADDNAME, "Would you like to add the new computer name before exiting?"
  15. IDS_UNKNOWN, "Unknown"
  16. IDS_FORMAT, "Profile Storage Location for %s\\%s:"
  17. END
  18. IDD_PROFILE DIALOG 56, 26, 302, 215
  19. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  20. CAPTION "Personal Profile Configuration"
  21. FONT 8, "MS Shell Dlg"
  22. BEGIN
  23. DEFPUSHBUTTON "OK", IDOK, 240, 10, 55, 15, WS_TABSTOP | WS_GROUP
  24. PUSHBUTTON "Cancel", IDCANCEL, 240, 30, 55, 15, WS_TABSTOP
  25. PUSHBUTTON "&Help", IDD_HELP, 240, 50, 55, 15, WS_TABSTOP
  26. LTEXT "", IDD_USERNAME, 10, 10, 220, 8, WS_GROUP
  27. LTEXT "", IDD_PATH, 10, 20, 220, 8
  28. LTEXT "Local Computer Name:", -1, 10, 38, 79, 8
  29. LTEXT "", IDD_COMPUTERNAME, 90, 39, 139, 8
  30. GROUPBOX "&Computer Names", -2, 10, 55, 220, 96
  31. LTEXT "Save Profile On:", -3, 20, 72, 85, 8
  32. LISTBOX IDD_SAVELIST, 20, 83, 85, 40, LBS_NOTIFY | LBS_SORT | WS_VSCROLL |
  33. WS_TABSTOP
  34. PUSHBUTTON "Ch&ange...", IDD_SAVECHANGE, 35, 130, 50, 14, WS_TABSTOP
  35. LTEXT "Do Not Save Profile On:", -4, 128, 72, 85, 8
  36. LISTBOX IDD_DONTSAVELIST, 128, 83, 85, 40, LBS_NOTIFY | LBS_SORT | WS_VSCROLL |
  37. WS_TABSTOP
  38. PUSHBUTTON "Chan&ge...", IDD_DONTSAVECHANGE, 145, 130, 49, 14, WS_TABSTOP
  39. GROUPBOX "&Default", -5, 10, 156, 220, 49
  40. AUTORADIOBUTTON "&Save Profile on Unlisted Computer", IDD_DEFAULTSAVE,
  41. 20, 172, 200, 10, WS_GROUP | WS_TABSTOP
  42. AUTORADIOBUTTON "Do &Not Save Profile on Unlisted Computer",
  43. IDD_DEFAULTDONTSAVE, 20, 187, 200, 10, WS_TABSTOP
  44. END
  45. IDD_COMPUTERNAMES DIALOG 60, 39, 170, 142
  46. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  47. CAPTION "Computer Names"
  48. FONT 8, "MS Shell Dlg"
  49. BEGIN
  50. DEFPUSHBUTTON "OK", IDOK, 125, 7, 40, 14, WS_TABSTOP | WS_GROUP
  51. PUSHBUTTON "Cancel", IDCANCEL, 125, 25, 40, 14, WS_TABSTOP
  52. PUSHBUTTON "&Delete", IDD_DELETE, 125, 50, 40, 14, WS_TABSTOP
  53. PUSHBUTTON "&Clear All", IDD_CLEARALL, 125, 68, 40, 14, WS_TABSTOP
  54. PUSHBUTTON "&Help", IDD_NAMESHELP, 125, 93, 40, 14, WS_TABSTOP
  55. PUSHBUTTON "&Add", IDD_ADD, 125, 119, 40, 14, WS_TABSTOP
  56. LISTBOX IDD_NAMESLIST, 10, 10, 105, 102, LBS_SORT | LBS_EXTENDEDSEL |
  57. WS_VSCROLL | WS_TABSTOP | WS_GROUP
  58. LTEXT "&New Name:", -1, 10, 110, 105, 8
  59. EDITTEXT IDD_NEWNAME, 10, 120, 105, 12, ES_AUTOHSCROLL | WS_TABSTOP
  60. END
  61. #include <ntverp.h>
  62. #define VER_FILETYPE VFT_DLL
  63. #define VER_FILESUBTYPE VFT2_UNKNOWN
  64. #define VER_FILEDESCRIPTION_STR "Profile Applet for the Control Panel"
  65. #define VER_INTERNALNAME_STR "profile.cpl"
  66. #define VER_ORIGINALFILENAME_STR "profile.cpl"
  67. #include "common.ver"