Click here to Skip to main content
15,884,889 members
Articles / Desktop Programming / MFC

CMenuXP - The Office XP Style Menu

Rate me:
Please Sign up or sign in to vote.
4.94/5 (114 votes)
13 Jul 2003CPOL2 min read 1.3M   27.9K   242  
Owner drawn menu with the Office XP visual style
// CntrItem.cpp : implementation of the CDemoCntrItem class
//

#include "stdafx.h"
#include "Demo.h"

#include "DemoDoc.h"
#include "DemoView.h"
#include "CntrItem.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#endif


// CDemoCntrItem implementation

IMPLEMENT_SERIAL(CDemoCntrItem, CRichEditCntrItem, 0)

CDemoCntrItem::CDemoCntrItem(REOBJECT* preo, CDemoDoc* pContainer)
	: CRichEditCntrItem(preo, pContainer)
{
	// TODO: add one-time construction code here
}

CDemoCntrItem::~CDemoCntrItem()
{
	// TODO: add cleanup code here
}


// CDemoCntrItem diagnostics

#ifdef _DEBUG
void CDemoCntrItem::AssertValid() const
{
	CRichEditCntrItem::AssertValid();
}

void CDemoCntrItem::Dump(CDumpContext& dc) const
{
	CRichEditCntrItem::Dump(dc);
}
#endif

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, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer CSC
France France
Jean-Michel LE FOL is a GraphTalk product architect.
GraphTalk is a set of products which cover the whole scope of the development process. GraphTalk is used by the main insurance compagnies over the world.
The development team is currently based in France near Paris.

Comments and Discussions