home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / wpentk.zip / WBPENTK4.DSK / IDMERROR.H < prev    next >
Text File  |  1994-10-06  |  4KB  |  60 lines

  1.  
  2. /****************************** Module Header ******************************\
  3. *
  4. * Module Name: IDMERROR.H
  5. *
  6. * This file includes the error codes for the Input Data Manager (IDM) component.
  7. *
  8. * ===========================================================================
  9. */
  10. #define IDMERR_FIRST            0x7200
  11. #define IDMERR_INVALID_STATE    0x7201   /* Can't set IDM variables while IDM 
  12.                                             in collect state */
  13. #define IDMERR_CANNOT_START_NOW 0x7202   /* IDM can only be started while
  14.                                             processing a WM_TOUCHDOWN message 
  15.                                             (or WM_WRITING_MODE message, for
  16.                                             compatibility layer) */
  17. #define IDMERR_NO_OWNER         0x7203   /* hwndOwner or hwndClient has
  18.                                             not been specified */
  19. #define IDMERR_ANOTHER_IDM_STARTED 0x7204 /* another instance of IDM is working 
  20.                                              on behalf of the specified window*/
  21. #define IDMERR_NOT_STARTED      0x7205   /* this instance of IDM is not working
  22.                                             on behalf of any window */
  23. #define IDMERR_INVALID_OPERATION 0x7206  /* invalid combination of IDM
  24.                                             operations requested.  For example,
  25.                                             IDM_COLLECTSTROKE & IDM_GESTURE */
  26. #define IDMERR_INTERNAL_ERROR   0x7207   /* internal IDM error */
  27. #define IDMERR_NO_HPS           0x7208   /* window inking requested, but no hps
  28.                                             has been specified */
  29. #define IDMERR_ALREADY_STARTED  0x7209   /* attempt to start the IDM but it's
  30.                                             already started */
  31. #define IDMERR_INVALID_OBJECT   0x720A   /* the object specified is not
  32.                                             descended from IDMTextDoodle 
  33.                                             object */
  34. #define IDMERR_OUTSIDE_INCLUDE_RECT 0x720B  /* attempt to start IDM but
  35.                                                touchdown point is outside of the
  36.                                                include rectangle */
  37. #define IDMERR_INSIDE_EXCLUDE_RECT 0x720C   /* attempt to start IDM but 
  38.                                                touchdown point is inside of an
  39.                                                exclude rectangle */ 
  40. #define IDMERR_RECOING_IN_ANOTHER_WINDOW 0x720D /* attempt to start IDM while 
  41.                                                    IDM is recoing for another
  42.                                                    window */
  43. #define IDMERR_NO_DOODLE        0x720E   /* request to paint doodle, no doodle 
  44.                                             exists */
  45. #define IDMERR_NOT_WINDOW_INKING 0x720F  /* request to paint doodle, not using 
  46.                                             window inking style */
  47. #define IDMERR_NOTHING_TO_RECO  0x7210   /* request to reco, but there is 
  48.                                             nothing reco */
  49. #define IDMERR_DEVICE_NOT_ENABLED_FOR_WRITING 0x7211   /* Pointing device was not pause
  50.                                                enabled by user */
  51.  
  52. /****************************** Internal Errors *****************************\
  53. *
  54. * Errors below this comment block are internal errors of the Input Data Manager
  55. * component.  Internal errors are allocated starting from IDMERR_LAST.
  56. *
  57. * ===========================================================================
  58. */
  59. #define IDMERR_LAST 0x72FF
  60.