home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / w3_info / technote.arj / DIBIT / DIBIT.H < prev    next >
Encoding:
C/C++ Source or Header  |  1991-09-13  |  1.0 KB  |  42 lines

  1. #define IDM_ABOUT    100
  2. #define IDM_OPEN    101
  3. #define IDM_SAVE    102
  4.  
  5. /* Options menu items */
  6.  
  7. #define IDM_SETDIB    200
  8. #define IDM_TODEV    201
  9. #define IDM_STRETCH    202
  10.  
  11. /* Palette menu items */
  12. #define    IDM_PALRGB    300
  13. #define    IDM_PALIND    301
  14.  
  15. /* Control IDs */
  16.  
  17. #define     IDC_FILENAME  400
  18. #define     IDC_EDIT      401
  19. #define     IDC_FILES     402
  20. #define     IDC_PATH      403
  21. #define     IDC_LISTBOX   404
  22.  
  23. /* flags for _lseek */
  24. #define  SEEK_CUR 1
  25. #define  SEEK_END 2
  26. #define  SEEK_SET 0
  27.  
  28. #define MAXREAD  32768               /* Number of bytes to be read during */
  29.                        /* each read operation.            */
  30. int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int);
  31. BOOL InitApplication(HANDLE);
  32. BOOL InitInstance(HANDLE, int);
  33. long FAR PASCAL MainWndProc(HWND, unsigned, WORD, LONG);
  34. BOOL FAR PASCAL About(HWND, unsigned, WORD, LONG);
  35.  
  36. /* OpenFile functions */
  37. HANDLE FAR PASCAL OpenDlg(HWND, unsigned, WORD, LONG);
  38. void SeparateFile(HWND, LPSTR, LPSTR, LPSTR);
  39. void UpdateListBox(HWND);
  40. void AddExt(PSTR, PSTR);
  41. void ChangeDefExt(PSTR, PSTR);
  42.