home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / dmsgbox.zip / dmsgbox.h < prev    next >
Text File  |  1996-05-06  |  893b  |  34 lines

  1. #ifndef DAN_MSGBOX
  2.   #define DAN_MSGBOX
  3.  
  4. /*
  5. ╔═════════════════════════════════════════════════════════════╗
  6. ║ DMSGBOX.H -- Header file for Dan's Message Box Routines     ║
  7. ╚═════════════════════════════════════════════════════════════╝
  8. */
  9.  
  10. #define DMB_FRAME        0x0001
  11. // reserved     ------>  0x0002
  12. #define DMB_SCROLL       0x0004
  13. #define DMB_MLE          0x0008
  14. #define DMB_LINES        0x0010
  15. #define DMB_USEBORDER    0x0020
  16. #define DMB_RAINBOW      0x0040
  17. #define DMB_SOLID        0x0080
  18. #define DMB_GRAF         0x0100
  19. #define DMB_NOWAY        0x0200
  20. #define DMB_SHADOW       0x0400
  21. //0x0800
  22.  
  23. typedef struct _DMBSETTINGS
  24. {
  25.    ULONG TextColor;
  26.    ULONG TextBackColor;
  27.    ULONG BackColor;
  28.    ULONG BorderColor;
  29.    CHAR  FontName[100];
  30. }DMBSETTINGS;
  31.  
  32. int DanMessageBox(HWND hwnd, char* Title, char* Text, DMBSETTINGS *settings, int WindowStyle);
  33. #endif
  34.