Leaked source code of windows server 2003
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.

87 lines
3.3 KiB

  1. #include "windows.h"
  2. #include "generic.h"
  3. Generic ICON Generic.ICO
  4. Logo BITMAP window.bmp
  5. Generic MENU
  6. BEGIN
  7. POPUP "&Test"
  8. {
  9. MENUITEM "&Log On...", IDM_LOGON
  10. MENUITEM "Log &Off", IDM_LOGOFF
  11. MENUITEM SEPARATOR
  12. MENUITEM "LoadUser&Profile...", IDM_LUP
  13. MENUITEM "GetProfile&Type", IDM_PFTYPE
  14. MENUITEM "&UnloadUserProfile", IDM_ULUP
  15. MENUITEM SEPARATOR
  16. MENUITEM "E&xit", IDM_EXIT
  17. }
  18. POPUP "&Help"
  19. {
  20. MENUITEM "&About Generic...", IDM_ABOUT
  21. }
  22. END
  23. GENERIC ACCELERATORS
  24. BEGIN
  25. "?", IDM_ABOUT, ALT
  26. "/", IDM_ABOUT, ALT
  27. END
  28. ABOUTBOX DIALOG 22, 17, 167, 64
  29. STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
  30. CAPTION "About..."
  31. FONT 8, "MS Shell Dlg"
  32. BEGIN
  33. DEFPUSHBUTTON "OK", IDOK, 70, 40, 32, 14, WS_GROUP
  34. CTEXT "LoadUserProfile Test App", -1, 10, 15, 150, 8
  35. END
  36. LUPDLG DIALOG 6, 18, 235, 237
  37. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  38. CAPTION "LoadUserProfile"
  39. FONT 8, "MS Shell Dlg"
  40. BEGIN
  41. GROUPBOX "Flags", 101, 5, 5, 160, 46
  42. AUTOCHECKBOX "PI_NOUI", IDD_NOUI, 15, 18, 75, 10
  43. AUTOCHECKBOX "PI_APPLYPOLICY", IDD_APPLYPOLICY, 15, 35, 75, 10
  44. AUTOCHECKBOX "PI_LITELOAD", IDD_LITELOAD, 95, 18, 65, 10
  45. AUTOCHECKBOX "Reserved", 106, 95, 35, 65, 10, WS_DISABLED
  46. GROUPBOX "Profile Path", 108, 5, 58, 221, 35
  47. EDITTEXT IDD_PROFILEPATH, 15, 73, 201, 12, ES_AUTOHSCROLL
  48. GROUPBOX "Reserved", 109, 5, 98, 221, 35
  49. EDITTEXT -1, 15, 113, 201, 12, ES_AUTOHSCROLL, WS_DISABLED
  50. GROUPBOX "Default Profile Path", 138, 5, 138, 221, 35
  51. EDITTEXT IDD_DEFAULTPATH, 15, 151, 201, 12, ES_AUTOHSCROLL
  52. CONTROL "", 113, "Static", SS_ETCHEDHORZ, 5, 180, 221, 1
  53. GROUPBOX "Results", 112, 5, 187, 221, 40
  54. CTEXT "Return Value:", 115, 15, 197, 50, 8
  55. CTEXT "Time:", IDD_TIME_TEXT, 88, 197, 50, 8
  56. CTEXT "hProfile:", IDD_PROFILE_TEXT, 170, 197, 50, 8
  57. EDITTEXT IDD_RETVAL, 15, 210, 49, 12, ES_AUTOHSCROLL
  58. EDITTEXT IDD_TIME, 90, 210, 49, 12, ES_AUTOHSCROLL
  59. EDITTEXT IDD_PROFILE, 170, 210, 49, 12, ES_AUTOHSCROLL
  60. DEFPUSHBUTTON "Execute", IDOK, 173, 8, 55, 14
  61. PUSHBUTTON "Close", IDCANCEL, 173, 27, 55, 14
  62. END
  63. LOGONDLG DIALOG 62, 44, 223, 90
  64. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  65. CAPTION "Welcome"
  66. FONT 8, "MS Shell Dlg"
  67. BEGIN
  68. LTEXT "&Username:", 202, 53, 13, 40, 8
  69. EDITTEXT IDD_USERNAME, 95, 12, 122, 12, ES_AUTOHSCROLL
  70. LTEXT "&From:", 203, 53, 29, 40, 8, NOT WS_GROUP
  71. EDITTEXT IDD_DOMAIN, 95, 27, 122, 12, WS_TABSTOP | ES_AUTOHSCROLL
  72. LTEXT "&Password:", 204, 53, 46, 39, 8, NOT WS_GROUP
  73. EDITTEXT IDD_PASSWORD, 95, 44, 122, 12, ES_PASSWORD | ES_AUTOHSCROLL
  74. DEFPUSHBUTTON "OK", IDOK, 63, 70, 40, 14, WS_GROUP
  75. PUSHBUTTON "Cancel", IDCANCEL, 119, 70, 40, 14
  76. CONTROL "", IDD_ICON, "Static", SS_BITMAP | WS_GROUP, 5, 11, 39, 45
  77. END