home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgLangD.iso / C++-7 / DISK11 / MFC / SAMPLES / SPEAKN / SPEAKN.RC$ / speakn
Encoding:
Text File  |  1992-03-19  |  2.8 KB  |  92 lines

  1. // speakn.rc : Defines the resources for the SpeakN application.
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and Microsoft
  9. // QuickHelp documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12. //
  13.  
  14. #include "speakn.h"
  15.  
  16. AFX_IDI_STD_FRAME   ICON    speakn.ico
  17.  
  18. /////////////////////////////////////////////////////////////////////////////
  19. // Dialog Template for main window
  20.  
  21. MAINDIALOG DIALOG 90, 9, 144, 188
  22. STYLE WS_CAPTION | WS_SYSMENU
  23. CAPTION "Speak 'n Pen - Word Game"
  24. FONT 10, "MS Sans Serif"
  25. BEGIN
  26.     LTEXT           "What is this ?", IDC_PROMPT_TEXT, 3, 10, 99, 19
  27.     CONTROL         "replay", IDC_REPLAY_SOUND, "Button", BS_OWNERDRAW | 
  28.                     WS_TABSTOP, 117, 3, 22, 13
  29.     CONTROL         "", IDC_PICTURE, "Button", BS_OWNERDRAW, 0, 32, 144, 100
  30.     CONTROL         "ALC<2>", IDC_INPUT_EDIT, "bedit", 
  31.                     ES_LEFT | ES_UPPERCASE | WS_TABSTOP, 0, 132, 144, 23
  32.     PUSHBUTTON      "GiveUp", IDC_GIVE_UP, 4, 169, 40, 14
  33.     ICON            IDI_FACE_NEUTRAL, IDC_STATUS_FACE, 66, 166, 16, 16
  34.     DEFPUSHBUTTON   "Guess", IDOK, 99, 169, 40, 14
  35. END
  36.  
  37. /////////////////////////////////////////////////////////////////////////////
  38. // Extra resources for user interface
  39.  
  40. // Happy face icons
  41. IDI_FACE_NEUTRAL    icon        face01.ico
  42. IDI_FACE_HAPPY      icon        face02.ico
  43. IDI_FACE_HAPPIER    icon        face03.ico
  44. IDI_FACE_SAD        icon        face04.ico
  45.  
  46. // Bitmap buttons
  47. replayU             bitmap      replayU.bmp     ; button up
  48. replayD             bitmap      replayD.bmp     ; button down
  49. replayF             bitmap      replayF.bmp     ; button focused
  50.  
  51. // Intro picture
  52. intro               bitmap      intro.dib
  53.  
  54. // standard sounds
  55. IDSOUND_WELCOME     sound       welcome.wav
  56. IDSOUND_QUESTION    sound       question.wav
  57. IDSOUND_CORRECT     sound       correct.wav
  58. IDSOUND_INCORRECT   sound       incorrec.wav
  59. IDSOUND_GIVEUP      sound       giveup.wav
  60. IDSOUND_GOODBYE     sound       goodbye.wav
  61.  
  62. // Lesson data
  63.  
  64. SAMPLE1 lesson PRELOAD
  65. BEGIN
  66.     // list of target words
  67.     "DOG\0",
  68.     "PIG\0",
  69.     "FROG\0",
  70.     "TRAIN\0",
  71.     0 ; end of data
  72. END
  73.  
  74. ; DOG
  75. DOG                 bitmap      dog.dib
  76. DOG                 sound       dog.wav
  77.  
  78. ; PIG
  79. PIG                 bitmap      pig.dib
  80. PIG                 sound       pig.wav
  81.  
  82. ; FROG
  83. FROG                bitmap      frog.dib
  84. FROG                sound       frog.wav
  85.  
  86. ; TRAIN
  87. TRAIN               bitmap      train.dib
  88. TRAIN               sound       train.wav
  89.  
  90.  
  91. /////////////////////////////////////////////////////////////////////////////
  92.