home *** CD-ROM | disk | FTP | other *** search
- //***************************************************************************
- //
- // SLDEMO2.H - Header file
- //
- // Steven R Clabaugh
- // SRC Enterprises
- //
- //***************************************************************************
-
- // Main Menu IDs
- #define IDM_ABOUT 100
- #define IDM_VGAUGE 101
- #define IDM_HGAUGE 102
- #define IDM_VTHERM 103
- #define IDM_HTHERM 104
- #define IDM_RVTHERM 105
- #define IDM_SLBANK 106
-
- // Main Window Slider IDs
- #define SLIDER1 201
- #define SLEDIT1 202
- #define SLIDER2 203
- #define SLEDIT2 204
- #define SLIDER3 205
- #define SLEDIT3 206
- #define SLIDER4 207
- #define SLEDIT4 208
-
- // Vertical Gauge Dialog IDs
- #define D1SLIDER 209
- #define D1GAUGE 210
-
- // Horizontal Gauge Dialog IDs
- #define D2SLIDER 211
- #define D2GAUGE 212
-
- // Vertical Thermometer Dialog IDs
- #define D3SLIDER 213
- #define D3THERM 214
-
- // Horizontal Thermometer Dialog IDs
- #define D4SLIDER 215
- #define D4THERM 216
-
- // Reversed Vertical Thermometer Dialog IDs
- #define D5SLIDER 217
- #define D5THERM 218
-
- // Slider Bank Slider IDs and EDIT Control IDs
- #define D6SLIDER1 219
- #define D6SLIDER2 220
- #define D6SLIDER3 221
- #define D6SLIDER4 222
- #define D6EDIT1 223
- #define D6EDIT2 224
- #define D6EDIT3 225
- #define D6EDIT4 226
-
- // Starting position for Slider Bank
- #define SLIDERSX 10
- #define SLIDERSY 24
-
- // Function Prototypes
- int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int);
- BOOL InitApplication(HANDLE);
- BOOL InitInstance(HANDLE, int);
- long FAR PASCAL __export MainWndProc(HWND, unsigned, WORD, LONG);
- BOOL FAR PASCAL __export About(HWND, unsigned, WORD, LONG);
- BOOL FAR PASCAL __export VGaugeDialog1(HWND, unsigned, WORD, LONG);
- BOOL FAR PASCAL __export HGaugeDialog2(HWND, unsigned, WORD, LONG);
- BOOL FAR PASCAL __export VThermDialog3(HWND, unsigned, WORD, LONG);
- BOOL FAR PASCAL __export HThermDialog4(HWND, unsigned, WORD, LONG);
- BOOL FAR PASCAL __export RVThermDialog5(HWND, unsigned, WORD, LONG);
- BOOL FAR PASCAL __export SLBankDialog6(HWND, unsigned, WORD, LONG);
-