Annotation of pmsdk/samples/petzold/chap14/aboutbox.rc, revision 1.1.1.1

1.1       root        1: /*----------------------------------
                      2:    ABOUTBOX.RC resource script file
                      3:   ----------------------------------*/
                      4: 
                      5: #include <os2.h>
                      6: #include "aboutbox.h"
                      7: 
                      8: POINTER ID_RESOURCE aboutbox.ico
                      9: 
                     10: MENU ID_RESOURCE
                     11:      {
                     12:      SUBMENU "~File",         IDM_FILE
                     13:           {
                     14:           MENUITEM "~New",               IDM_NEW
                     15:           MENUITEM "~Open...",           IDM_OPEN
                     16:           MENUITEM "~Save",              IDM_SAVE
                     17:           MENUITEM "Save ~As...",        IDM_SAVEAS
                     18:           MENUITEM SEPARATOR
                     19:           MENUITEM "A~bout AboutBox...", IDM_ABOUT
                     20:           }
                     21:      }
                     22: 
                     23: DLGTEMPLATE IDD_ABOUT
                     24:   {
                     25:   DIALOG "", 0, 32, 32, 200, 88,, FCF_DLGBORDER
                     26:     {
                     27:     CTEXT "AboutBox"                            -1, 10, 64, 180,  8
                     28:     ICON  ID_RESOURCE                           -1,  8, 56,   0,  0
                     29:     CTEXT "Sample ""About"" Dialog Box"         -1, 10, 40, 180,  8
                     30:     CTEXT "Copyright (C) Charles Petzold, 1988" -1, 10, 32, 180,  8
                     31:     DEFPUSHBUTTON "OK"                      DID_OK, 80,  8,  40, 16, WS_GROUP
                     32:     }
                     33:   }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.