/*************************************************************************** 
 *                                                                         *
 *    File:         Listdemo.hpp                                           *
 *                                                                         *
 *    Description:  This file contains the function prototypes and data    *
 *                  structures used within the Listdemo.HPP file.          *
 *                                                                         *
 *    Copyright:    (C) Copyright JBA Software (SDU) 1995.                 *
 *                  All Rights Reserved.                                   *
 *                                                                         *
 *    Date:         26 Oct 1996                                            *
 *                                                                         *
 *    Note:         Generated by the Guidelines code generation facility.  *
 *                                                                         *
 ***************************************************************************/

#ifndef HPP_LISTDEMO
#define HPP_LISTDEMO


/*************************************************************************** 
 *    Include files.                                                       *
 ***************************************************************************/

#include "D:\GBA\sys\guirun.h"

/*************************************************************************** 
 *    Window/control identifiers.                                          *
 ***************************************************************************/

#define IDD_DLG_LISTBOX      3000                /* Dialog                 */
#define IDD_LST_DEFAULT      3001                /* Listbox                */
#define IDD_STATIC1          3002                /* Static Text            */
#define IDD_STATIC2          3003                /* Static Text            */
#define IDD_STATIC3          3004                /* Static Text            */
#define IDD_LST_MULTI        3005                /* Listbox                */
#define IDD_LST_EXTENDED     3006                /* Listbox                */
#define IDD_LST_HSCROLL      3007                /* Listbox                */
#define IDD_STATIC5          3008                /* Static Text            */
#define IDD_PSH_APPEND       3009                /* Push Button            */
#define IDD_PSH_INSERT       3010                /* Push Button            */
#define IDD_PSH_CLEAR        3011                /* Push Button            */
#define IDD_PSH_DELETE       3012                /* Push Button            */
#define IDD_PSH_ALL          3013                /* Push Button            */
#define IDD_PSH_NONE         3014                /* Push Button            */
#define IDD_STATIC4          3015                /* Static Text            */
#define IDD_STATIC6          3016                /* Static Text            */
#define IDD_STATIC7          3017                /* Static Text            */
#define IDD_STATIC14         3018                /* Static Text            */
#define IDD_STATIC8          3019                /* Static Text            */
#define IDD_STATIC9          3020                /* Static Text            */
#define IDD_STATIC10         3021                /* Static Text            */
#define IDD_STATIC11         3022                /* Static Text            */
#define IDD_STATIC12         3023                /* Static Text            */
#define IDD_STATIC13         3024                /* Static Text            */
#define IDD_STATIC15         3025                /* Static Text            */
#define IDD_STATIC16         3026                /* Static Text            */
#define IDD_STATIC17         3027                /* Static Text            */
#define IDD_LBL_DEFCOUNT     3028                /* Static Text            */
#define IDD_LBL_DEFSELECT    3029                /* Static Text            */
#define IDD_LBL_DEFTOP       3030                /* Static Text            */
#define IDD_LBL_HSCOUNT      3031                /* Static Text            */
#define IDD_LBL_HSSELECT     3032                /* Static Text            */
#define IDD_LBL_HSTOP        3033                /* Static Text            */
#define IDD_LBL_MULTCOUNT    3034                /* Static Text            */
#define IDD_LBL_MULTSELECT   3035                /* Static Text            */
#define IDD_LBL_MULTTOP      3036                /* Static Text            */
#define IDD_LBL_EXTCOUNT     3037                /* Static Text            */
#define IDD_LBL_EXTSELECT    3038                /* Static Text            */
#define IDD_LBL_EXTTOP       3039                /* Static Text            */
#define IDD_EDT_ITEM         3040                /* Entry Field            */
#define IDD_STATIC18         3041                /* Static Text            */
#define IDD_PSH_SETTEXT      3042                /* Push Button            */
#define IDD_STATIC19         3043                /* Static Text            */
#define IDD_LBL_CURRLIST     3044                /* Static Text            */
#define IDD_STATIC21         3045                /* Static Text            */
#define IDD_LBL_CURRLINE     3046                /* Static Text            */


/*************************************************************************** 
 *    Global variables.                                                    *
 ***************************************************************************/

#ifndef RC_INVOKED
extern WINDOW  wDLG_ListBox;
extern SHORT   i;
extern SHORT   j;
extern SHORT   k;
extern WINDOW  Listbox[4];
extern WINDOW  Count[4];
extern WINDOW  Selection[4];
extern WINDOW  TopIndex[4];
extern SHORT   currentlistbox;
extern SHORT   currentline;
#endif /* !RC_INVOKED */


/*************************************************************************** 
 *    Function Prototypes.                                                 *
 ***************************************************************************/

#ifndef RC_INVOKED
PMENTRY DLG_ListBoxWndProc (HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
#endif /* !RC_INVOKED */

#ifndef RC_INVOKED
void DLG_ListBoxPSH_AppendClick (void);
void DLG_ListBoxPSH_InsertClick (void);
void DLG_ListBoxPSH_DeleteClick (void);
void DLG_ListBoxCreate (void);
void DLG_ListBoxPSH_ClearClick (void);
void DLG_ListBoxPSH_AllClick (void);
void DLG_ListBoxPSH_NoneClick (void);
void DLG_ListBoxLST_DefaultVScroll (void);
void DLG_ListBoxLST_DefaultSelect (void);
void DLG_ListBoxLST_HScrollSelect (void);
void DLG_ListBoxLST_HScrollVScroll (void);
void DLG_ListBoxLST_MultiSelect (void);
void DLG_ListBoxLST_MultiVScroll (void);
void DLG_ListBoxLST_ExtendedSelect (void);
void DLG_ListBoxLST_ExtendedVScroll (void);
void DLG_ListBoxLST_DefaultEnter (void);
void DLG_ListBoxLST_HScrollEnter (void);
void DLG_ListBoxPSH_SetTextClick (void);
void DLG_ListBoxEDT_ItemChange (void);
void UpdateStats (void);
void GetTheText (SHORT number);
void Listdemo (PWINDOW WinOwner);
#endif /* !RC_INVOKED */


#endif /* HPP_LISTDEMO */

