home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic 4 Power Pack / Visual_Basic4_Power_Pack.bin / vb4files / scentsls / sldemo2.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-11-20  |  2.1 KB  |  75 lines

  1. //***************************************************************************
  2. //
  3. // SLDEMO2.H - Header file
  4. //
  5. // Steven R Clabaugh
  6. // SRC Enterprises
  7. //
  8. //***************************************************************************
  9.  
  10. // Main Menu IDs
  11. #define IDM_ABOUT   100
  12. #define IDM_VGAUGE  101
  13. #define IDM_HGAUGE  102
  14. #define IDM_VTHERM  103
  15. #define IDM_HTHERM  104
  16. #define IDM_RVTHERM 105
  17. #define IDM_SLBANK  106
  18.  
  19. // Main Window Slider IDs
  20. #define SLIDER1    201
  21. #define SLEDIT1    202
  22. #define SLIDER2    203
  23. #define SLEDIT2    204
  24. #define SLIDER3    205
  25. #define SLEDIT3    206
  26. #define SLIDER4    207
  27. #define SLEDIT4    208
  28.  
  29. // Vertical Gauge Dialog IDs
  30. #define D1SLIDER   209
  31. #define D1GAUGE    210
  32.  
  33. // Horizontal Gauge Dialog IDs
  34. #define D2SLIDER   211
  35. #define D2GAUGE    212
  36.  
  37. // Vertical Thermometer Dialog IDs
  38. #define D3SLIDER   213
  39. #define D3THERM    214
  40.  
  41. // Horizontal Thermometer Dialog IDs
  42. #define D4SLIDER   215
  43. #define D4THERM    216
  44.  
  45. // Reversed Vertical Thermometer Dialog IDs
  46. #define D5SLIDER   217
  47. #define D5THERM    218
  48.  
  49. // Slider Bank Slider IDs and EDIT Control IDs
  50. #define D6SLIDER1  219
  51. #define D6SLIDER2  220
  52. #define D6SLIDER3  221
  53. #define D6SLIDER4  222
  54. #define D6EDIT1    223
  55. #define D6EDIT2    224
  56. #define D6EDIT3    225
  57. #define D6EDIT4    226
  58.  
  59. // Starting position for Slider Bank
  60. #define SLIDERSX    10
  61. #define SLIDERSY    24
  62.  
  63. // Function Prototypes
  64. int  PASCAL WinMain(HANDLE, HANDLE, LPSTR, int);
  65. BOOL InitApplication(HANDLE);
  66. BOOL InitInstance(HANDLE, int);
  67. long FAR PASCAL __export MainWndProc(HWND, unsigned, WORD, LONG);
  68. BOOL FAR PASCAL __export About(HWND, unsigned, WORD, LONG);
  69. BOOL FAR PASCAL __export VGaugeDialog1(HWND, unsigned, WORD, LONG);
  70. BOOL FAR PASCAL __export HGaugeDialog2(HWND, unsigned, WORD, LONG);
  71. BOOL FAR PASCAL __export VThermDialog3(HWND, unsigned, WORD, LONG);
  72. BOOL FAR PASCAL __export HThermDialog4(HWND, unsigned, WORD, LONG);
  73. BOOL FAR PASCAL __export RVThermDialog5(HWND, unsigned, WORD, LONG);
  74. BOOL FAR PASCAL __export SLBankDialog6(HWND, unsigned, WORD, LONG);
  75.