DIALOG.H
资源名称:MSDN_VC98.zip [点击查看]
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:2k
源码类别:
Windows编程
开发平台:
Visual C++
- // $$dlg_hfile$$.h : header file
- //
- // This is a part of the Microsoft Foundation Classes C++ library.
- // Copyright (C) 1995-1998 Microsoft Corporation
- // All rights reserved.
- //
- // This source code is only intended as a supplement to the
- // Microsoft Foundation Classes Reference and related
- // electronic documentation provided with the library.
- // See these sources for detailed information regarding the
- // Microsoft Foundation Classes product.
- #if !defined($$FILE_NAME_SYMBOL$$_INCLUDED_)
- #define $$FILE_NAME_SYMBOL$$_INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- $$IF(AUTOMATION)
- class $$DLGAUTOPROXY_CLASS$$;
- $$ENDIF //AUTOMATION
- /////////////////////////////////////////////////////////////////////////////
- // $$DLG_CLASS$$ dialog
- class $$DLG_CLASS$$ : public $$DLG_BASE_CLASS$$
- {
- $$IF(AUTOMATION)
- DECLARE_DYNAMIC($$DLG_CLASS$$);
- friend class $$DLGAUTOPROXY_CLASS$$;
- $$ENDIF
- // Construction
- public:
- $$DLG_CLASS$$(CWnd* pParent = NULL); // standard constructor
- $$IF(AUTOMATION)
- virtual ~$$DLG_CLASS$$();
- $$ENDIF
- // Dialog Data
- //{{AFX_DATA($$DLG_CLASS$$)
- enum { IDD = IDD_$$SAFE_ROOT$$_DIALOG };
- // NOTE: the ClassWizard will add data members here
- //}}AFX_DATA
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL($$DLG_CLASS$$)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- $$IF(AUTOMATION)
- $$DLGAUTOPROXY_CLASS$$* m_pAutoProxy;
- $$ENDIF
- HICON m_hIcon;
- $$IF(AUTOMATION)
- BOOL CanExit();
- $$ENDIF //AUTOMATION
- // Generated message map functions
- //{{AFX_MSG($$DLG_CLASS$$)
- virtual BOOL OnInitDialog();
- $$IF(ABOUT)
- afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
- $$ENDIF
- $$IF(HELP)
- afx_msg void OnDestroy();
- $$ENDIF
- $$IF(PRESS_ME_DIALOG)
- afx_msg void OnPressMe();
- $$ENDIF
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- $$IF(AUTOMATION)
- afx_msg void OnClose();
- virtual void OnOK();
- virtual void OnCancel();
- $$ENDIF //AUTOMATION
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // $$INSERT_LOCATION_COMMENT$$
- #endif // !defined($$FILE_NAME_SYMBOL$$_INCLUDED_)