Annotation of mstools/mfc/samples/mdi/hello.h, revision 1.1

1.1     ! root        1: // hello.h : Declares the class interfaces for the Hello child window.
        !             2: //
        !             3: // This is a part of the Microsoft Foundation Classes C++ library.
        !             4: // Copyright (C) 1992 Microsoft Corporation
        !             5: // All rights reserved.
        !             6: //
        !             7: // This source code is only intended as a supplement to the
        !             8: // Microsoft Foundation Classes Reference and Microsoft
        !             9: // QuickHelp documentation provided with the library.
        !            10: // See these sources for detailed information regarding the
        !            11: // Microsoft Foundation Classes product.
        !            12: //
        !            13: 
        !            14: #ifndef __HELLO_H__
        !            15: #define __HELLO_H__
        !            16: 
        !            17: /////////////////////////////////////////////////////////////////////////////
        !            18: 
        !            19: // class CHelloWnd
        !            20: 
        !            21: class CHelloWnd : public CMDIChildWnd
        !            22: {
        !            23: private:
        !            24:        short m_nColor;
        !            25:        COLORREF m_clrText;
        !            26:        CMenu* m_pMenuCurrent;
        !            27:        BOOL m_bWindowActive;
        !            28: 
        !            29: public:
        !            30:        BOOL Create(LPCSTR szTitle, LONG style = 0,
        !            31:                                const RECT& rect = rectDefault,
        !            32:                                CMDIFrameWnd* pParent = NULL);
        !            33: 
        !            34:        CHelloWnd();
        !            35:        virtual ~CHelloWnd();
        !            36: 
        !            37:        // message handlers
        !            38: 
        !            39:        afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
        !            40:        afx_msg void OnDestroy();
        !            41:        afx_msg void OnPaint();
        !            42:        afx_msg void OnMDIActivate(BOOL bActivate,
        !            43:                                        CWnd* pActivateWnd, CWnd* pDeactivateWnd);
        !            44: 
        !            45:        afx_msg void OnColor();
        !            46: 
        !            47:        DECLARE_MESSAGE_MAP()
        !            48: };
        !            49: 
        !            50: /////////////////////////////////////////////////////////////////////////////
        !            51: 
        !            52: #endif // __HELLO_H__
        !            53: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.