Click here to Skip to main content
15,895,084 members
Articles / Programming Languages / C++/CLI

The Life of a Project - Issue Tracking: Day 4

Rate me:
Please Sign up or sign in to vote.
4.89/5 (35 votes)
13 Jun 200322 min read 103.1K   319   110  
A detailed look at the evolution of a project from concept to product. (This is the fourth installment of what should be several more articles.)
// PrPgFixABug.cpp : implementation file
//

#include "stdafx.h"
#include "Sample1.h"
#include "PrPgFixABug.h"


// CPrPgFixABug dialog

IMPLEMENT_DYNAMIC(CPrPgFixABug, CPropertyPage)
CPrPgFixABug::CPrPgFixABug()
	: CPropertyPage(CPrPgFixABug::IDD)
{
}

CPrPgFixABug::~CPrPgFixABug()
{
}

void CPrPgFixABug::DoDataExchange(CDataExchange* pDX)
{
	CPropertyPage::DoDataExchange(pDX);
	DDX_Control(pDX, IDC_LIST1, m_wndBugs);
	DDX_Control(pDX, IDC_LIST2, m_wndFiles);
}


BEGIN_MESSAGE_MAP(CPrPgFixABug, CPropertyPage)
END_MESSAGE_MAP()


// CPrPgFixABug message handlers
BOOL CPrPgFixABug::OnInitDialog() 
{
	CPropertyPage::OnInitDialog();
	
	m_wndDateEdit.AttachEdit(this, IDC_DATE);
	m_wndDateEdit.SetShowPickerButton(TRUE);

	m_wndBugs.SetExtendedStyle(LVS_EX_CHECKBOXES | LVS_EX_FULLROWSELECT | LVS_EX_GRIDLINES);
	m_wndBugs.InsertColumn(0, "Group(s)", LVCFMT_LEFT, 100);
	m_wndBugs.InsertColumn(1, "Reported by", LVCFMT_LEFT, 100);
	m_wndBugs.InsertColumn(2, "Reported on", LVCFMT_LEFT, 100);
	m_wndBugs.InsertColumn(3, "Category", LVCFMT_LEFT, 100);
	m_wndBugs.InsertColumn(4, "Description", LVCFMT_LEFT, 100);

	int iItem = m_wndBugs.InsertItem(0, "Group 1", 0);

	m_wndFiles.SetExtendedStyle(LVS_EX_CHECKBOXES | LVS_EX_FULLROWSELECT | LVS_EX_GRIDLINES);
	m_wndFiles.InsertColumn(0, "Type", LVCFMT_LEFT, 100);
	m_wndFiles.InsertColumn(1, "Modified on", LVCFMT_LEFT, 100);
	m_wndFiles.InsertColumn(2, "Descrption", LVCFMT_LEFT, 100);

	m_wndFiles.InsertItem(0, "Project", 0);

	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

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.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions