|
|
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, 10, 60, 160, 100, FS_DLGBORDER ! 26: { ! 27: CTEXT "AboutBox" -1, 10, 72, 140, 10 ! 28: ICON ID_RESOURCE -1, 8, 60, 0, 0 ! 29: CTEXT "Sample ""About"" Dialog Box" -1, 10, 46, 140, 10 ! 30: CTEXT "Copyright (C) Charles Petzold, 1988" -1, 10, 30, 140, 10 ! 31: DEFPUSHBUTTON "OK" DID_OK, 64, 8, 32, 14, WS_GROUP ! 32: } ! 33: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.