home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 31 / CDASC_31_1996_juillet_aout.iso / vrac / altd201a.zip / EXAMPLES.ARJ / EXAMPLES / EX24WIN.RC < prev    next >
Text File  |  1996-04-19  |  3KB  |  87 lines

  1. /*
  2.  * EX24WIN.RC
  3.  *
  4.  *  Header file for ArchiveLib 1.0
  5.  *
  6.  *  Copyright (c) Greenleaf Software, Inc. 1994
  7.  *  All Rights Reserved
  8.  *
  9.  * DESCRIPTION
  10.  *
  11.  *  This is the RC file used by Windows example program 00.  It
  12.  *  has all of the constants defined for use in the RC file that
  13.  *  is linked with this example.  Note that the exact same RC
  14.  *  is used by both the C++ and C example programs.
  15.  *
  16.  * REVISION HISTORY
  17.  *
  18.  *  June 10, 1994  1.0A  : First release
  19.  *
  20.  */
  21.  
  22. #ifndef WS_POPUP
  23. #include <windows.h>
  24. #endif
  25. #include "ex24win.h"
  26.  
  27. //////////////////////////////////////////////////////////////////////////////
  28. //
  29. // Dialog
  30. //
  31.  
  32. ALMAINDIALOG DIALOG 11, 30, 197, 144
  33. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  34. FONT 8, "MS Sans Serif"
  35. {
  36.  EDITTEXT AL_ARCHIVE_NAME, 54, 45, 77, 12
  37.  PUSHBUTTON "&Compress", AL_COMPRESS, 148, 46, 42, 12
  38.  PUSHBUTTON "E&xit", AL_EXIT, 148, 84, 42, 12
  39.  LTEXT "Archive:", IDC_STATIC, 4, 46, 33, 8
  40.  EDITTEXT AL_INPUT_FILES, 54, 64, 77, 12, ES_AUTOHSCROLL
  41.  LTEXT "Input files:", IDC_STATIC, 4, 64, 42, 8
  42.  LTEXT "AL_PROGRESS_TEXT", AL_PROGRESS_TEXT, 58, 82, 82, 10
  43.  PUSHBUTTON "About", AL_ABOUT, 148, 65, 42, 12
  44.  LTEXT "Windows example 24: This example uses the simplified interface API to add a batch of files to WIN00.ZIP.  It also demonstrates the use of ALGauge objects as progress monitors.", IDC_STATIC, 5, 5, 185, 36
  45.  RTEXT "File:", IDC_STATIC, 9, 82, 42, 10
  46.  RTEXT "File progress:", IDC_STATIC, 10, 100, 48, 10
  47.  RTEXT "Job progress:", IDC_STATIC, 10, 119, 48, 10
  48.  CONTROL "", AL_FILE_PROGRESS, "ALGauge", 0 | WS_CHILD | WS_VISIBLE, 65, 100, 67, 15
  49.  CONTROL "", AL_JOB_PROGRESS, "ALGauge", 0 | WS_CHILD | WS_VISIBLE, 65, 119, 67, 15
  50. }
  51.  
  52. ALABOUTDIALOG DIALOG DISCARDABLE  0, 0, 145, 70
  53. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  54. CAPTION "Dialog"
  55. FONT 8, "MS Sans Serif"
  56. BEGIN
  57.     DEFPUSHBUTTON   "OK",IDOK,47,51,50,14
  58.     ICON            "ALIcon",IDC_STATIC,6,6,18,20
  59.     CTEXT           "Greenleaf Archive Library",IDC_STATIC,31,10,103,12
  60.     CTEXT           "Copyright (c) 1994-1996",IDC_STATIC,21,28,103,12
  61. END
  62.  
  63. //////////////////////////////////////////////////////////////////////////////
  64. //
  65. // Icon
  66. //
  67.  
  68. ALICON                  ICON    DISCARDABLE     "ALICON.ICO"
  69.  
  70. //////////////////////////////////////////////////////////////////////////////
  71. //
  72. // Menu
  73. //
  74.  
  75. ALMENU MENU DISCARDABLE
  76. BEGIN
  77.     POPUP "&File"
  78.     BEGIN
  79.         MENUITEM "E&xit",                       AL_EXIT
  80.     END
  81.     POPUP "&Help"
  82.     BEGIN
  83.         MENUITEM "&About",                      AL_ABOUT
  84.     END
  85. END
  86.  
  87.