home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1996 November / VPR9611B.ISO / vabasic / ntclnt.exe / DISK8 / data.8 / datab / INCLUDE / VWVALIDT.HH < prev   
Text File  |  1996-07-29  |  2KB  |  52 lines

  1. //--------------------------------------------------------------
  2. // $Source: /rcs/vwrcs/components/vwvalidt.hh,v $
  3. // Checked in by: $Author: thinh $
  4. // $Date: 1996/07/25 20:20:38 $       $Revision: 1.16 $
  5. //--------------------------------------------------------------
  6. //       Copyright(c) 1992, Visual Edge Software Ltd.
  7. //
  8. // ALL RIGHTS RESERVED. This notice is intended as a precaution
  9. // against inadvertent publication, and shall not be deemed to
  10. // consitute an acknowledgment that publication has occurred
  11. // nor to imply any waiver of confidentiality. The year included
  12. // in the notice is the year of the creation of the work.
  13. //--------------------------------------------------------------
  14. // DESCRIPTION:
  15. //          This file contains the prototypes of the functions
  16. //          used to validate the non-enumerated types used in
  17. //          the Vw components.
  18. //--------------------------------------------------------------
  19. #ifndef VWVALIDT_HH
  20. #define VWVALIDT_HH
  21.  
  22. //--- include files ---
  23.  
  24. #include <vwtoolkt.hh>
  25.  
  26. #define VW_INT_UPPER_RANGE    32767
  27. #define VW_INT_LOWER_RANGE    -32768   
  28. #define VW_MAX_FONT_SIZE    2160
  29.  
  30. #define VwIllegalRGBColor 0xFF000000L
  31.  
  32. //--- Function Prototypes ---
  33.  
  34. VMETHODDECL(VwBool) VwIsValidColor ( VwLong );
  35. VMETHODDECL(VwBool) VwIsValidIndex ( VwInt );
  36. VMETHODDECL(VwBool) VwIsValidTabIndex ( VwInt );
  37. VMETHODDECL(VwBool) VwIsValidName ( const String );
  38. VMETHODDECL(VwBool) VwIsValidShortInterval ( VwLong );
  39. VMETHODDECL(VwBool) VwIsValidInterval ( VwLong );
  40. VMETHODDECL(VwBool) VwIsValidPositiveInteger ( VwInt );
  41. VMETHODDECL(VwBool) VwIsValidInteger ( VwInt );
  42. VMETHODDECL(VwBool) VwIsValidDimension ( VwSingle );
  43. VMETHODDECL(VwBool) VwIsValidPositiveValue ( VwInt );
  44. VMETHODDECL(VwBool) VwIsValidPositiveValue ( VwLong );
  45. VMETHODDECL(VwBool) VwIsValidGui ( VwGui_t );
  46. VMETHODDECL(VwBool) VwIsValidPixmap( VwPixmap );
  47. VMETHODDECL(VwBool) VwIsValidFontSize( VwSingle );
  48.  
  49. #endif // VWVALIDT_HH
  50.  
  51. //--- end of file ---
  52.