/*==============================================================*\
 *                                                              *
 *  cliqueue.rc - resource definitions                          *
 *      Copyright 1991, IBM Corp.                               *
 *                                                              *
 *--------------------------------------------------------------*
 *                                                              *
 *  This file contains the menu and string resources            *
 *  for the executable.                                         *
 *                                                              *
\*==============================================================*/
#define  INCL_WIN
#include <os2.h>
#include "cliqmain.h"
#include "cliqhelp.h"

ICON   IDR_MAIN "queue.ico"
BITMAP IDR_MAIN "prodinfo.bmp"

MENU IDR_MAIN
{
    SUBMENU     "~File", IDM_FILE, MIS_TEXT
    {
        MENUITEM    "E~xit\tF3",            IDM_FILEEXIT,       MIS_TEXT
    }

    SUBMENU     "~Help",    IDM_HELP,   MIS_TEXT
    {
        MENUITEM    "~Help for help...",    IDM_HELPHELPFORHELP, MIS_TEXT
        MENUITEM    "~Extended help...",    IDM_HELPEXTENDED,    MIS_TEXT
        MENUITEM    "~Keys help...",        IDM_HELPKEYS,       MIS_TEXT
        MENUITEM    "Help ~index...",       IDM_HELPINDEX,      MIS_TEXT
        MENUITEM SEPARATOR
        MENUITEM    "~Product Information...",  IDM_HELPABOUT,      MIS_TEXT
    }
}

ACCELTABLE IDR_MAIN
{
    VK_F3,          IDM_FILEEXIT,           VIRTUALKEY
    "M",            WID_SEND_MSG,           ALT
    "D",            WID_SEND_DATE,          ALT

}


DLGTEMPLATE IDD_ABOUTBOX LOADONCALL MOVEABLE DISCARDABLE
BEGIN
    DIALOG "Product Information", IDD_ABOUTBOX,                9,  17, 250, 120,
            FS_NOBYTEALIGN | FS_DLGBORDER | WS_VISIBLE | WS_CLIPSIBLINGS | WS_SAVEBITS, FCF_TITLEBAR
    BEGIN
        CONTROL IDR_MAIN, IDC_ICON,                           98,  77,   0,   0,
                 WC_STATIC, SS_BITMAP | WS_GROUP | WS_VISIBLE

        CTEXT   "OS/2 IPC Queue Client", 256,                  0,  65, 250,   8,
                 SS_TEXT | DT_CENTER | DT_TOP | WS_GROUP | WS_VISIBLE

        CTEXT   "Version 1.0", 258,                            0,  55, 250,   8,
                 SS_TEXT | DT_CENTER | DT_TOP | WS_GROUP | WS_VISIBLE

        CTEXT   "(C) Copyright IBM Corporation 1991."
                " All Rights reserved.", 257,
                                                               0,  45, 250,   8,
                 SS_TEXT | DT_CENTER | DT_TOP | WS_GROUP | WS_VISIBLE

        CTEXT   "OS/2 is a registered trademark of", 258,      0,  35, 250,   8,
                 SS_TEXT | DT_CENTER | DT_TOP | WS_GROUP | WS_VISIBLE

        CTEXT   "International Business Machines Corp.", 257,  0,  25, 250,   8,
                 SS_TEXT | DT_CENTER | DT_TOP | WS_GROUP | WS_VISIBLE

        CONTROL "Ok", IDC_OK,                                105,   6,  38,  13,
                 WC_BUTTON, BS_PUSHBUTTON | BS_DEFAULT | WS_TABSTOP | WS_VISIBLE
    END
END


STRINGTABLE
{
    IDS_APPNAME                 "Queue Client"
    IDS_HELPLIBRARYNAME         "CLIQUEUE.HLP"
    IDS_HELPWINDOWTITLE         "Client Q Help"
    IDS_TITLEBARSEPARATOR       " - "
}

MESSAGETABLE
{
    IDMSG_INITFAILED            "Initialization failed."
    IDMSG_MAINWINCREATEFAILED   "Failed to create main window."
    IDMSG_HELPLOADERROR         "Failed to load help manager."
    IDMSG_CANNOTLOADSTRING      "Failed to load string."
    IDMSG_HELPDISPLAYERROR      "Failed to display help panel."

    IDMSG_SVR_DOWN              "The Queue Server process is not running."
    IDMSG_SEM_ERR               "Error in accessing mutex semaphore."
    IDMSG_Q_ERR                 "Error in opening Queue."
    IDMSG_MEM_ERR               "Error in opening shared memory."
    IDMSG_SEM_TIMEOUT           "Request for mutex semaphore timed-out."
    IDMSG_MEM_FULL              "Shared memory buffer is full."
    IDMSG_GIVE_MEM_ERR          "Cannot give server access to shared memory."
    IDMSG_SUBALLOC_MEM_ERR      "Error in suballocating memory."
}

rcinclude cliqhelp.rc
