home *** CD-ROM | disk | FTP | other *** search
/ cyber.net 2 / cybernet2.ISO / qtw111 / mplayer / playfra.rc < prev    next >
Text File  |  1993-11-23  |  12KB  |  240 lines

  1.  
  2. // ---------------------------------------------------------------------
  3. //
  4. // PlayFra.rc - Movie Player - QuickTime for Windows
  5. //
  6. //              Version 1.0
  7. //
  8. //              (c) 1988-1992 Apple Computer, Inc. All Rights Reserved.
  9. //
  10. // ---------------------------------------------------------------------
  11.  
  12.  
  13.  
  14. // Includes
  15. // --------
  16.    #include <Windows.H>            // Required by Windows
  17.    #include <qtole.h>              // Required for defines in player.hr
  18.    #include <dlgs.h>               // Required for defines in comndlg template
  19.  
  20.    #include "player.hr"            // Defines used in this file
  21.  
  22.    rcinclude version.rc
  23.  
  24. // Dialogs
  25. // -------
  26.    rcinclude playfra.dlg
  27.  
  28. // Bitmaps and Icons
  29. // -----------------
  30.    PLAYER_PLAYER_ICON    ICON    playfra.ico
  31.    PLAYER_MOVIE_ICON     ICON    moviefra.ico
  32.    PLAYER_PLAYER_BITMAP  BITMAP  playfra.bmp
  33.  
  34. // Frame window menus
  35.    PLAYER_FRAME_MENU MENU
  36.      BEGIN
  37.        POPUP "&File_F"
  38.          BEGIN
  39.            MENUITEM "&Open...",                PLAYER_FILE_OPEN
  40.            MENUITEM "&Close",                  PLAYER_FILE_CLOSE
  41.            MENUITEM SEPARATOR
  42.            MENUITEM "&Print...",               PLAYER_FILE_PRINT
  43.            MENUITEM "P&rint Setup...",         PLAYER_FILE_PRTSETUP
  44.            MENUITEM SEPARATOR
  45.            MENUITEM "E&xit",                   PLAYER_FILE_EXIT
  46.          END
  47.  
  48.        POPUP "&Edit_F"
  49.          BEGIN
  50.            MENUITEM "&Copy\tCtrl+C",           PLAYER_EDIT_COPY
  51.            MENUITEM SEPARATOR
  52.            MENUITEM "&Options...",             PLAYER_EDIT_OPTIONS
  53.            MENUITEM SEPARATOR
  54.            MENUITEM "Cancel &Selection",       PLAYER_EDIT_CANCELSEL
  55.          END
  56.  
  57.        POPUP "&Movie_F"
  58.          BEGIN
  59.            MENUITEM "Get Movie &Info...",      PLAYER_MOVIE_GETINFO
  60.            MENUITEM SEPARATOR
  61.            MENUITEM "Stop at &End",            PLAYER_MOVIE_STOPATEND
  62.            MENUITEM "&Loop",                   PLAYER_MOVIE_LOOP
  63.            MENUITEM "Loop &Back and Forth",    PLAYER_MOVIE_BACKANDFORTH
  64.            MENUITEM SEPARATOR
  65.            MENUITEM "&Play Selection Only",    PLAYER_MOVIE_PLAYSELONLY
  66.            MENUITEM SEPARATOR
  67.            MENUITEM "&Half Size",              PLAYER_MOVIE_HALFSIZE
  68.            MENUITEM "&Normal Size",            PLAYER_MOVIE_NORMALSIZE
  69.            MENUITEM "&Double Size",            PLAYER_MOVIE_DOUBLESIZE
  70.            MENUITEM SEPARATOR
  71.            MENUITEM "&Show Poster",            PLAYER_MOVIE_SHOWPOSTER
  72.          END
  73.  
  74.        POPUP "&Window_F"
  75.          BEGIN
  76.            MENUITEM "&Tile",                   PLAYER_WINDOW_TILE
  77.            MENUITEM "&Cascade",                PLAYER_WINDOW_CASCADE
  78.            MENUITEM "&Arrange Icons",          PLAYER_WINDOW_ARRANGE
  79.          END
  80.  
  81.        POPUP "&Help_F"
  82.          BEGIN
  83.            MENUITEM "&Movie Player Help",      PLAYER_HELP_PLAYERHELP
  84.            MENUITEM "&Using Help",             PLAYER_HELP_USINGHELP
  85.            MENUITEM SEPARATOR
  86.            MENUITEM "&About Movie Player...",  PLAYER_HELP_ABOUTPLAYER
  87.          END
  88.      END
  89.  
  90. // Accelerators
  91. // -------
  92.    PLAYER_ACCELERATORS ACCELERATORS
  93.      BEGIN
  94.        "^C",      PLAYER_EDIT_COPY
  95.        VK_INSERT, PLAYER_EDIT_COPY,       VIRTKEY, CONTROL
  96.        VK_F1,     PLAYER_HELP_PLAYERHELP, VIRTKEY
  97.      END
  98.  
  99. // Strings
  100. // -------
  101.    STRINGTABLE
  102.       BEGIN
  103.          PLAYER_STRING_NOMEMORY,         "Out of Memory"
  104.          PLAYER_STRING_CAPTION,          "Movie Player"
  105.          PLAYER_STRING_NOACCELORMENU,    "Unable to load menu and accelerator resources"
  106.          PLAYER_STRING_NOWINDOW,         "Unable to create main window"
  107.          PLAYER_STRING_NODC,             "Unable to get a device context"
  108.  
  109.          PLAYER_STRING_FILEEXT,            ".mov"
  110.          PLAYER_STRING_OPENMOVIEFILTER,    "QuickTime Movies (*.mov)|*.mov|AVI Movies (*.avi)|*.avi|"
  111.          PLAYER_STRING_CDLG_FINDRESFAIL,   "CDERR_FINDRESFAILURE"
  112.          PLAYER_STRING_CDLG_INITFAIL,      "CDERR_INITIALIZATION"
  113.          PLAYER_STRING_CDLG_LOADRESFAIL,   "CDERR_LOADRESFAILURE"
  114.          PLAYER_STRING_CDLG_LOCKRESFAIL,   "CDERR_LOCKRESFAILURE"
  115.          PLAYER_STRING_CDLG_MEMALLOCFAIL,  "CDERR_MEMALLOCFAILURE"
  116.          PLAYER_STRING_CDLG_MEMLOCKFAIL,   "CDERR_MEMLOCKFAILURE"
  117.          PLAYER_STRING_CDLG_STRUCTSIZE,    "CDERR_STRUCTSIZE"
  118.          PLAYER_STRING_CDLG_BADFILENAME,   "FNERR_INVALIDFILENAME"
  119.          PLAYER_STRING_CDLG_PRTINITFAIL,   "PDERR_INITFAILURE"
  120.          PLAYER_STRING_CDLG_LOADDRVFAIL,   "PDERR_LOADDRVFAILURE"
  121.          PLAYER_STRING_CDLG_NODEFPRINTER,  "PDERR_NODEFAULTPRN"
  122.          PLAYER_STRING_CDLG_NODEVICES,     "PDERR_NODEVICES"
  123.          PLAYER_STRING_CDLG_NOFINDPNTR,    "PDERR_PRINTERNOTFOUND"
  124.          PLAYER_STRING_CDLG_SETUPFAIL,     "PDERR_SETUPFAILURE"
  125.          PLAYER_STRING_CDLG_GENFAILURE,    "Error %lu occurred in common dialog processing"
  126.          PLAYER_STRING_CDLG_FORMAT,        "Error %s occured during common dialg processing. Refer to 3.1 SDK manual, vol 2 for description of error"
  127.          PLAYER_STRING_CDLG_CAP,           "Common Dialog Error"
  128.  
  129.          PLAYER_STRING_CANCELDLG,        "Unable to create print cancel dialog box. Possibly low on memory"
  130.          PLAYER_STRING_ABORTPROC,        "Unable to set print abort procedure"
  131.          PLAYER_STRING_PRT_OUTOFDISK,    "SP_OUTOFDISK"
  132.          PLAYER_STRING_PRT_NOMEMORY,     "SP_OUTOFMEMORY"
  133.          PLAYER_STRING_PRT_GENERROR,     "General printing error. Possibly out of memory or disk space."
  134.          PLAYER_STRING_PRT_CAPTION,      "Printing Error"
  135.  
  136.          PLAYER_STRING_NOHELPFILE,       "Cannot find the help file. Be sure that the file Playfra.hlp is in either the same directory as Player.exe or in the help subdirectory"
  137.  
  138.          PLAYER_STRING_SIZEBYTES         "%lu on disk"
  139.          PLAYER_STRING_SIZEKBYTES        "%luK on disk"
  140.          PLAYER_STRING_DURATION,         "%.2f seconds"
  141.          PLAYER_STRING_SELECTION,        "%.2f -- %.2f sec"
  142.          PLAYER_STRING_NOSELECTION,      "(none)"
  143.          PLAYER_STRING_WANDH,            "%uW x %uH pixels"
  144.          PLAYER_STRING_RESOLUTION,       "%u dpi"
  145.          PLAYER_STRING_NORESOLUTION,     "n/a"
  146.          PLAYER_STRING_SND_NOSOUND,      "No Sound"
  147.          PLAYER_STRING_SND_NOCARD,       "No Sound Hardware"
  148.          PLAYER_STRING_SND_MONO,         "Mono"
  149.          PLAYER_STRING_SND_STEREO,       "Stereo"
  150.          PLAYER_STRING_SND_SOUNDQUALITY, "%u bits @ %lu.%.3lu KHz"
  151.          PLAYER_STRING_NOVIDEO,          "No Video"
  152.  
  153.          PLAYER_STRING_CODEC_NONE,       "(none)"
  154.          PLAYER_STRING_CODEC_PHOTO,      "Photo-JPEG"
  155.          PLAYER_STRING_CODEC_ANIMATION,  "Animation"
  156.          PLAYER_STRING_CODEC_GRAPHICS,   "Graphics"
  157.          PLAYER_STRING_CODEC_VIDEO,      "Video"
  158.          PLAYER_STRING_CODEC_CVID,       "CompactVideo"
  159.  
  160.          PLAYER_STRING_COLORS,           "%lu"
  161.          PLAYER_STRING_CLRS_BANDW,       "Black and White"
  162.          PLAYER_STRING_CLRS_2GRAYS,      "2 Grays"
  163.          PLAYER_STRING_CLRS_4COLORS,     "4"
  164.          PLAYER_STRING_CLRS_4GRAYS,      "4 Grays"
  165.          PLAYER_STRING_CLRS_16COLORS,    "16"
  166.          PLAYER_STRING_CLRS_16GRAYS,     "16 Grays"
  167.          PLAYER_STRING_CLRS_256COLORS,   "256"
  168.          PLAYER_STRING_CLRS_256GRAYS,    "256 Grays"
  169.          PLAYER_STRING_CLRS_THOUSANDS,   "Thousands"
  170.          PLAYER_STRING_CLRS_MILLIONS,    "Millions"
  171.          PLAYER_STRING_CLRS_MILLNSPLUS,  "Millions +"
  172.  
  173.          PLAYER_STRING_QTWNOEXIST,       "The QuickTime library needed to run QuickTime movies cannot be found."
  174.          PLAYER_STRING_QTWBADDLL,        "Required QuickTime libraries cannot be found. You may have deleted them or you may be attempting to load too many QuickTime applications."
  175.          PLAYER_STRING_QTW286,           "QuickTime requires at least a 386 computer"
  176.          PLAYER_STRING_QTWWIN30,         "QuickTime detects Windows version lower than version 3.1. Windows 3.1 or higher is required."
  177.          PLAYER_STRING_QTWFAILED,        "A general QuickTime Initialization failure has occured"
  178.          PLAYER_STRING_ENTMOVFAI