home *** CD-ROM | disk | FTP | other *** search
/ The Developer Connection…ice Driver Kit for OS/2 3 / DEV3-D1.ISO / source / bitmapsr / bitmaprc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-05-26  |  1.7 KB  |  55 lines

  1. /* These are the possible return codes from the LoadBitmapFile() function... */
  2. #define LBF_COULDNT_OPEN_FILE_RC       1
  3. #define LBF_INVALID_BMP_FILE_RC        2
  4. #define LBF_ERROR_CREATING_BMP_RC      3
  5. #define LBF_ERROR_ALLOC_MEM_RC         4
  6. #define LBF_UNKNOWN_BITCOUNT_VALUE_RC  5
  7. #define SBF_UNKNOWN_FORMAT_RC         16
  8. #define SBF_FORMAT_NO_WRITE           17
  9. #define SBF_ERROR_GETTING_BITMAP_INFO 18
  10. #define SBF_FORMAT_MISMATCH           19
  11. #define SBF_NO_MEMORY                 20
  12. #define SBF_NO_COLOR_TABLE            21
  13. #define SBF_ERROR_GETBITS             22
  14. #define SBF_ERROR_WRITE_FORMAT        23
  15. #define SBF_ERROR_OPEN_FILE           24
  16.  
  17. #define NO_SLIDE_THREAD_RC            30
  18.  
  19. #define ABOUTBOX    20
  20. #define HELPBOX     21
  21.  
  22. #define ID_WINDOW   256
  23.  
  24. #define ID_BITMAP   111
  25.  
  26. #define ID_FILE_MENU              50
  27. #define ID_LOADFILE               51
  28. #define ID_SAVEFILE               52
  29. #define ID_SAVERLEFILE            71
  30. #define ID_LOADSLD                53
  31. #define ID_ABOUT                  54
  32.  
  33. #define ID_DRAW_MENU              55
  34. #define ID_SCALE_WHILE_DRAW       56
  35. #define ID_CLEAR_BITMAP           57
  36. #define ID_PALETTE_MANAGEMENT     58
  37. #define ID_KEEP_PROPORTION        59
  38. #define ID_FRAME_EMPTY            70
  39.  
  40. #define ID_SLIDE_MENU             60
  41. #define ID_RESTART                61
  42. #define ID_PAUSE                  62
  43. #define ID_TERMINATE              63
  44. #define ID_FORWARD                64
  45. #define ID_REVERSE                65
  46.  
  47. #define ID_EXIT_MENU              66
  48. #define ID_EXIT                   67
  49. #define ID_RESUME                 68
  50.  
  51. #define ID_HELP                   69
  52.  
  53.  
  54. #define ID_NULL     -1
  55.