home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Visual Database / Visual dBase v5.5 / MUSIC1.PAK / MUSIC.H < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-18  |  1.0 KB  |  41 lines

  1. *******************************************************************************
  2. *  PROGRAM:      Music.h
  3. *
  4. *  WRITTEN BY:   Borland Samples Group
  5. *
  6. *  DATE:         1/94
  7. *
  8. *  UPDATED:      5/95
  9. *
  10. *  REVISION:     $Revision:   1.11  $
  11. *
  12. *  VERSION:      Visual dBASE
  13. *
  14. *  DESCRIPTION:  This is a header file containing various constants used by
  15. *                program/form files in the Musical Methods application.
  16. *
  17. *  PARAMETERS:   None
  18. *
  19. *  CALLS:        None
  20. *
  21. *  USAGE:        #include "Music.h"
  22. *
  23. *******************************************************************************
  24.  
  25. #ifndef MUSIC_H
  26. #define MUSIC_H
  27.  
  28. #define MUSIC_APP_TITLE     "Musical Methods"
  29. #define ALLTRIM(s)          ltrim(rtrim(s))
  30. #define TRIMSTR(n)          ltrim(str(n))
  31. * h = height
  32. #define PB_ROW(h)           h - 2
  33. *  w= panel width,p = pb prompt, t = total # pb's, n = # of current pb
  34. #define PB_COLUMN(w,p,t,n)  1+(int((w-2-((t*(len(p)+4))+t-1))/2)+((n-1)*(len(p)+5)))
  35.  
  36. #define MAX_FORM_WIDTH      101
  37. #define MIN_FORM_HEIGHT     12
  38.  
  39. #endif
  40.  
  41.