home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / samples / open32 / hiworld2 / hiworld.h < prev    next >
Text File  |  1999-05-11  |  1KB  |  49 lines

  1. // include file for hiworld.c
  2.  
  3.  
  4. // menu item for screen dimensions selection
  5. #define IDM_SCRDIM            101
  6.  
  7. // menu item for beep dialog selection
  8. #define IDM_BEEP            103
  9.  
  10. // menu items for time selections            
  11. #define IDM_UPTIME            201
  12. #define IDM_LOCALTIME        202
  13. #define IDM_SYSTIME            203
  14.  
  15. // menu items for color selections
  16. #define IDM_SHOWCOLORS        301
  17. #define IDM_CHANGECOLORS    302
  18. #define IDM_RESTORECOLORS     303
  19.  
  20. // menu item for exit selection
  21. #define IDM_EXIT            401
  22.  
  23. // identifiers for frequency and duration bars in beep dialog
  24. #define ID_FREQBAR            501
  25. #define ID_DURBAR            502
  26.  
  27. // identifiers for beep and done buttons in beep dialog
  28. #define ID_BEEPNOW            601
  29. #define ID_DONE                602
  30.  
  31. // constants - max and min frequencies and durations for beeping
  32. #define MAXFREQ 500
  33. #define MINFREQ 10
  34. #define MAXDURATION 500
  35. #define MINDURATION 10
  36.  
  37. // step values for beep dialog sliders
  38. #define FREQSTEP 10
  39. #define DURATIONSTEP 10
  40.  
  41. // width of beep dialog sliders
  42. #define BEEPSCROLLWIDTH 50
  43.  
  44. // defines for icon, menu, dialog and cursor IDs
  45. #define IDI_ICON2                       102
  46. #define HIWORLDMENU                        103
  47. #define BEEPDIALOG                        104
  48. #define IDC_CURSOR1                     105
  49.