home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1996 November / VPR9611B.ISO / vabasic / ntclnt.exe / DISK8 / data.8 / datab / INCLUDE / VWETYPES.H < prev    next >
C/C++ Source or Header  |  1996-07-29  |  13KB  |  362 lines

  1. /*--------------------------------------------------------------
  2. // $Source: /rcs/vwrcs/components/vwetypes.h,v $
  3. // Checked in by: $Author: ej1 $
  4. // $Date: 1996/07/23 20:44:02 $                $Revision: 1.17 $
  5. //--------------------------------------------------------------
  6. //      Copyright (c) International Business Machines Inc, 1994
  7. //         Copyright(c) 1992, Visual Edge Software Ltd.
  8. //
  9. // ALL RIGHTS RESERVED. This notice is intended as a precaution
  10. // against inadvertent publication, and shall not be deemed to
  11. // consitute an acknowledgment that publication has occurred
  12. // nor to imply any waiver of confidentiality. The year included
  13. // in the notice is the year of the creation of the work.
  14. //--------------------------------------------------------------
  15. // DESCRIPTION:
  16. //            This file defines Vw enumerated types.
  17. //      NOTE: THIS IS A C FILE. YOU CAN PUT YOUR C++ DECLARATIONS
  18. //              IN vwetypes.h
  19. //------------------------------------------------------------*/
  20. #ifndef VWETYPES_H
  21. #define VWETYPES_H
  22.  
  23. #include <vwglobal.h>
  24.  
  25. #ifdef __cplusplus
  26. extern "C" {
  27. #endif
  28.  
  29. /*
  30.  * Form -------------------------------------------------------------------
  31.  */
  32. enum VwModal {  VwIllegalModal = -1,
  33.                 VwModelessForm,
  34.                 VwModalForm,
  35.                 VwMaxModal };
  36.  
  37. /*
  38.  * END Form ---------------------------------------------------------------
  39.  */
  40.  
  41. enum VwBackStyle {VwIllegalBackStyle = -1 , VwTransparent,
  42.                   VwOpaque, VwMaxBackStyle };
  43.  
  44.  
  45. enum VwDragMode { VwIllegalDragMode = -1, VwManualDrag,
  46.                   VwAutomaticDrag,        VwMaxDragMode };
  47.  
  48. enum VwScaleMode {
  49.                 VwIllegalScale=-1,      VwUserDefinedScale, VwTwipScale,
  50.                 VwPointScale,           VwPixelScale,       VwCharacterScale,
  51.                 VwInchScale,            VwMillimeterScale,
  52.                 VwCentimeterScale,      VwMaxScale};
  53.  
  54. enum VwMousePointer {
  55.                 VwIllegalPointer=-1, VwControlDefinedPointer, VwArrowPointer,
  56.                 VwCrossPointer,      VwIBeamPointer,          VwIconPointer,
  57.                 VwSizePointer,       VwSizeNESWPointer,       VwSizeNSPointer,
  58.                 VwSizeNWSEPointer,   VwSizeWEPointer,         VwUpArrowPointer,
  59.                 VwWaitPointer,       VwNoDropPointer,          VwReversePointer,
  60.         VwMaxPointer };
  61.  
  62. enum VwTextAlignment {
  63.                 VwIllegalAlignment=-1,  VwLeftJustifyAlignment,
  64.                 VwRightJustifyAlignment,        VwCenterAlignment,
  65.                 VwMaxAlignment };
  66.  
  67. enum VwBorderStyle {
  68.                 VwIllegalBorder=-1, VwNoBorder,         VwFixedSingleBorder,
  69.                 VwSizableBorder,          VwFixedDoubleBorder,  VwMaxBorder};
  70.  
  71. enum VwValue { VwIllegalValue = -1, VwOff, VwOn, VwGrayed, VwMaxValue };
  72.  
  73. /*
  74.  * MDI ---------------------------------------------------------------------
  75.  */
  76. enum VwArrangeMode {    VwIllegalArrangeMode = -1,      VwArrangeCascade,
  77.                         VwArrangeTileHorizontal,        VwArrangeTileVertical,
  78.                         VwArrangeIcons,                 VwMaxArrangeMode};
  79.  
  80. enum VwAlign {  VwIllegalAlign = -1,    VwAlignNone,
  81.                 VwAlignTop,             VwAlignBottom,
  82.                 VwMaxAlign};
  83.  
  84. enum VwWindowState {
  85.                 VwIllegalWindowState = -1,
  86.                 VwNormalWindow,
  87.                 VwMinimizedWindow,
  88.                 VwMaximizedWindow,
  89.                 VwMaxWindowState };
  90.  
  91. enum VwUnloadMode {
  92.                 VwIllegalUnloadMode = -1,
  93.                 VwControlMenuClose,
  94.                 VwUnloadInvoked,
  95.                 VwEndWindowSystem,
  96.                 VwTaskManagerClose,
  97.                 VwMDIClose,
  98.                 VwMaxUnloadMode };
  99.  
  100. /*
  101.  * Menu things ------------------------------------------------------------
  102.  */
  103.  
  104. enum VwMenuType { 
  105.         VwIllegalMenuType = -1,
  106.         VwBarMenuType,
  107.         VwPopupMenuType,
  108.         VwCascadeMenuType,
  109.         VwMaxMenuType };
  110.  
  111. enum VwMenuItemType { 
  112.         VwIllegalMenuItemType = -1,
  113.         VwSeparatorType,
  114.         VwItemType,
  115.         VwMaxMenuItemType };
  116.  
  117. /*
  118.  * CheckBox ---------------------------------------------------------------
  119.  */
  120.  
  121. enum VwCheckBoxMode {
  122.                 VwIllegalCheckBoxMode=-1, VwClearedCheckBoxMode,
  123.                 VwSelectedCheckBoxMode, VwGrayedCheckBoxMode,
  124.                 VwMaxCheckBoxMode };
  125.  
  126. enum VwToggleAlignment {
  127.                 VwIllegalToggleAlignment = -1, VwAlignLeft,
  128.                 VwAlignRight, VwMaxToggleAlignment };
  129.  
  130. /*
  131.  * ComboBox -------------------------------------------------------------
  132.  */
  133. enum VwStyle {
  134.                 VwIllegalStyle = -1,
  135.                 VwDropDownCombo,
  136.                 VwSimpleCombo,
  137.                 VwDropDownList,
  138.                 VwMaxStyle };
  139.  
  140. /*
  141.  * Drag ------------------------------------------------------------------
  142.  */
  143.  
  144. enum VwDragOverState {
  145.                 VwIllegalDragOverState = -1,
  146.                 VwEnteringObject,
  147.                 VwLeavingObject,
  148.                 VwOverObject,
  149.                 VwMaxDragOverState };
  150.  
  151. enum VwDragAction {
  152.                 VwIllegalDragAction = -1,
  153.                 VwCancelDragAction,
  154.                 VwStartDragAction,
  155.                 VwDropDragAction,
  156.                 VwMaxDragAction };
  157.  
  158. /*
  159.  * Spin Button ----------------------------------------------------------
  160.  */
  161.  
  162. enum VwSpinOrientation {
  163.                 VwIllegalSpinOrientation = -1,
  164.                 VwVerticalSpinOrientation,
  165.                 VwHorizontalSpinOrientation,
  166.                 VwMaxSpinOrientation };
  167.  
  168. /*
  169.  * MaskedEdit  ----------------------------------------------------------
  170.  */
  171. enum VwClipMode {
  172.                 VwIllegalClipMode=-1, VwIncludeLiterals,  VwExcludeLiterals,
  173.                 VwMaxClipMode};
  174.  
  175. /*
  176.  *=============================================================================
  177.  * Graphics
  178.  *-----------------------------------------------------------------------------
  179.  */
  180. enum VwLineMode {
  181.                 VwIllegalLineMode = -1,
  182.                 VwStraightLine,
  183.                 VwEmptyBox,
  184.                 VwFilledBox,
  185.                 VwMaxLineMode };
  186.  
  187.  
  188. enum VwDrawMode { VwIllegalDrawMode,
  189.                 VwBlackness,    VwNotMergePen,  VwMaskNotPen,
  190.                 VwNotCopyPen,   VwMaskPenNot,   VwInvert,
  191.                 VwXorPen,       VwNotMaskPen,   VwMaskPen,
  192.                 VwNotXorPen,    VwNop,          VwMergeNotPen,
  193.                 VwCopyPen,      VwMergePenNot,  VwMergePen,
  194.                 VwWhiteness,    VwMaxDrawMode };
  195.  
  196. enum VwDrawStyle { VwIllegalDrawStyle = -1,
  197.                  VwSolidDraw,      VwDashDraw,       VwDotDraw,
  198.                  VwDashDotDraw,    VwDashDotDotDraw, VwInvisibleDraw,
  199.                  VwInsideSolidDraw , VwMaxDrawStyle };
  200.  
  201. enum VwGEDrawStyle { VwGEIllegalDrawStyle = -1, VwGEInvisibleDraw,
  202.                  VwGESolidDraw,      VwGEDashDraw,       VwGEDotDraw,
  203.                  VwGEDashDotDraw,    VwGEDashDotDotDraw,
  204.                  VwGEInsideSolidDraw , VwGEMaxDrawStyle };
  205.  
  206. enum VwFillStyle { VwIllegalFillStyle = -1,
  207.                  VwSolidFill,            VwTransparentFill,
  208.                  VwHorizontalLineFill,   VwVerticalLineFill,
  209.                  VwUpwardDiagonalFill,   VwDownwardDiagonalFill,
  210.                  VwCrossFill,            VwDiagonalCrossFill,
  211.                  VwMaxFillStyle };
  212.  
  213. enum VwScrollBars {
  214.                 VwIllegalScrollBar=-1,  VwNoScrollBars,
  215.                 VwHorizontalScrollBar,  VwVerticalScrollBar,
  216.                 VwBothScrollBars,       VwMaxScrollBar };
  217.  
  218. enum VwArrowDirection {VwIllegalArrowDirection=-1, VwArrowUp, VwArrowDown,
  219.                        VwArrowLeft, VwArrowRight, VwMaxArrowDirection };
  220.  
  221. enum VwShapeType { VwIllegalShape = -1,
  222.                    VwRectangleShape,            VwSquareShape,
  223.                    VwOvalShape,                 VwCircleShape,
  224.                    VwRoundedRectangleShape,     VwRoundedSquareShape,
  225.                    VwMaxShape };
  226.  
  227. enum VwSystemColor{    VwIllegalSystemColor = -1,
  228.                     VwWindowColor,
  229.                     VwButtonHighlightColor,
  230.                     VwButtonShadowColor,
  231.                     VwButtonFaceColor,
  232.                     VwTextColor,
  233.                     VwTextForegroundHighlightColor,
  234.                     VwTextBackgroundHighlightColor,
  235.                     VwWindowFrameColor };
  236.  
  237. /*
  238.  *============================================================================
  239.  * Scroll Bars
  240.  *----------------------------------------------------------------------------
  241.  */
  242.  
  243. enum VwScrollBarOrientation { VwIllegalScrollBarOrientation = -1,
  244.                               VwVerticalScrollBarOrientation,
  245.                               VwHorizontalScrollBarOrientation,
  246.                               VwMaxScrollBarOrientation };
  247.  
  248. enum VwScrollCode { VwIllegalScroll = -1,
  249.             VwTopScroll,
  250.             VwBottomScroll,
  251.             VwLineUpScroll,
  252.             VwLineDownScroll,
  253.             VwPageUpScroll,
  254.             VwPageDownScroll,
  255.             VwThumbPositionScroll,
  256.             VwEndScroll,
  257.             VwThumbTrackScroll,
  258.             VwScrollMax };
  259.  
  260. /*
  261.  *============================================================================
  262.  * Scrolled Window
  263.  *----------------------------------------------------------------------------
  264.  */
  265.  
  266. enum VwScrollBarDisplayPolicy { VwIllegalScrollBarDisplayPolicy = -1,
  267.                               VwScrollBarsAsNeeded,
  268.                               VwScrollBarsStatic,
  269.                               VwMaxScrollBarDisplayPolicy };
  270.  
  271. enum VwScrollBarPlacement { VwIllegalScrollBarPlacement = -1,
  272.                               VwScrollBarsTopLeft,
  273.                               VwScrollBarsBottomLeft,
  274.                               VwScrollBarsTopRight,
  275.                               VwScrollBarsBottomRight,
  276.                               VwMaxScrollBarPlacement };
  277.  
  278. /*
  279.  *============================================================================
  280.  * RowColumns
  281.  *----------------------------------------------------------------------------
  282.  */
  283. enum VwPacking {
  284.                 VwIllegalPacking = -1,  VwPackNone,
  285.                 VwPackColumn,           VwPackTight,
  286.                 VwMaxPacking};
  287.  
  288. enum VwOrientation {
  289.                 VwIllegalOrientation = -1,      VwVerticalOrientation,
  290.                 VwHorizontalOrientation,        VwMaxOrientation};
  291.  
  292. /*
  293.  *============================================================================
  294.  * Lists
  295.  *----------------------------------------------------------------------------
  296.  */
  297. enum VwMultiSelect {
  298.         VwIllegalMultiSelect = -1,      VwNoMultiSelect,
  299.         VwSimpleMultiSelect,            VwExtendedMultiSelect,
  300.         VwMaxMultiSelect};
  301.  
  302. /*
  303.  *============================================================================
  304.  * Tools
  305.  *----------------------------------------------------------------------------
  306.  */
  307. enum VwToolMode {
  308.         VwIllegalToolMode = -1, VwCaptionOnly,
  309.         VwPixmapOnly, VwCaptionAndPixmap, VwMaxToolMode};
  310.  
  311. enum VwShadowStyle {
  312.         VwIllegalShadowStyle = -1, VwShadowIn, VwShadowOut,
  313.         VwEtchedIn, VwEtchedOut, VwMaxShadowStyle};
  314.  
  315. /*
  316.  *============================================================================
  317.  * Matrix
  318.  *----------------------------------------------------------------------------
  319.  */
  320. enum VwMatrixAlignment {
  321.                 VwIllegalMatrixAlignment=-1,    VwMatrixLeftAlignment,
  322.                 VwMatrixRightAlignment, VwMatrixCenterAlignment,
  323.                 VwMatrixColumnAlignment,
  324.                 VwMaxMatrixAlignment };
  325.  
  326. enum VwMatrixFillStyle { VwIllegalMatrixFillStyle = -1,
  327.                  VwMatrixSingleFill,            VwMatrixRepeatFill,
  328.                  VwMaxMatrixFillStyle };
  329.  
  330. enum VwMatrixResizePolicy { VwIllegalMatrixResizePolicy = -1,
  331.                 VwMatrixNoResize,               VwMatrixFixedRowResize,
  332.                 VwMatrixFixedColumnResize,      VwMatrixFixedRowColumnResize,
  333.                 VwMatrixRowResize,              VwMatrixColumnResize,
  334.                 VwMatrixRowColumnResize,        VwMaxMatrixResizePolicy };
  335.  
  336. /*
  337.  *============================================================================
  338.  * Layouts
  339.  *----------------------------------------------------------------------------
  340.  */
  341. enum VwLayoutType { VwIllegalLayoutType = -1,   VwLayoutEqualSize,
  342.                     VwLayoutParentPercentage,   VwLayoutResizePercentage,
  343.                     VwLayoutPreservePercentage, VwLayoutProportionalResize,
  344.                     VwMaxLayoutType};
  345.  
  346. /*
  347.  *============================================================================
  348.  * Outline
  349.  *----------------------------------------------------------------------------
  350.  */
  351. enum VwOutlineStyle {
  352.         VwIllegalOutlineStyle=-1,     VwOutlineTextOnly,        
  353.         VwOutlinePicture,         VwOutlinePlusMinus,    
  354.         VwOutlinePlusMinusPicture,     VwOutlineTreeLine,
  355.         VwOutlineTreeLinePicture,    VwMaxOutlineStyle};
  356.         
  357.  
  358. #ifdef __cplusplus
  359. }
  360. #endif
  361. #endif
  362.