85 lines
3.8 KiB
Plaintext
85 lines
3.8 KiB
Plaintext
compile insert msWin_Static_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 : June 2013
|
|
Purpose : Constants for Static controls
|
|
|
|
|
|
Comments
|
|
========
|
|
|
|
|
|
Amended Date Reason
|
|
======= ==== ======
|
|
mtr 12 Dec 2014 Git sucks
|
|
*/
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
#ifndef _MSWIN_STATIC_EQUATES_
|
|
#define _MSWIN_STATIC_EQUATES_
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
/// STATIC style equates //////////////////////////////////////////////////////
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
equ SS_LEFT$ to 0x00000000
|
|
equ SS_CENTER$ to 0x00000001
|
|
equ SS_RIGHT$ to 0x00000002
|
|
equ SS_ICON$ to 0x00000003 ; * // Not supported by PS STATIC
|
|
equ SS_BLACKRECT$ to 0x00000004
|
|
equ SS_GRAYRECT$ to 0x00000005
|
|
equ SS_WHITERECT$ to 0x00000006
|
|
equ SS_BLACKFRAME$ to 0x00000007
|
|
equ SS_GRAYFRAME$ to 0x00000008
|
|
equ SS_WHITEFRAME$ to 0x00000009
|
|
equ SS_USERITEM$ to 0x0000000A
|
|
equ SS_SIMPLE$ to 0x0000000B
|
|
equ SS_LEFTNOWORDWRAP$ to 0x0000000C
|
|
equ SS_OWNERDRAW$ to 0x0000000D
|
|
equ SS_BITMAP$ to 0x0000000E ; * // Not supported by PS STATIC
|
|
equ SS_ENHMETAFILE$ to 0x0000000F ; * // Not supported by PS STATIC
|
|
equ SS_ETCHEDHORZ$ to 0x00000010
|
|
equ SS_ETCHEDVERT$ to 0x00000011
|
|
equ SS_ETCHEDFRAME$ to 0x00000012
|
|
equ SS_TYPEMASK$ to 0x0000001F
|
|
equ SS_NOPREFIX$ to 0x00000080 ; * // Don't do "&" character translation
|
|
equ SS_NOTIFY$ to 0x00000100 ; * // Enforced in PS
|
|
equ SS_CENTERIMAGE$ to 0x00000200
|
|
equ SS_RIGHTJUST$ to 0x00000400
|
|
equ SS_REALSIZEIMAGE$ to 0x00000800
|
|
equ SS_SUNKEN$ to 0x00001000
|
|
equ SS_ENDELLIPSIS$ to 0x00004000
|
|
equ SS_PATHELLIPSIS$ to 0x00008000
|
|
equ SS_WORDELLIPSIS$ to 0x0000C000
|
|
equ SS_ELLIPSISMASK$ to 0x0000C000
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
// STATIC messages ////////////////////////////////////////////////////////////
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
equ STM_SETICON$ to 0x0170 ; * // Not supported by PS STATIC
|
|
equ STM_GETICON$ to 0x0171 ; * // Not supported by PS STATIC
|
|
equ STM_SETIMAGE$ to 0x0172 ; * // Not supported by PS STATIC
|
|
equ STM_GETIMAGE$ to 0x0173 ; * // Not supported by PS STATIC
|
|
equ STM_MSGMAX$ to 0x0174
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
// STATIC Notification messages ///////////////////////////////////////////////
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
equ STN_CLICKED$ to 0
|
|
equ STN_DBLCLK$ to 1
|
|
equ STN_ENABLE$ to 2
|
|
equ STN_DISABLE$ to 3
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
#endif
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
///////////////////////////////////////////////////////////////////////////////
|