home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / com / activedocument / dfv / message.h < prev    next >
C/C++ Source or Header  |  1995-02-13  |  912b  |  40 lines

  1. //+---------------------------------------------------------------------------
  2. //
  3. //  Microsoft Windows
  4. //  Copyright (C) Microsoft Corporation, 1992 - 1995.
  5. //
  6. //  File:       message.h
  7. //
  8. //  Contents:   Helper functions for popup message boxes.
  9. //
  10. //  Classes:
  11. //
  12. //  Functions:  MessageBoxFromStringIds
  13. //
  14. //  History:    6-24-94   stevebl   Created
  15. //
  16. //----------------------------------------------------------------------------
  17.  
  18. #ifndef __MESSAGE_H__
  19. #define __MESSAGE_H__
  20.  
  21. #define MAX_STRING_LENGTH           256
  22.  
  23. int MessageBoxFromStringIds(
  24.     const HWND hwndOwner,
  25.     const HINSTANCE hinst,
  26.     const UINT idText,
  27.     const UINT idTitle,
  28.     const UINT fuStyle);
  29.  
  30. int MessageBoxFromStringIdsAndArgs(
  31.     const HWND hwndOwner,
  32.     const HINSTANCE hinst,
  33.     const UINT idText,
  34.     const UINT idTitle,
  35.     const UINT fuStyle,
  36.     ...);
  37.  
  38. #endif //__MESSAGE_H__
  39.  
  40.