home *** CD-ROM | disk | FTP | other *** search
/ Borland Programmer's Resource / Borland_Programmers_Resource_CD_1995.iso / utils / 6plus / abasica.rc < prev    next >
Text File  |  1995-05-18  |  2KB  |  33 lines

  1. #include "windows.h"                                                         //  These have to be included like in the C file
  2. #include "abasica.h"                                                          //   As they set constant values you will use
  3.  
  4. MYICON      ICON     DISCARDABLE     "abasica.ico"                //  Name your icon
  5.  
  6. ABASICAMENU    MENU    DISCARDABLE 
  7. BEGIN                                                                                          //  Name and layout your menu
  8.     POPUP "&File"
  9.     BEGIN
  10.         MENUITEM "&About\t CTRL+A",          IDM_ABOUT        //  Notice we include CTRL A
  11.         MENUITEM "&Exit",                               IDM_EXIT
  12.     END
  13. END
  14.  
  15. ABASICAACC ACCELERATORS MOVEABLE PURE                  //  Name and layout your key translators
  16. BEGIN
  17.     "A",     IDM_EXIT,    VIRTKEY, CONTROL                               //  Now CTRL A will show the about box
  18. END
  19.  
  20. ABOUTBOX DIALOG DISCARDABLE  12, 6, 124, 59                 //  Name and setup your dialog boxes
  21. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU     //  Styles
  22. CAPTION "AbasicA"                                                                    //  Window title
  23. FONT 12, "Times New Roman"                                                   //  Font and size to use
  24. BEGIN
  25.     CTEXT           "This Is AbasicA",101,1,8,123,10                      //  Centered text at x, y, width, height
  26.     CTEXT           "by Solutions Software",102,0,44,124,8            //   Same again
  27.     PUSHBUTTON      "Big Deal",IDOK,69,23,36,16                    //  Button with "text" at ...
  28.     ICON            "MYICON",-1,29,24,9,9                                             //  Icon at ...
  29.     CONTROL         "",301,"Static",SS_BLACKFRAME,6,6,112,49         //  Static box at ...
  30.     CONTROL         "",302,"Static",SS_BLACKFRAME,63,19,48,23       //  Same here
  31.     CONTROL         "",303,"Static",SS_BLACKFRAME,13,19,48,23       //  Same here
  32. END
  33.