added sysprog entities
This commit is contained in:
108
SYSPROG/STPROCINS/PS_STATIC_EQUATES.txt
Normal file
108
SYSPROG/STPROCINS/PS_STATIC_EQUATES.txt
Normal file
@ -0,0 +1,108 @@
|
||||
compile insert PS_Static_Equates
|
||||
/*
|
||||
** Copyright (C) 2013-2023 Revelation Software Inc. All Rights Reserved **
|
||||
|
||||
Author : Wile C Coyote - Super Genius
|
||||
Date : June 2013
|
||||
Purpose : Constants for working with PS STATIC object structures
|
||||
|
||||
|
||||
Comments
|
||||
========
|
||||
|
||||
The following controls basically derive from this type so be aware that
|
||||
extending fields used in this structure doesn't break those:
|
||||
|
||||
HYPERLINK
|
||||
HTTPCLIENT
|
||||
HTTPSERVER
|
||||
SIMPLEPANEL
|
||||
|
||||
Amended Date Reason
|
||||
======= ==== ======
|
||||
Mr C 13 Apr 23 Updated comments
|
||||
Mr C 13 Dec 15 Removed proprietary notice
|
||||
Mr C 07 Dec 15 $insert PS_Equates
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef _PS_STATIC_EQUATES_
|
||||
#define _PS_STATIC_EQUATES_
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
$insert oiwin_Equates
|
||||
$insert msWin_Static_Equates
|
||||
$insert ps_Style_X_Equates
|
||||
$insert ps_Equates
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Properties held in window style bits in PSPOS_SDKSTYLE$ <0,0,1>
|
||||
//
|
||||
// We've has to hijack some STATIC style bits due to the fact that they
|
||||
// internally collide between text justification and etched frames, so you
|
||||
// can only have one or the other. The PS static supports both at the
|
||||
// same time.
|
||||
//
|
||||
// Hence the followng styles are ignored by the PS:
|
||||
//
|
||||
// SS_CENTER
|
||||
// SS_RIGHT
|
||||
// SS_ICON
|
||||
// SS_BLACKRECT
|
||||
// SS_GRAYRECT
|
||||
// SS_WHITERECT
|
||||
// SS_BLACKFRAME
|
||||
// SS_GRAYFRAME
|
||||
// SS_WHITEFRAME
|
||||
// SS_USERITEM
|
||||
// SS_SIMPLE
|
||||
// SS_OWNERDRAW
|
||||
// SS_BITMAP
|
||||
// SS_ENHMETAFILE
|
||||
//
|
||||
// and the following styles have been hijacked:
|
||||
//
|
||||
// 0x00000020 == Center justified (this is not defined in WinUser.h)
|
||||
// SS_REALSIZEIMAGE == Right justified
|
||||
// SS_CENTERIMAGE == Vertically centered
|
||||
// SS_RIGHTJUST == Bottom aligned
|
||||
|
||||
equ PS_SS_CENTER$ to 0x00000020;
|
||||
equ PS_SS_RIGHT$ to SS_REALSIZEIMAGE$
|
||||
equ PS_SS_VCENTER$ to SS_CENTERIMAGE$
|
||||
equ PS_SS_VBOTTOM$ to SS_RIGHTJUST$
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
* // PS Style equates
|
||||
equ PSS_STATIC_DUMMYCAPTION$ to 0x00020000 ; * // DUMMYCAPTION property
|
||||
equ PSS_STATIC_HTMLTEXT$ to PSS_CHILD_HTMLTEXT$ ; * // DRAWHTML property
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
* // SYSREPOSWINS structure overrides
|
||||
|
||||
equ POS_STA_HOTBACKCOLOR$ to POS_COLOR_1$ ; * // HOTBACKCOLOR property - <0,0,1> and <0,0,2> only
|
||||
equ POS_STA_HOTFORECOLOR$ to POS_COLOR_2$ ; * // HOTFORECOLOR property - <0,0,1> only
|
||||
equ POS_STA_HOTFONT$ to POS_LOGFONT_1$ ; * // HOTFONT property
|
||||
equ POS_STA_TEXTORIGIN_X$ to POS_SPOT_X$ ; * // TEXTORIGIN property
|
||||
equ POS_STA_TEXTORIGIN_Y$ to POS_SPOT_Y$ ; * // TEXTORIGIN property
|
||||
|
||||
* // SYSREPOSWINEXES structure overrides
|
||||
|
||||
equ PSPOS_STA_HOTBACKCOLOR$ to PSPOS_COLOR_1$ ; * // HOTBACKCOLOR property - <0,0,1> and <0,0,2> only
|
||||
equ PSPOS_STA_HOTFORECOLOR$ to PSPOS_COLOR_2$ ; * // HOTFORECOLOR property - <0,0,1> only
|
||||
equ PSPOS_STA_HOTFONT$ to PSPOS_LOGFONT_1$ ; * // HOTFONT property
|
||||
equ PSPOS_STA_TEXTORIGIN_X$ to PSPOS_SPOT_X$ ; * // TEXTORIGIN property
|
||||
equ PSPOS_STA_TEXTORIGIN_Y$ to PSPOS_SPOT_Y$ ; * // TEXTORIGIN property
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
#endif
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
///////////////////////////////////////////////////////////////////////////////
|
Reference in New Issue
Block a user