/*****************************************************************************/
/*                                                                           */
/* File Name:    HIDEKBD.RC                                                  */
/*                                                                           */
/* Description:  Resource file for the HIDEKBD API sample program.           */
/*                                                                           */
/*                                                                           */
/*  Copyright (C) 1993 IBM Corporation                                       */
/*                                                                           */
/*      DISCLAIMER OF WARRANTIES.  The following [enclosed] code is          */
/*      sample code created by IBM Corporation. This sample code is not      */
/*      part of any standard or IBM product and is provided to you solely    */
/*      for  the purpose of assisting you in the development of your         */
/*      applications.  The code is provided "AS IS", without                 */
/*      warranty of any kind.  IBM shall not be liable for any damages       */
/*      arising out of your use of the sample code, even if they have been   */
/*      advised of the possibility of such damages.                          */
/*                                                                           */
/*****************************************************************************/
#define INCL_PM
#include <os2.h>
#include "hidekbd.h"

ICON ID_WINDOW PRELOAD HIDEKBD.ICO

MENU ID_WINDOW PRELOAD
BEGIN
   SUBMENU "~Demo", IDM_OPTIONS, MIS_TEXT
   BEGIN
      MENUITEM "~Start Demo", IDM_DEMO, MIS_TEXT
      MENUITEM "E~xit Demo", IDM_EXIT_DEMO, MIS_TEXT
   END
   MENUITEM "~Help", IDM_HELP, MIS_TEXT
END

HELPTABLE  HIDEKBD_HELPTABLE
{
  HELPITEM ID_WINDOW,             HIDEKBD_HELPSUBTABLE,     PANEL_HIDEKBD
  HELPITEM IDD_LOAD,              BTNLOAD_HELPSUBTABLE,     PANEL_BTNLOAD
  HELPITEM IDD_HIDE,              BTNHIDE_HELPSUBTABLE,     PANEL_BTNHIDE
  HELPITEM IDD_RESTORE,           BTNREST_HELPSUBTABLE,     PANEL_BTNREST
  HELPITEM IDD_CLOSE,             BTNCLOSE_HELPSUBTABLE,    PANEL_BTNCLOSE
}

HELPSUBTABLE HIDEKBD_HELPSUBTABLE
BEGIN
  HELPSUBITEM IDM_HELP,           PANEL_HIDEKBD
END

HELPSUBTABLE BTNLOAD_HELPSUBTABLE
BEGIN
  HELPSUBITEM IDD_LOAD,           PANEL_BTNLOAD
END

HELPSUBTABLE BTNHIDE_HELPSUBTABLE
BEGIN
  HELPSUBITEM IDD_HIDE,           PANEL_BTNHIDE
END

HELPSUBTABLE BTNREST_HELPSUBTABLE
BEGIN
  HELPSUBITEM IDD_RESTORE,        PANEL_BTNREST
END

HELPSUBTABLE BTNCLOSE_HELPSUBTABLE
BEGIN
  HELPSUBITEM IDD_CLOSE,          PANEL_BTNCLOSE
END

STRINGTABLE PRELOAD
BEGIN
   IDS_APPNAME           "HIDEKBD"
   IDS_NO_KBD_LOAD       "Cannot load Pop-Up Keyboard."
   IDS_NO_KBD_RUNNING    "The Pop-Up Keyboard is not running."
   IDS_NO_HIDE_KBD       "Cannot hide the Pop-Up Keyboard."
   IDS_NO_RESTORE_KBD    "Cannot restore the Pop-Up Keyboard."
   IDS_NO_CLOSE_KBD      "Cannot close the Pop-Up Keyboard."
   IDS_NO_HELP           "No HELP available for this application."
   IDS_PEN_NOT_INSTALLED "Pen for OS/2 is not installed on this system."
   IDS_PEN_NOT_RUNNING   "Pen for OS/2 is not running on this system."
END

rcinclude HIDEKBD.DLG
