home *** CD-ROM | disk | FTP | other *** search
/ ...taking it to the Macs! / ...taking it to the Macs!.iso / Extras / ActiveX Mac SDK / ActiveX SDK / Sample Controls / Label / CLabelError.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-12-20  |  736 b   |  29 lines  |  [TEXT/CWIE]

  1. #ifndef __CLabelError_h__
  2. #define __CLabelError_h__
  3.  
  4. #include "CError.h"
  5.  
  6. /////////////////////////////////////////////////////////////////////////////
  7. //
  8. // constants
  9. //
  10.  
  11. #define CONTROL_GWORLD_ALLOCATION_ERROR        (BaseErrorCodeLabel + 0)
  12. #define GWORLD_ALLOCATION_ERROR                (BaseErrorCodeLabel + 1)
  13. #define ROTATION_FAILED_ERROR                (BaseErrorCodeLabel + 2)
  14. #define CONTROL_BAD_ALIGNMENT_PARAM_ERROR    (BaseErrorCodeLabel + 3)
  15. /////////////////////////////////////////////////////////////////////////////
  16. //
  17. // CLabelError class definition
  18. //
  19.  
  20. class CLabelError : public CError
  21. {
  22. public:
  23.     CLabelError(ErrorCode error);
  24.     CLabelError(ErrorCode error, CErrorControl * control);
  25.     virtual void HandleError(void);
  26. };
  27.  
  28. #endif // __CLabelError_h__
  29.