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.

90 lines
2.8 KiB

  1. /*++
  2. Copyright (c) Microsoft Corporation. All rights reserved.
  3. Module Name:
  4. color.dlg
  5. Abstract:
  6. This module contains the resource descriptions for the Win32
  7. color common dialogs.
  8. Revision History:
  9. --*/
  10. //
  11. // Include Files.
  12. //
  13. #include <colordlg.h>
  14. //
  15. // Color Dialogs.
  16. //
  17. ChooseColor DIALOG LOADONCALL MOVEABLE DISCARDABLE 2, 0, 298, 184
  18. STYLE WS_BORDER | DS_MODALFRAME | WS_CAPTION | WS_POPUP | WS_SYSMENU |
  19. DS_3DLOOK | DS_CONTEXTHELP
  20. CAPTION "Color"
  21. FONT 8 "MS Shell Dlg"
  22. BEGIN
  23. LTEXT "&Basic colors:", -1, 4, 4, 140, 9
  24. CONTROL "", COLOR_BOX1, "static",
  25. SS_SIMPLE | WS_CHILD | WS_TABSTOP | WS_GROUP,
  26. 4, 14, 140, 86
  27. LTEXT "&Custom colors:", -1, 4, 106, 140, 9
  28. CONTROL "", COLOR_CUSTOM1, "static",
  29. SS_SIMPLE | WS_CHILD | WS_TABSTOP | WS_GROUP,
  30. 4, 116, 140, 28
  31. PUSHBUTTON "&Define Custom Colors >>" COLOR_MIX, 4, 150, 140, 14,
  32. WS_TABSTOP | WS_GROUP
  33. DEFPUSHBUTTON "OK", IDOK, 4, 166, 44, 14, WS_GROUP | WS_TABSTOP
  34. PUSHBUTTON "Cancel", IDCANCEL, 52, 166, 44, 14, WS_GROUP | WS_TABSTOP
  35. PUSHBUTTON "&Help", pshHelp, 100, 166, 44, 14, WS_GROUP | WS_TABSTOP
  36. CONTROL "", COLOR_RAINBOW, "static",
  37. SS_SUNKEN | SS_SIMPLE | WS_CHILD, 152, 4, 118, 116
  38. CONTROL "", COLOR_LUMSCROLL, "static",
  39. SS_SUNKEN | SS_SIMPLE | WS_CHILD, 280, 4, 8, 116
  40. CONTROL "", COLOR_CURRENT, "static",
  41. SS_SUNKEN | SS_SIMPLE | WS_CHILD, 152, 124, 40, 26
  42. PUSHBUTTON "&o", COLOR_SOLID, 300, 200, 4, 14, WS_GROUP
  43. RTEXT "Color", COLOR_SOLID_LEFT, 152, 151, 20, 9
  44. LTEXT "|S&olid", COLOR_SOLID_RIGHT, 172, 151, 20, 9
  45. RTEXT "Hu&e:", COLOR_HUEACCEL, 194, 126, 20, 9
  46. EDITTEXT, COLOR_HUE, 216, 124, 18, 12, WS_GROUP | WS_TABSTOP
  47. RTEXT "&Sat:", COLOR_SATACCEL, 194, 140, 20, 9
  48. EDITTEXT, COLOR_SAT, 216, 138, 18, 12, WS_GROUP | WS_TABSTOP
  49. RTEXT "&Lum:", COLOR_LUMACCEL, 194, 154, 20, 9
  50. EDITTEXT, COLOR_LUM, 216, 152, 18, 12, WS_GROUP | WS_TABSTOP
  51. RTEXT "&Red:", COLOR_REDACCEL, 243, 126, 24, 9
  52. EDITTEXT, COLOR_RED, 269, 124, 18, 12, WS_GROUP | WS_TABSTOP
  53. RTEXT "&Green:", COLOR_GREENACCEL, 243, 140, 24, 9
  54. EDITTEXT, COLOR_GREEN, 269, 138, 18, 12, WS_GROUP | WS_TABSTOP
  55. RTEXT "Bl&ue:", COLOR_BLUEACCEL, 243, 154, 24, 9
  56. EDITTEXT, COLOR_BLUE, 269, 152, 18, 12, WS_GROUP | WS_TABSTOP
  57. PUSHBUTTON "&Add to Custom Colors", COLOR_ADD, 152, 166, 142, 14,
  58. WS_GROUP | WS_TABSTOP
  59. END