82 lines
		
	
	
		
			3.8 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			82 lines
		
	
	
		
			3.8 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| compile insert ps_Panel_Equates
 | |
| /* 
 | |
|    ** Copyright (C) 2013-2019 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     : Sept 2014
 | |
|    Purpose  : Constants for working with PS PANEL object structures
 | |
|    
 | |
|    
 | |
|    Comments
 | |
|    ========
 | |
|    
 | |
|    PANEL inherits from view but shares much of it's UI appearance code with
 | |
|    STATIC.
 | |
|    
 | |
|    Amended  Date        Reason
 | |
|    =======  ====        ======
 | |
|    Mr C     13 Feb 19   Fixed CHK_ -> PNL_ equate names.
 | |
|    Mr C     26 May 16   Added PSSX_PANEL_ATWINDOW$
 | |
| */
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| #ifndef _PS_PANEL_EQUATES_
 | |
| #define _PS_PANEL_EQUATES_
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| //////////////////////////////////////////////////////////////////////////////
 | |
| 
 | |
|    $insert msWin_Static_Equates
 | |
|    $insert ps_Style_X_Equates
 | |
|    $insert ps_Equates
 | |
|    $insert OIWIN_Equates
 | |
|    
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| 
 | |
|    // Properties held in window style bits in PSPOS_SDKSTYLE$ <0,0,1>
 | |
|    //
 | |
|    //    SS_ENDELLIPSES        == AUTOELLIPSES property
 | |
|    //    0x00000020            == TEXTALIGN property
 | |
|    //    SS_REALSIZEIMAGE      == TEXTALIGN property
 | |
|    //    SS_CENTERIMAGE        == TEXTALIGN property
 | |
|    //    SS_RIGHTJUST          == TEXTALIGN property
 | |
|    //    SS_LEFTNOWORDWRAP     == WORDWRAP property
 | |
|    
 | |
| ///////////////////////////////////////////////////////////////////////////////   
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| 
 | |
|    * // PS Style equates
 | |
|    equ PSS_PANEL_HTMLTEXT$             to PSS_CHILD_HTMLTEXT$    ; * // DRAWHTML property
 | |
|    
 | |
|    * // PS Extended Styles
 | |
|    equ PSSX_PANEL_ATWINDOW$            to 0x00040000             ; * // == docked window for IDE
 | |
|    
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| 
 | |
|    * // SYSREPOSWINS structure overrides
 | |
|    
 | |
|    equ PoS_PNL_HOTBACKCOLOR$          to POS_COLOR_1$          ; * // HOTBACKCOLOR property - <0,0,1> and <0,0,2> only
 | |
|    equ POS_PNL_HOTFORECOLOR$          to POS_COLOR_2$          ; * // HOTFORECOLOR property - <0,0,1> only
 | |
|    equ POS_PNL_HOTFONT$               to POS_LOGFONT_1$        ; * // HOTFONT property
 | |
|    equ POS_PNL_TEXTORIGIN_X$          to POS_SPOT_X$           ; * // TEXTORIGIN property
 | |
|    equ POS_PNL_TEXTORIGIN_Y$          to POS_SPOT_Y$           ; * // TEXTORIGIN property
 | |
| 
 | |
|    * // SYSREPOSWINEXES structure overrides
 | |
|    
 | |
|    equ PSPOS_PNL_HOTBACKCOLOR$          to PSPOS_COLOR_1$          ; * // HOTBACKCOLOR property - <0,0,1> and <0,0,2> only
 | |
|    equ PSPOS_PNL_HOTFORECOLOR$          to PSPOS_COLOR_2$          ; * // HOTFORECOLOR property - <0,0,1> only
 | |
|    equ PSPOS_PNL_HOTFONT$               to PSPOS_LOGFONT_1$        ; * // HOTFONT property
 | |
|    equ PSPOS_PNL_TEXTORIGIN_X$          to PSPOS_SPOT_X$           ; * // TEXTORIGIN property
 | |
|    equ PSPOS_PNL_TEXTORIGIN_Y$          to PSPOS_SPOT_Y$           ; * // TEXTORIGIN property
 | |
|    
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| #endif
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| ///////////////////////////////////////////////////////////////////////////////
 |