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 / PopupWindow / CPopupWindowError.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-12-20  |  1.0 KB  |  34 lines  |  [TEXT/CWIE]

  1. #ifndef __CPopupWindowError_h__
  2. #define __CPopupWindowError_h__
  3.  
  4. #include "CError.h"
  5.  
  6. /////////////////////////////////////////////////////////////////////////////
  7. //
  8. // constants
  9. //
  10.  
  11. #define DATA_ALLOCATION_ERROR                (BaseErrorCodePopupWindow + 0)
  12. #define NO_CNXN_PT_CONTAINER_ERROR            (BaseErrorCodePopupWindow + 1)
  13. #define CANT_ADD_CNXN_PT_ERROR                (BaseErrorCodePopupWindow + 2)
  14. #define CANT_ENUM_OBJECTS_ERROR                (BaseErrorCodePopupWindow + 3)
  15. #define CANT_ADVISE_CNXN_ERROR                (BaseErrorCodePopupWindow + 4)
  16. #define EOF_AND_NO_IMAGE_ERROR                (BaseErrorCodePopupWindow + 5)
  17. #define DATA_REALLOCATION_ERROR                (BaseErrorCodePopupWindow + 6)
  18. #define IMAGE_READ_ERROR                    (BaseErrorCodePopupWindow + 7)
  19.  
  20. /////////////////////////////////////////////////////////////////////////////
  21. //
  22. // CPopupWindowError class definition
  23. //
  24.  
  25. class CPopupWindowError : public CError
  26. {
  27. public:
  28.     CPopupWindowError ( ErrorCode error );
  29.     CPopupWindowError ( ErrorCode error, CErrorControl * control );
  30.     virtual void HandleError ( void );
  31. };
  32.  
  33. #endif // __CPopupWindowError_h__
  34.