home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / iwftech.zip / samples / SOMopt / somopt.RC < prev    next >
Text File  |  1994-07-21  |  4KB  |  65 lines

  1. /*+--------------------------------------------------------------------------+*/
  2. /*| SOMOPT - WorkFrame/2-enabled SOM actions support (Options DLL)           |*/
  3. /*|--------------------------------------------------------------------------|*/
  4. /*|                                                                          |*/
  5. /*| PROGRAM NAME: SOMOPT                                                     |*/
  6. /*| -------------                                                            |*/
  7. /*|                                                                          |*/
  8. /*| COPYRIGHT:                                                               |*/
  9. /*| ----------                                                               |*/
  10. /*| Copyright (C) International Business Machines Corp., 1991,1992,1993,1994 |*/
  11. /*|                                                                          |*/
  12. /*| DISCLAIMER OF WARRANTIES:                                                |*/
  13. /*| -------------------------                                                |*/
  14. /*| The following [enclosed] code is sample code created by IBM              |*/
  15. /*| Corporation.  This sample code is not part of any standard IBM product   |*/
  16. /*| and is provided to you solely for the purpose of assisting you in the    |*/
  17. /*| development of your applications.  The code is provided "AS IS",         |*/
  18. /*| without warranty of any kind.  IBM shall not be liable for any damages   |*/
  19. /*| arising out of your use of the sample code, even if they have been       |*/
  20. /*| advised of the possibility of such damages.                              |*/
  21. /*|                                                                          |*/
  22. /*| REVISION LEVEL: 2.1                                                      |*/
  23. /*| -------------------                                                      |*/
  24. /*|                                                                          |*/
  25. /*| This program demonstrates providing WorkFrame/2 actions support (i.e.    |*/
  26. /*| Options DLL) for the SOM compiler.                                       |*/
  27. /*+--------------------------------------------------------------------------+*/
  28.  
  29. #include "os2.h"
  30. #include "somopt.rh"
  31.  
  32. DLGTEMPLATE ID_SOM_SETTINGS LOADONCALL MOVEABLE DISCARDABLE
  33. BEGIN
  34.     DIALOG  "SOM Options", ID_SOM_SETTINGS, 12, 6, 237, 164, 
  35.              WS_VISIBLE, FCF_SYSMENU | FCF_TITLEBAR 
  36.     BEGIN
  37.         LTEXT           "Output directory", 103, 13, 146, 79, 8
  38.         ENTRYFIELD      "", ID_DIRECTORY, 117, 148, 95, 8, ES_MARGIN
  39.         AUTOCHECKBOX    "DEF", ID_EMIT_DEF, 20, 120, 40, 10
  40.         AUTOCHECKBOX    "SC", ID_EMIT_SC, 66, 120, 40, 10
  41.         AUTOCHECKBOX    "PSC", ID_EMIT_PSC, 112, 120, 40, 10
  42.         AUTOCHECKBOX    "CS2", ID_EMIT_CS2, 158, 120, 40, 10
  43.         AUTOCHECKBOX    "C", ID_EMIT_C, 20, 110, 40, 10
  44.         AUTOCHECKBOX    "H", ID_EMIT_H, 66, 110, 40, 10
  45.         AUTOCHECKBOX    "IH", ID_EMIT_IH, 112, 110, 40, 10
  46.         AUTOCHECKBOX    "PH", ID_EMIT_PH, 158, 110, 40, 10
  47.         AUTOCHECKBOX    "CPP", ID_EMIT_CPP, 20, 100, 40, 10
  48.         AUTOCHECKBOX    "XH", ID_EMIT_XH, 66, 100, 40, 10
  49.         AUTOCHECKBOX    "XIH", ID_EMIT_XIH, 112, 100, 40, 10
  50.         AUTOCHECKBOX    "XPH", ID_EMIT_XPH, 158, 100, 40, 10
  51.         GROUPBOX        "Files to emit", 127, 12, 95, 193, 44
  52.         AUTOCHECKBOX    "Verify release-order entries exist", ID_RELEASE, 13, 
  53.                         77, 196, 10
  54.         AUTOCHECKBOX    "Display warnings", ID_WARNING, 13, 64, 196, 10
  55.         PUSHBUTTON      "OK", ID_OK, 16, 12, 40, 14
  56.         PUSHBUTTON      "Default", ID_DEFAULT, 62, 12, 40, 14
  57.         PUSHBUTTON      "Undo", ID_UNDO, 108, 12, 40, 14
  58.         PUSHBUTTON      "Cancel", ID_CANCEL, 154, 12, 40, 14
  59.         AUTORADIOBUTTON "--", ID_COMMENT_S, 40, 40, 29, 10, WS_TABSTOP
  60.         AUTORADIOBUTTON "/* */", ID_COMMENT_C, 80, 40, 29, 10, WS_TABSTOP
  61.         AUTORADIOBUTTON "//", ID_COMMENT_CPP, 125, 40, 29, 10, WS_TABSTOP
  62.         GROUPBOX        "Comment style to emit", 116, 26, 34, 136, 26
  63.     END
  64. END
  65.