50 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			50 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| compile insert msWin_Rect_Equates
 | |
| /*
 | |
|    ** Copyright (C) 2012-2022 Revelation Software Inc. All Rights Reserved **
 | |
|    
 | |
|    Author   Mr C
 | |
|    Date     October 2012
 | |
|    Purpose  Equates for use with Windows Rect Structure
 | |
|    
 | |
|    Comments
 | |
|    ========
 | |
|    
 | |
|    Amended  Date       Reason
 | |
|    =======  ====       ======
 | |
|    Mr C     06 Apr 20  Updated to reference DLLSTRUCT entities
 | |
| */
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| #ifndef _MSWIN_RECT_EQUATES_
 | |
| #define _MSWIN_RECT_EQUATES_
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| 
 | |
|    $uses @APPID*DLLSTRUCT**MSWIN_RECT
 | |
| 
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| 
 | |
|    // RECT Structure equates - this structure is defined in the Windows API as:
 | |
|    //
 | |
|    // typedef struct _RECT { 
 | |
|    //    LONG left; 
 | |
|    //    LONG top; 
 | |
|    //    LONG right; 
 | |
|    //    LONG bottom; 
 | |
|    // } RECT,
 | |
|       
 | |
|    equ RECT$            to "MSWIN_RECT" 
 | |
|      
 | |
|    equ RECT_POS_LEFT$   to 1
 | |
|    equ RECT_POS_TOP$    to 2
 | |
|    equ RECT_POS_RIGHT$  to 3
 | |
|    equ RECT_POS_BOTTOM$ to 4
 | |
|    
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| #endif
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| 
 |