home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / cprog / dflt14.zip / MESSAGE.H < prev    next >
Text File  |  1992-02-29  |  545b  |  26 lines

  1. /* ----------- message.h ------------ */
  2.  
  3. #ifndef MESSAGES_H
  4. #define MESSAGES_H
  5.  
  6. #define MAXMESSAGES 50
  7. #define DELAYTICKS 1
  8. #define FIRSTDELAY 7
  9. #define DOUBLETICKS 5
  10.  
  11. typedef enum messages {
  12.     #undef DFlatMsg
  13.     #define DFlatMsg(m) m,
  14.     #include "dflatmsg.h"
  15.     MESSAGECOUNT
  16. } MESSAGE;
  17.  
  18. /* --------- message prototypes ----------- */
  19. void init_messages(void);
  20. void PostMessage(WINDOW, MESSAGE, PARAM, PARAM);
  21. int SendMessage(WINDOW, MESSAGE, PARAM, PARAM);
  22. BOOL dispatch_message(void);
  23. int TestCriticalError(void);
  24.  
  25. #endif
  26.