FlowPage.cpp
上传用户:hjw22cn
上传日期:2007-01-11
资源大小:192k
文件大小:2k
- // FlowPage.cpp : implementation file
- //
- #include "stdafx.h"
- #include "formview.h"
- #include "FlowPage.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CFlowPage property page
- IMPLEMENT_DYNCREATE(CFlowPage, CPageBase)
- CFlowPage::CFlowPage() : CPageBase(CFlowPage::IDD)
- {
- //{{AFX_DATA_INIT(CFlowPage)
- // NOTE: the ClassWizard will add member initialization here
- //}}AFX_DATA_INIT
- }
- CFlowPage::~CFlowPage()
- {
- }
- void CFlowPage::DoDataExchange(CDataExchange* pDX)
- {
- CPageBase::DoDataExchange(pDX);
- //{{AFX_DATA_MAP(CFlowPage)
- DDX_Control(pDX, IDC_LIST1, m_ctrlList);
- //}}AFX_DATA_MAP
- }
- BEGIN_MESSAGE_MAP(CFlowPage, CPageBase)
- //{{AFX_MSG_MAP(CFlowPage)
- ON_WM_SIZE()
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CFlowPage message handlers
- BOOL CFlowPage::OnInitDialog()
- {
- CPageBase::OnInitDialog();
-
- // TODO: Add extra initialization here
- m_ctrlList.InsertColumn(0, "Application", LVCFMT_CENTER, 200);
- m_ctrlList.InsertColumn(1, "Started", LVCFMT_CENTER, 120);
- m_ctrlList.InsertColumn(2, "Msgs", LVCFMT_CENTER, 60 );
- m_ctrlList.InsertColumn(3, "Last Recieved", LVCFMT_CENTER, 120);
- AddAnchor(IDC_LIST1, TOP_LEFT, BOTTOM_RIGHT);
-
- return TRUE; // return TRUE unless you set the focus to a control
- // EXCEPTION: OCX Property Pages should return FALSE
- }
- void CFlowPage::OnSize(UINT nType, int cx, int cy)
- {
- CPageBase::OnSize(nType, cx, cy);
-
-
-
- }