home *** CD-ROM | disk | FTP | other *** search
/ Lion Share / lionsharecd.iso / utils_mz / v10n17.zip / OWNERDRW.ZIP / OWNERDRW.RC < prev    next >
Text File  |  1991-06-09  |  1KB  |  40 lines

  1. /*-----------------------------
  2.    OWNERDRW.RC resource script
  3.   -----------------------------*/
  4.  
  5. #include <windows.h>
  6. #include "ownerdrw.h"
  7.  
  8. OkBitmap     BITMAP venus.bmp
  9. CancelBitmap BITMAP munch.bmp
  10.  
  11. OwnerDrw MENU
  12.      {
  13.      POPUP "&File"
  14.           {
  15.           MENUITEM "E&xit...",               IDM_EXIT
  16.           }
  17.      POPUP "&Help"
  18.           {
  19.           MENUITEM "&About OwnerDrw...",     IDM_ABOUT
  20.           }
  21.      }
  22.  
  23. AboutBox DIALOG  20, 20, 160, 80
  24.      STYLE WS_POPUP | WS_DLGFRAME
  25.      {
  26.      CTEXT "OwnerDrw"                        -1,   0, 12, 160,  8
  27.      CTEXT "Owner Draw Button Demo Program"  -1,   0, 36, 160,  8
  28.      CTEXT "(c) Charles Petzold, 1991"       -1,   0, 48, 160,  8
  29.      DEFPUSHBUTTON "OK"                    IDOK,  64, 60,  32, 14, WS_GROUP
  30.      } 
  31.  
  32. ExitBox DIALOG  20, 20, 160, 80
  33.      STYLE WS_POPUP | WS_DLGFRAME
  34.      {
  35.      CTEXT "OwnerDrw"       -1,        0, 12, 160,  8
  36.      CTEXT "Cool to Close?" -1,        0, 26, 160,  8
  37.      PUSHBUTTON ""          IDOK,     32, 42,  32, 32, WS_GROUP | BS_OWNERDRAW
  38.      PUSHBUTTON ""          IDCANCEL, 96, 42,  32, 32, WS_GROUP | BS_OWNERDRAW
  39.      } 
  40.