compile insert msWin_ComboBox_Equates
/*
   ** Copyright (C) 2012 Revelation Software Inc. All Rights Reserved **
   
   Author    Mr C
   Date      October 2012
   Purpose   Equates for Combobox controls
   
   Amended      Date         Reason
   =======      ====         ======
   
*/
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
#ifndef _MSWIN_COMBOBOX_EQUATES_
#define _MSWIN_COMBOBOX_EQUATES_
///////////////////////////////////////////////////////////////////////////////
// Combobox Messages //////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   equ CB_GETEDITSEL$            to 0x0140
   equ CB_LIMITTEXT$             to 0x0141
   equ CB_SETEDITSEL$            to 0x0142
   equ CB_ADDSTRING$             to 0x0143
   equ CB_DELETESTRING$          to 0x0144
   equ CB_DIR$                   to 0x0145
   equ CB_GETCOUNT$              to 0x0146
   equ CB_GETCURSEL$             to 0x0147
   equ CB_GETLBTEXT$             to 0x0148
   equ CB_GETLBTEXTLEN$          to 0x0149
   equ CB_INSERTSTRING$          to 0x014A
   equ CB_RESETCONTENT$          to 0x014B
   equ CB_FINDSTRING$            to 0x014C
   equ CB_SELECTSTRING$          to 0x014D
   equ CB_SETCURSEL$             to 0x014E
   equ CB_SHOWDROPDOWN$          to 0x014F
   equ CB_GETITEMDATA$           to 0x0150
   equ CB_SETITEMDATA$           to 0x0151
   equ CB_GETDROPPEDCONTROLRECT$ to 0x0152
   equ CB_SETITEMHEIGHT$         to 0x0153
   equ CB_GETITEMHEIGHT$         to 0x0154
   equ CB_SETEXTENDEDUI$         to 0x0155
   equ CB_GETEXTENDEDUI$         to 0x0156
   equ CB_GETDROPPEDSTATE$       to 0x0157
   equ CB_FINDSTRINGEXACT$       to 0x0158
   equ CB_SETLOCALE$             to 345
   equ CB_GETLOCALE$             to 346
   equ CB_GETTOPINDEX$           to 347
   equ CB_SETTOPINDEX$           to 348
   equ CB_GETHORIZONTALEXTENT$   to 349
   equ CB_SETHORIZONTALEXTENT$   to 350
   equ CB_GETDROPPEDWIDTH$       to 351
   equ CB_SETDROPPEDWIDTH$       to 352
   equ CB_INITSTORAGE$           to 353
   equ CB_MSGMAX$                to 354
   
   // Extended combobox control messages from commctrl.h 
   
   equ CBM_FIRST$                to 0x1700
   equ CB_SETMINVISIBLE$         to 0x1701 ; * // ( CBM_FIRST + 1 )
   equ CB_GETMINVISIBLE$         to 0x1702 ; * // ( CBM_FIRST + 2 )

///////////////////////////////////////////////////////////////////////////////
// Combobox Styles ////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   equ CBS_SIMPLE$               to 1
   equ CBS_DROPDOWN$             to 2
   equ CBS_DROPDOWNLIST$         to 3
   equ CBS_OWNERDRAWFIXED$       to 0x10
   equ CBS_OWNERDRAWVARIABLE$    to 0x20
   equ CBS_AUTOHSCROLL$          to 0x40
   equ CBS_OEMCONVERT$           to 0x80
   equ CBS_SORT$                 to 0x100
   equ CBS_HASSTRINGS$           to 0x200
   equ CBS_NOINTEGRALHEIGHT$     to 0x400
   equ CBS_DISABLENOSCROLL$      to 0x800
   equ CBS_UPPERCASE$            to 0x2000
   equ CBS_LOWERCASE$            to 0x4000
   
///////////////////////////////////////////////////////////////////////////////
// Combobox Return Values /////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////   
   
   equ CB_OKAY$                  to 0
   equ CB_ERR$                   to -1
   equ CB_ERRSPACE$              to -2;
   
///////////////////////////////////////////////////////////////////////////////
// Combobox Notification Codes ////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////// 
  
   equ CBN_ERRSPACE$             to (-1)
   equ CBN_SELCHANGE$            to 1
   equ CBN_DBLCLK$               to 2
   equ CBN_SETFOCUS$             to 3
   equ CBN_KILLFOCUS$            to 4
   equ CBN_EDITCHANGE$           to 5
   equ CBN_EDITUPDATE$           to 6
   equ CBN_DROPDOWN$             to 7
   equ CBN_CLOSEUP$              to 8
   equ CBN_SELENDOK$             to 9
   equ CBN_SELENDCANCEL$         to 10    
   
////////////////////////////////////////////////////////////////////////////////
// COMBOBOXINFO structure //////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////

/*
   Superceded by the GETINFO method in v10

typedef struct tagCOMBOBOXINFO
{
    DWORD cbSize;
    RECT rcItem;
    RECT rcButton;
    DWORD stateButton;
    HWND hwndCombo;
    HWND hwndItem;
    HWND hwndList;
} COMBOBOXINFO, *PCOMBOBOXINFO, *LPCOMBOBOXINFO;

   $uses @APPID*APPROW**SYSOBJ:STRUCT_MSWIN_COMBOBOXINFO
   
   equ COMBOBOXINFO$            to "MSWIN_COMBOBOXINFO" ; * // struct name
   
   equ CBI_POS_CBSIZE$          to 1
   equ CBI_POS_RCITEM$          to 2
   equ CBI_POS_RCBUTTON$        to 3
   equ CBI_POS_STATEBUTTON$     to 4
   equ CBI_POS_HWNDCOMBO$       to 5
   equ CBI_POS_HWNDITEM$        to 6
   equ CBI_POS_HWNDLIST$        to 7

*/      
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////

#endif
   
