PEDREQPG.H
资源名称:MSDN_VC98.zip [点击查看]
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:2k
源码类别:
Windows编程
开发平台:
Visual C++
- #if !defined(AFX_PROPERTYEDITREQUESTSPAGE_H__E3C35167_EC02_11D0_8E1D_00C04FB68D60__INCLUDED_)
- #define AFX_PROPERTYEDITREQUESTSPAGE_H__E3C35167_EC02_11D0_8E1D_00C04FB68D60__INCLUDED_
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
- // PropertyEditRequestsPage.H : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CPropertyEditRequestsPage dialog
- class CPropertyEditRequestsPage :
- public CPropertyPage
- {
- DECLARE_DYNCREATE( CPropertyEditRequestsPage )
- public:
- class CPropertyInfo
- {
- public:
- CPropertyInfo();
- CPropertyInfo( LPCTSTR pszName, BOOL tLogged, int iResponse );
- public:
- CString m_strName;
- BOOL m_tLogged;
- int m_iResponse;
- };
- // Construction
- public:
- CPropertyEditRequestsPage();
- // Dialog Data
- //{{AFX_DATA(CPropertyEditRequestsPage)
- enum { IDD = IDD_CONTROLLOGGING_PROPERTYEDITREQUESTS };
- CCheckListBox m_lbProperties;
- int m_iAllowEdit;
- //}}AFX_DATA
- CArray< CPropertyInfo, CPropertyInfo& > m_aProperties;
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CPropertyEditRequestsPage)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- int GetSelectionResponse();
- void SetSelectionResponse( int iResponse );
- // Generated message map functions
- //{{AFX_MSG(CPropertyEditRequestsPage)
- virtual BOOL OnInitDialog();
- afx_msg void OnPropertiesSelChange();
- afx_msg void OnAlways();
- afx_msg void OnNever();
- afx_msg void OnPrompt();
- afx_msg void OnSelectAll();
- afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
- afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_PROPERTYEDITREQUESTSPAGE_H__E3C35167_EC02_11D0_8E1D_00C04FB68D60__INCLUDED_)