home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / pentlk11.zip / HIDEKBD.RC < prev    next >
Text File  |  1994-01-13  |  3KB  |  84 lines

  1. /*****************************************************************************/
  2. /*                                                                           */
  3. /* File Name:    HIDEKBD.RC                                                  */
  4. /*                                                                           */
  5. /* Description:  Resource file for the HIDEKBD API sample program.           */
  6. /*                                                                           */
  7. /*                                                                           */
  8. /*  Copyright (C) 1993 IBM Corporation                                       */
  9. /*                                                                           */
  10. /*      DISCLAIMER OF WARRANTIES.  The following [enclosed] code is          */
  11. /*      sample code created by IBM Corporation. This sample code is not      */
  12. /*      part of any standard or IBM product and is provided to you solely    */
  13. /*      for  the purpose of assisting you in the development of your         */
  14. /*      applications.  The code is provided "AS IS", without                 */
  15. /*      warranty of any kind.  IBM shall not be liable for any damages       */
  16. /*      arising out of your use of the sample code, even if they have been   */
  17. /*      advised of the possibility of such damages.                          */
  18. /*                                                                           */
  19. /*****************************************************************************/
  20. #define INCL_PM
  21. #include <os2.h>
  22. #include "hidekbd.h"
  23.  
  24. ICON ID_WINDOW PRELOAD HIDEKBD.ICO
  25.  
  26. MENU ID_WINDOW PRELOAD
  27. BEGIN
  28.    SUBMENU "~Demo", IDM_OPTIONS, MIS_TEXT
  29.    BEGIN
  30.       MENUITEM "~Start Demo", IDM_DEMO, MIS_TEXT
  31.       MENUITEM "E~xit Demo", IDM_EXIT_DEMO, MIS_TEXT
  32.    END
  33.    MENUITEM "~Help", IDM_HELP, MIS_TEXT
  34. END
  35.  
  36. HELPTABLE  HIDEKBD_HELPTABLE
  37. {
  38.   HELPITEM ID_WINDOW,             HIDEKBD_HELPSUBTABLE,     PANEL_HIDEKBD
  39.   HELPITEM IDD_LOAD,              BTNLOAD_HELPSUBTABLE,     PANEL_BTNLOAD
  40.   HELPITEM IDD_HIDE,              BTNHIDE_HELPSUBTABLE,     PANEL_BTNHIDE
  41.   HELPITEM IDD_RESTORE,           BTNREST_HELPSUBTABLE,     PANEL_BTNREST
  42.   HELPITEM IDD_CLOSE,             BTNCLOSE_HELPSUBTABLE,    PANEL_BTNCLOSE
  43. }
  44.  
  45. HELPSUBTABLE HIDEKBD_HELPSUBTABLE
  46. BEGIN
  47.   HELPSUBITEM IDM_HELP,           PANEL_HIDEKBD
  48. END
  49.  
  50. HELPSUBTABLE BTNLOAD_HELPSUBTABLE
  51. BEGIN
  52.   HELPSUBITEM IDD_LOAD,           PANEL_BTNLOAD
  53. END
  54.  
  55. HELPSUBTABLE BTNHIDE_HELPSUBTABLE
  56. BEGIN
  57.   HELPSUBITEM IDD_HIDE,           PANEL_BTNHIDE
  58. END
  59.  
  60. HELPSUBTABLE BTNREST_HELPSUBTABLE
  61. BEGIN
  62.   HELPSUBITEM IDD_RESTORE,        PANEL_BTNREST
  63. END
  64.  
  65. HELPSUBTABLE BTNCLOSE_HELPSUBTABLE
  66. BEGIN
  67.   HELPSUBITEM IDD_CLOSE,          PANEL_BTNCLOSE
  68. END
  69.  
  70. STRINGTABLE PRELOAD
  71. BEGIN
  72.    IDS_APPNAME           "HIDEKBD"
  73.    IDS_NO_KBD_LOAD       "Cannot load Pop-Up Keyboard."
  74.    IDS_NO_KBD_RUNNING    "The Pop-Up Keyboard is not running."
  75.    IDS_NO_HIDE_KBD       "Cannot hide the Pop-Up Keyboard."
  76.    IDS_NO_RESTORE_KBD    "Cannot restore the Pop-Up Keyboard."
  77.    IDS_NO_CLOSE_KBD      "Cannot close the Pop-Up Keyboard."
  78.    IDS_NO_HELP           "No HELP available for this application."
  79.    IDS_PEN_NOT_INSTALLED "Pen for OS/2 is not installed on this system."
  80.    IDS_PEN_NOT_RUNNING   "Pen for OS/2 is not running on this system."
  81. END
  82.  
  83. rcinclude HIDEKBD.DLG
  84.