home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 13
/
mediashare_13.zip
/
mediashare_13
/
ZIPPED
/
PROGRAM
/
WTJ9403.ZIP
/
WILDASS
/
SOURCE
/
FAKECPTN.H
< prev
next >
Wrap
C/C++ Source or Header
|
1993-08-01
|
704b
|
34 lines
// fakecptn.h
//
// interface to a simple class defining a window that is
// not resizable and has a fake caption bar and system menu box.
//
// update: 1.00 28-Jul-93 tw
#ifndef _INC_FAKECAPTN
#define _INC_FAKECAPTN
#define new DEBUG_NEW
class CFakeWnd : public CFrameWnd
{
protected:
CRect * m_pRectCaption; // sizeof caption
CRect * m_pRectSysMenu; // sizeof of close box
public:
CFakeWnd();
~CFakeWnd();
protected:
afx_msg UINT OnNcHitTest( CPoint pnt );
afx_msg void OnPaint();
afx_msg void OnActivateApp( BOOL bActive, HTASK hTask );
DECLARE_MESSAGE_MAP()
};
#endif // _INC_FAKECAPTN