compile insert PS_ScrollBar_Equates
/* 
   ** Copyright (C) 2013 Revelation Software Inc. All Rights Reserved **
   
   This insert is proprietary and is not  to be used  by or  disclosed
   to others, nor is it to be copied without written permission from
   Revelation Technologies, Inc.
   
   Author   : Wile C Coyote - Super Genius
   Date     : May 2013
   Purpose  : Constants for working with PS SCROLLBAR object structures
   
   
   Comments
   ========
   
   
   Amended  Date        Reason
   =======  ====        ======
   mtr      12 Dec 2014 Git sucks
*/
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
#ifndef _PS_SCROLLBAR_EQUATES_
#define _PS_SCROLLBAR_EQUATES_
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   $insert msWin_ScrollBar_Equates
   $insert oiWin_Equates
   $insert ps_Equates

///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   // Properties held in window style bits in PSPOS_SDKSTYLE$ <0,0,1>
   
///////////////////////////////////////////////////////////////////////////////   
///////////////////////////////////////////////////////////////////////////////

   // PS Style equates
   //
   equ PSS_SCROLLBAR_NOTIFYALL$            to 0x00000100 ; * // NOTIFYALL property
   
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   // SYSREPOSWINES structure overrides
   equ POS_SB_RANGE$                       to POS_SCROLLRANGE$;  // <0,0,1> only - SCROLLRANGE property (LOWORD/HIWORD)
   equ POS_SB_CHANGE$                      to POS_SCROLLCHANGE$; // <0,0,1> only - SCROLLINCREMENT (LOWORD) and SCROLLPAGESIZE properties (HIWORD)

   // SYSREPOSWINEXES structure overrides
   
   equ PSPOS_SB_RANGE$                     to PSPOS_SCROLLRANGE$;  // <0,0,1> only - SCROLLRANGE property (LOWORD/HIWORD)
   equ PSPOS_SB_CHANGE$                    to PSPOS_SCROLLCHANGE$; // <0,0,1> only - SCROLLINCREMENT (LOWORD) and SCROLLPAGESIZE properties (HIWORD)
   
   * // For both the PSPOS_SCROLLRANGE$ and PSPOS_SCROLLCHANGE$ we only 
   * // use the first sub-value (the vertical scroll index) - the second 
   * // sub-value (the horizontal scroll index) is only used in controls that 
   * // have intrinsic scrollbars such as editboxes and listboxes and so on.
   * //
   * // All of these sub-values are actually DWORDs:
   * //
   * //    PSPOS_SCROLLRANGE$  : LOWORD -> Range From
   * //                          HIWORD -> Range To
   * //
   * //    PSPOS_SCROLLCHANGE$ : LOWORD -> IncrementChange
   * //                        : HIWORD -> PageChange
   * //
   * // In terms of scrollbars in v9 we never actually supported a LineChange,
   * // we only supported the PageChange (which is actually the 4th field in 
   * // VPOSITION and HPOSITION properties), so we always ignored the LOWORD.
   * //
   * // Note that in v9 the FormDes actually hardcoded LineChange to 1 and
   * // PageChange to 10 as per this excerpt from CTLSCRL.CPP in the
   * // ScrollBar::BuildDef() method:
   * //
   * //    change = MAKELONG(1, 10);      //change this hard code later 
   * // 
   * // Guess no-one ever got back to that then :)
   * //
   
///////////////////////////////////////////////////////////////////////////////

   * // Default values
   
   equ PS_SB_DFLT_RANGE_FROM$           to 0
   equ PS_SB_DFLT_RANGE_TO$             to 100
   
   equ PS_SB_DFLT_INCREMENT$            to 1
   equ PS_SB_DFLT_PAGESIZE$             to 10
   
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
#endif
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
