compile insert PS_CheckBox_Equates /* ** Copyright (C) 2013 Revelation Software Inc. All Rights Reserved ** Author : Wile C Coyote - Super Genius Date : June 2013 Purpose : Constants for working with PS CHECKBOX object structures Comments ======== Amended Date Reason ======= ==== ====== Mr C 12 Jul 16 Added ThreeState notes, CHECK property equates */ /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// #ifndef _PS_CHECKBOX_EQUATES_ #define _PS_CHECKBOX_EQUATES_ /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// $insert msWin_Button_Equates $insert ps_Equates /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// // Properties held in window style bits in PSPOS_SDKSTYLE$ <0,0,1> // // BS_RIGHTBUTTON -> CHECKRIGHT property // BS_LEFT -> TEXTALIGN property // BS_RIGHT -> TEXTALIGN property // BS_CENTER -> TEXTALIGN property // BS_AUTOCHECKBOX -> THREESTATE property // BS_AUTO3STATE -> THREESTATE property /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// // PS Style equates equ PSS_CHECKBOX_DRAWTEXT$ to 0x00000400 ; * // DRAWTEXT property /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// // SYSREPOSWINS structure overrides equ POS_CHK_CHECK$ to POS_VALUE$ ; // CHECK property - 0, 1, 2 equ POS_CHK_HOTBACKCOLOR$ to POS_COLOR_1$ ; // HOTBACKCOLOR property - <0,0,1> only equ POS_CHK_HOTFORECOLOR$ to POS_COLOR_2$ ; // HOTFORECOLOR property - <0,0,1> only equ POS_CHK_HOTFONT$ to POS_LOGFONT_1$ ; // HOTFONT property equ POS_CHK_TEXTORIGIN_X$ to POS_SPOT_X$ ; // TEXTORIGIN property equ POS_CHK_TEXTORIGIN_Y$ to POS_SPOT_Y$ ; // TEXTORIGIN property // SYSREPOSWINEXES structure overrides equ PSPOS_CHK_CHECK$ to PSPOS_VALUE$ ; // CHECK property - 0, 1, 2 equ PSPOS_CHK_HOTBACKCOLOR$ to PSPOS_COLOR_1$ ; // HOTBACKCOLOR property - <0,0,1> and <0,0,2> only equ PSPOS_CHK_HOTFORECOLOR$ to PSPOS_COLOR_2$ ; // HOTFORECOLOR property - <0,0,1> only equ PSPOS_CHK_HOTFONT$ to PSPOS_LOGFONT_1$ ; // HOTFONT property equ PSPOS_CHK_TEXTORIGIN_X$ to PSPOS_SPOT_X$ ; // TEXTORIGIN property equ PSPOS_CHK_TEXTORIGIN_Y$ to PSPOS_SPOT_Y$ ; // TEXTORIGIN property /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// // CHECK property equates equ PS_CHK_UNCHECKED$ to 0 equ PS_CHK_CHECKED$ to 1 equ PS_CHK_INDETERMINATE$ to 2 /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// #endif /////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////