compile insert PS_ToolBar_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 REBAR object structures Comments ======== Amended Date Reason ======= ==== ====== */ /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// #ifndef _PS_TOOLBAR_EQUATES_ #define _PS_TOOLBAR_EQUATES_ /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// $insert msWin_ToolBar_Equates $insert oiWin_Equates $insert ps_Equates /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// // Properties held in window style bits in PSPOS_SDKSTYLE$ <0,0,1> // // TBSTYLE_FLAT -> FLATBUTTONS property // TBSTYLE_LIST -> LISTBUTTONS property // TBSTYLE_WRAPABLE -> WRAP property /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// // Properties held in window style bits in PSPOS_SDKSTYLE$ <0,0,2> // // TBSTYLE_EX_HIDECLIPPEDBUTTONS -> HIDECLIPPEDBUTTONS // TBSTYLE_EX_DRAWDDARROWS -> DROPDOWNARROWS /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// // PS Style equates // equ PSS_REBAR_NOBANDMAXIMIZE$ to 0x00000002 ; * // BANDMAXIMIZE property /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// // SYSREPOSWINS structure overrides equ POS_TBR_BUTTONMETRICS$ to POS_TYPESPECIFIC$ equ POS_TBR_IMGLIST$ to POS_IMGLIST_1$ equ POS_TBR_IMGLIST_PROPS$ to POS_IMGLIST_1_PROPS$ equ POS_TBR_HOTIMGLIST$ to POS_IMGLIST_2$ equ POS_TBR_HOTIMGLIST_PROPS$ to POS_IMGLIST_2_PROPS$ equ POS_TBR_DISABLEDIMGLIST$ to POS_IMGLIST_3$ equ POS_TBR_DISABLEDIMGLIST_PROPS$ to POS_IMGLIST_3_PROPS$ equ POS_TBR_PRESSEDIMGLIST$ to POS_IMGLIST_4$ equ POS_TBR_PRESSEDIMGLIST_PROPS$ to POS_IMGLIST_4_PROPS$ // Buttons AMV equ POS_TBR_BTNS_ID$ to POS_LIST$ equ POS_TBR_BTNS_TEXT$ to POS_LABEL$ equ POS_TBR_BTNS_STYLE$ to POS_COLSTYLES$ equ POS_TBR_BTNS_STATE$ to POS_TEXT_1$ equ POS_TBR_BTNS_IMAGELISTINDEX$ to POS_CHARCOUNT$ equ POS_TBR_BTNS_TOOLTIP$ to POS_TEXT_2$ equ POS_TBR_BTNS_SEPWIDTH$ to POS_COLWIDE$ equ POS_TBR_BTNS_IMAGE$ to POS_TEXT_3$ equ POS_TBR_BTNS_IMAGETRANSLUCENCY$ to POS_TEXT_4$ /////////////////////////////////////////////////////////////////////////////// // SYSREPOSWINEXES structure overrides equ PSPOS_TBR_BUTTONMETRICS$ to PSPOS_TYPESPECIFIC$ equ PSPOS_TBR_IMGLIST$ to PSPOS_IMGLIST_1$ equ PSPOS_TBR_IMGLIST_PROPS$ to PSPOS_IMGLIST_1_PROPS$ equ PSPOS_TBR_HOTIMGLIST$ to PSPOS_IMGLIST_2$ equ PSPOS_TBR_HOTIMGLIST_PROPS$ to PSPOS_IMGLIST_2_PROPS$ equ PSPOS_TBR_DISABLEDIMGLIST$ to PSPOS_IMGLIST_3$ equ PSPOS_TBR_DISABLEDIMGLIST_PROPS$ to PSPOS_IMGLIST_3_PROPS$ equ PSPOS_TBR_PRESSEDIMGLIST$ to PSPOS_IMGLIST_4$ equ PSPOS_TBR_PRESSEDIMGLIST_PROPS$ to PSPOS_IMGLIST_4_PROPS$ // Buttons AMV equ PSPOS_TBR_BTNS_ID$ to PSPOS_LIST$ equ PSPOS_TBR_BTNS_TEXT$ to PSPOS_LABEL$ equ PSPOS_TBR_BTNS_STYLE$ to PSPOS_COLSTYLES$ equ PSPOS_TBR_BTNS_STATE$ to PSPOS_TEXT_1$ equ PSPOS_TBR_BTNS_IMAGELISTINDEX$ to PSPOS_CHARCOUNT$ equ PSPOS_TBR_BTNS_TOOLTIP$ to PSPOS_TEXT_2$ equ PSPOS_TBR_BTNS_SEPWIDTH$ to PSPOS_COLWIDE$ equ PSPOS_TBR_BTNS_IMAGE$ to PSPOS_TEXT_3$ equ PSPOS_TBR_BTNS_IMAGECOLORKEY$ to PSPOS_TEXT_5$ equ PSPOS_TBR_BTNS_IMAGECOUNT$ to PSPOS_TEXT_6$ equ PSPOS_TBR_BTNS_IMAGETRANSLUCENCY$ to PSPOS_TEXT_4$ /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// // "BUTTONMETRICS" field layout // // <0,1> ButtonSize // <0,1,1> Button Width // <0,1,2> Button Height // <0,2> Button MinMaxWidth // <0,2,1> Min Button Width // <0,2,2> Max Button Height // <0,3> Button Padding // <0,3,1> Horz Button Padding // <0,3,2> Vert Button Padding // <0,4> Button Spacing // <0,4,1> Horz Button Spacing // <0,4,2> Vert Button Spacing equ TBR_BTNMETRICS_SIZE$ to 1 equ TBR_BTNMETRICS_SIZE_WIDTH$ to 1 equ TBR_BTNMETRICS_SIZE_HEIGHT$ to 2 equ TBR_BTNMETRICS_MINMAXWIDTH$ to 2 equ TBR_BTNMETRICS_MIN_WIDTH$ to 1 equ TBR_BTNMETRICS_MAX_HEIGHT$ to 2 equ TBR_BTNMETRICS_PADDING$ to 3 equ TBR_BTNMETRICS_PADDING_HORZ$ to 1 equ TBR_BTNMETRICS_PADDING_VERT$ to 2 equ TBR_BTNMETRICS_SPACING$ to 4 equ TBR_BTNMETRICS_SPACING_HORZ$ to 1 equ TBR_BTNMETRICS_SPACING_VERT$ to 2 /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// #endif /////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////