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.

78 lines
2.6 KiB

  1. #include <windows.h>
  2. #include "movplay.h"
  3. #include "movplay.rcv"
  4. #include "strings.rc"
  5. AppIcon ICON "movplay.ico"
  6. DocIcon ICON "movplay.ico"
  7. ABOUTBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 23, 17, 171, 76
  8. STYLE WS_DLGFRAME | WS_POPUP
  9. BEGIN
  10. CONTROL "Microsoft Windows", -1, "static", SS_CENTER | WS_GROUP | WS_CHILD, 0, 5, 170, 8
  11. CONTROL "VfW Play App", -1, "static", SS_CENTER | WS_GROUP | WS_CHILD, 0, 14, 170, 8
  12. CONTROL "Copyright (c) 1986-1993, Microsoft", -1, "static", SS_CENTER | WS_GROUP | WS_CHILD, 0, 47, 170, 9
  13. CONTROL "Ok", IDOK, "button", BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP | WS_CHILD, 74, 58, 32, 14
  14. CONTROL "AppIcon", -1, "static", SS_ICON | WS_CHILD, 3, 5, 16, 16
  15. CONTROL "DocIcon", -1, "static", SS_ICON | WS_CHILD, 150, 5, 16, 16
  16. END
  17. AppMenu menu
  18. begin
  19. POPUP "&File"
  20. begin
  21. MENUITEM "&Open..." ,MENU_OPEN
  22. MENUITEM "&New" ,MENU_NEW
  23. MENUITEM "&Close" ,MENU_CLOSE
  24. MENUITEM "Close &All" ,MENU_CLOSEALL
  25. MENUITEM SEPARATOR
  26. MENUITEM "E&xit" ,MENU_EXIT
  27. MENUITEM "A&bout..." ,MENU_ABOUT
  28. end
  29. POPUP "&Movie"
  30. {
  31. MENUITEM "&Play", IDM_PLAY
  32. MENUITEM "Play &Reverse", IDM_RPLAY
  33. MENUITEM "&Stop", IDM_STOP
  34. MENUITEM SEPARATOR
  35. MENUITEM "&Home", IDM_HOME
  36. MENUITEM "&End", IDM_END
  37. MENUITEM SEPARATOR
  38. MENUITEM "Step &Fwrd", IDM_STEP
  39. MENUITEM "Step &Back", IDM_RSTEP
  40. MENUITEM SEPARATOR
  41. POPUP "St&yles"
  42. BEGIN
  43. MENUITEM "Repeat", IDM_SRepeat
  44. MENUITEM "Autosize Window", IDM_SAutosizeWindow
  45. MENUITEM "Autosize Movie", IDM_SAutosizeMovie
  46. MENUITEM "Playbar", IDM_SPlaybar
  47. MENUITEM "Record", IDM_SRecord
  48. MENUITEM "Menu", IDM_SMenu
  49. MENUITEM "Error Dialogs", IDM_SErrorDlg
  50. MENUITEM "Show Name", IDM_SShowName
  51. MENUITEM "Show Mode", IDM_SShowMode
  52. MENUITEM "Show Pos", IDM_SShowPos
  53. MENUITEM "Notify Media", IDM_SNotifyMedia
  54. MENUITEM "Notify Mode", IDM_SNotifyMode
  55. MENUITEM "Notify Pos", IDM_SNotifyPos
  56. MENUITEM "Notify Size", IDM_SNotifySize
  57. END
  58. }
  59. POPUP "&Window"
  60. begin
  61. MENUITEM "&Tile" ,WM_MDITILE
  62. MENUITEM "&Cascade" ,WM_MDICASCADE
  63. MENUITEM "Arrange &Icons" ,WM_MDIICONARRANGE
  64. end
  65. end
  66. AppAccel ACCELERATORS PRELOAD
  67. BEGIN
  68. // VK_HOME, IDM_HOME, VIRTKEY // !!! done by MCIWnd
  69. // VK_END, IDM_END, VIRTKEY
  70. // VK_RIGHT, IDM_STEP, VIRTKEY
  71. // VK_LEFT, IDM_RSTEP, VIRTKEY
  72. VK_SPACE, IDM_PLAY, VIRTKEY
  73. VK_SPACE, IDM_RPLAY, VIRTKEY, SHIFT
  74. END