home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1998 May
/
Pcwk5b98.iso
/
Borland
/
Cplus45
/
BC45
/
OWLINC.PAK
/
OLEMDIFR.H
< prev
next >
Wrap
C/C++ Source or Header
|
1995-08-29
|
1KB
|
41 lines
//----------------------------------------------------------------------------
// ObjectWindows
// (C) Copyright 1994 by Borland International, All Rights Reserved
//
//----------------------------------------------------------------------------
#if !defined(OWL_OLEMDIFR_H)
#define OWL_OLEMDIFR_H
#if !defined(OWL_OLEFRAME_H)
# include <owl/oleframe.h>
#endif
#if !defined(OWL_MDI_H)
# include <owl/mdi.h>
#endif
//
// class TOleMDIFrame
// ----- ------------
//
// Decorated MDI frame that supports OLE 2 using OCF
//
class _USERCLASS TOleMDIFrame : public TOleFrame, public TMDIFrame {
public:
TOleMDIFrame(const char far* title,
TResId menuResId,
TMDIClient& clientWnd = *new TMDIClient,
bool trackMenuSelection = false,
TModule* module = 0);
~TOleMDIFrame();
protected:
LRESULT DefWindowProc(uint message, WPARAM wParam, LPARAM lParam);
bool EvOcAppInsMenus(TOcMenuDescr far& sharedMenu);
void EvActivateApp(bool active, HTASK hTask);
DECLARE_RESPONSE_TABLE(TOleMDIFrame);
};
#endif // OWL_OLEMDIFR_H