|
#if !defined(AFX_SYSINFODIALOG_H__266F38B4_4D6E_11D2_A730_525400DAF3CE__INCLUDED_)
#define AFX_SYSINFODIALOG_H__266F38B4_4D6E_11D2_A730_525400DAF3CE__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// SysInfoDialog.h : header file
//
#include "PageDialog.h"
#include "OXTreeCtrl.h"
#include "OXLayoutManager.h"
/////////////////////////////////////////////////////////////////////////////
// CSysInfoDialog dialog
class CSysInfoDialog : public CPageDialog
{
// Construction
public:
CSysInfoDialog(); // standard constructor
// Dialog Data
//{{AFX_DATA(CSysInfoDialog)
enum { IDD = IDD_SYSINFO_DIALOG };
CSpinButtonCtrl m_spinExpandLevel;
CEdit m_editExpandLevel;
COXTreeCtrl m_tree;
UINT m_nExpandLevel;
int m_nExpandType;
BOOL m_bShowPrinters;
//}}AFX_DATA
protected:
void PopulateTree();
void ExpandTree(int nExpandLevel=-1, HTREEITEM htiParent=NULL);
HTREEITEM InsertItem(CString sItem, HTREEITEM htiParent=NULL, int nImage=-1,
CFont* pFont=NULL, COLORREF clr=CLR_NONE);
public:
virtual BOOL IsRefreshAvailable() { return TRUE; }
virtual void Refresh();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSysInfoDialog)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
CImageList m_ilTree;
COXLayoutManager m_LayoutManager;
protected:
virtual void OnInitDialog();
void ShowControls();
// Generated message map functions
//{{AFX_MSG(CSysInfoDialog)
afx_msg void OnRadioExpandall();
afx_msg void OnRadioExpandlevel();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SYSINFODIALOG_H__266F38B4_4D6E_11D2_A730_525400DAF3CE__INCLUDED_)
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
In January 2005, David Cunningham and Chris Maunder created TheUltimateToolbox.com, a new group dedicated to the continued development, support and growth of Dundas Software’s award winning line of MFC, C++ and ActiveX control products.
Ultimate Grid for MFC, Ultimate Toolbox for MFC, and Ultimate TCP/IP have been stalwarts of C++/MFC development for a decade. Thousands of developers have used these products to speed their time to market, improve the quality of their finished products, and enhance the reliability and flexibility of their software.