home *** CD-ROM | disk | FTP | other *** search
/ ActiveX Programming Unleashed CD / AXU.iso / source / chap18 / doserver / mfcbind.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-07-02  |  1.2 KB  |  33 lines

  1. // mfcbind.h : utility definitions and functions for DocObject
  2. //        Support for MFC
  3. //
  4. // This is a part of the Microsoft Foundation Classes C++ library.
  5. // Copyright (C) 1992-1995 Microsoft Corporation
  6. // All rights reserved.
  7. //
  8. // This source code is only intended as a supplement to the
  9. // Microsoft Foundation Classes Reference and related
  10. // electronic documentation provided with the library.
  11. // See these sources for detailed information regarding the
  12. // Microsoft Foundation Classes product.
  13.  
  14. #ifndef __MFCBIND_H__
  15.    #define __MFCBIND_H__
  16.  
  17. // Resource Definitions
  18. #include "resource.h"
  19.  
  20. // Utility Functions
  21. void MfcBinderUpdateRegistry(const CDocTemplate* pDocTemplate,
  22.                            OLE_APPTYPE nAppType = OAT_INPLACE_SERVER,
  23.                            LPCTSTR* rglpszRegister = NULL,
  24.                            LPCTSTR* rglpszOverwrite = NULL);
  25.  
  26. HMENU MfcBinderMergeMenus(CMenu* pMenuShared, CMenu* pMenuSource,
  27.                         LONG* lpMenuWidths, int iWidthIndex);
  28. void  MfcBinderUnmergeMenus(CMenu* pMenuShared, CMenu* pMenuSource, 
  29.                           CMenu* pMenuHelpPopup);
  30.  
  31. #endif // #ifndef __MFCBIND_H__
  32.  
  33.