ExpandingDialog.h
资源名称:GGBT.rar [点击查看]
上传用户:lds876
上传日期:2013-05-25
资源大小:567k
文件大小:2k
源码类别:
P2P编程
开发平台:
Visual C++
- #if !defined(AFX_EXPANDINGDIALOG_H__1D238CCB_4946_47B8_A9E9_386BB388B9F8__INCLUDED_)
- #define AFX_EXPANDINGDIALOG_H__1D238CCB_4946_47B8_A9E9_386BB388B9F8__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // ExpandingDialog.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CExpandingDialog dialog
- class CExpandingDialog : public CDialog
- {
- // Construction
- public:
- CExpandingDialog(UINT nIDTemplate, CWnd* pParent = NULL); // standard constructor
- BOOL IsExpanded() const {return m_bExpanded;};
- BOOL Expand(BOOL bExpand);
- // Dialog Data
- //{{AFX_DATA(CExpandingDialog)
- // NOTE: the ClassWizard will add data members here
- //}}AFX_DATA
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CExpandingDialog)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CExpandingDialog)
- virtual BOOL OnInitDialog();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- void ExpandBox(BOOL fExpand);
- BOOL m_bExpanded;
- UINT m_nIDButton;
- CString m_strExpand;
- CSize m_Size;
- CSize m_SizeBox;
- void OnClickAdvanced();
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_EXPANDINGDIALOG_H__1D238CCB_4946_47B8_A9E9_386BB388B9F8__INCLUDED_)