home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: SysTools / SysTools.zip / sysba021.zip / SRC.ZIP / sysbar2 / Piper / sb2_pipe.rc < prev   
Text File  |  2003-01-03  |  5KB  |  119 lines

  1. /*
  2.  
  3.   SysBar/2 Utility Set  version 0.21
  4.  
  5.   Pipe Monitor resources
  6.  
  7.   ..................................................................
  8.  
  9.   Copyright (c) 1995-1999  Dmitry I. Platonoff
  10.                            All rights reserved
  11.  
  12.                          dplatonoff@canada.com
  13.  
  14.   ..................................................................
  15.  
  16.   LICENSE
  17.   ~~~~~~~
  18.   Redistribution and use in source and binary forms, with or without
  19.   modification, are permitted provided that the following conditions
  20.   are met:
  21.  
  22.   1. Redistributions of source code must retain the above copyright
  23.      notice, this list of conditions and the following disclaimer.
  24.  
  25.   2. Redistributions in binary form must reproduce the above
  26.      copyright notice, this list of conditions and the following
  27.      disclaimer in the documentation and/or other materials provided
  28.      with the distribution.
  29.  
  30.   3. Redistributions of any form whatsoever, as well as all
  31.      advertising materials mentioning features or use of this
  32.      software (if any), must include the following acknowledgment:
  33.      "This product includes software developed by Dmitry I. Platonoff".
  34.  
  35.   4. The names "SysBar/2" and "Dmitry I. Platonoff" must not be
  36.      used to endorse or promote products derived from this software
  37.      without prior written permission. For such permission, please
  38.      contact dplatonoff@canada.com.
  39.  
  40.   5. Products derived from this software may not be called
  41.      "SysBar/2" nor may "Dmitry I. Platonoff" appear in their
  42.      contributor lists without prior written permission.
  43.  
  44.   ..................................................................
  45.  
  46.   DISCLAIMER
  47.   ~~~~~~~~~~
  48.   THIS SOFTWARE IS PROVIDED BY THE AUTHOR OR CONTRIBUTORS "AS IS"
  49.   AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  50.   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
  51.   FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
  52.   AUTHOR OR THE CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
  53.   INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  54.   (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
  55.   SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  56.   HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
  57.   STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  58.   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
  59.   ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  60.  
  61. */
  62.  
  63. #include <os2.h>
  64. #include "SB2_pipe_res.h"
  65.  
  66. ICON ICO_MAIN "SB2_PIPE.Ico"
  67.  
  68. MENU MNU_PIPE LOADONCALL DISCARDABLE
  69. BEGIN
  70. /*
  71.   PRESPARAMS PP_MENUBACKGROUNDCOLOR, 0x808080
  72.   PRESPARAMS PP_MENUFOREGROUNDCOLOR, 0xFFFFFF
  73.   PRESPARAMS PP_MENUDISABLEDBGNDCOLOR, 0x808080
  74.   PRESPARAMS PP_MENUDISABLEDFGNDCOLOR, 0xCCCCCC
  75.   PRESPARAMS PP_MENUHILITEBGNDCOLOR, 0x000000
  76.   PRESPARAMS PP_MENUHILITEFGNDCOLOR, 0x00FF00
  77.   PRESPARAMS 51, 0xCCCCCC // PP_BORDERLIGHTCOLOR
  78.   PRESPARAMS 52, 0x000000 // PP_BORDERDARKCOLOR
  79.   PRESPARAMS 53, 0xCCCCCC // PP_BORDER2LIGHTCOLOR
  80.   PRESPARAMS 54, 0x000000 // PP_BORDER2DARKCOLOR
  81.   PRESPARAMS 61, 0xCCCCCC // PP_ARROWCOLOR
  82.   PRESPARAMS 62, 0xFFFFFF // PP_ARROWBORDERLIGHTCOLOR
  83.   PRESPARAMS 63, 0x000000 // PP_ARROWBORDERDARKCOLOR
  84.   PRESPARAMS 64, 0xA0A0A0 // PP_ARROWDISABLEDCOLOR
  85.   PRESPARAMS 65, 0xCCCCCC // PP_CHECKLIGHTCOLOR
  86.   PRESPARAMS 66, 0x808080 // PP_CHECKMIDDLECOLOR
  87.   PRESPARAMS 67, 0x000000 // PP_CHECKDARKCOLOR
  88. */
  89.   MENUITEM "Propertie~s", MNU_PIPE_PROPERTIES, MIS_TEXT
  90.   MENUITEM SEPARATOR
  91.   MENUITEM "Set~up cell", MNU_PIPE_SETUP, MIS_TEXT
  92.   SUBMENU "~Empty cell", MNU_PIPE_SUBMENU, MIS_TEXT
  93.     BEGIN
  94.       MENUITEM "~Hide cell", MNU_PIPE_EMPTY, MIS_TEXT, MIA_CHECKED
  95.       MENUITEM "~Remove cell", MNU_PIPE_REMOVE, MIS_TEXT
  96.     END
  97.   MENUITEM "C~opy cell", MNU_PIPE_COPY, MIS_TEXT
  98.   MENUITEM SEPARATOR
  99.   MENUITEM "~Close monitor", MNU_PIPE_CLOSE, MIS_TEXT
  100. END
  101.  
  102. DLGTEMPLATE D_Cell_Setup LOADONCALL MOVEABLE DISCARDABLE
  103. BEGIN
  104.     DIALOG  "Cell Setup", D_Cell_Setup, 20, 0, 210, 165,
  105.             FS_NOMOVEWITHOWNER | WS_VISIBLE | NOT WS_SAVEBITS, 
  106.             FCF_SYSMENU | FCF_TITLEBAR | 0x04000000L
  107.             PRESPARAMS PP_FONTNAMESIZE, "8.Helv"
  108.     BEGIN
  109.         NOTEBOOK        D_Cell_Notebook, 2, 16, 206, 145, BKS_BACKPAGESTR |
  110.                         BKS_MAJORTABTOP | BKS_STATUSTEXTCENTER |
  111.                         BKS_TABTEXTCENTER | WS_GROUP | 0x0800L
  112.         PUSHBUTTON      "~OK", DID_OK, 100, 2, 50, 11, WS_GROUP
  113.         PUSHBUTTON      "~Cancel", DID_CANCEL, 155, 2, 50, 11
  114.     END
  115. END
  116.  
  117. RCINCLUDE SB2_PIPE.DLG
  118.  
  119.