Click here to Skip to main content
15,894,343 members
Articles / Desktop Programming / ATL

ATL COM Based Addin / Plugin Framework With Dynamic Toolbars and Menus

Rate me:
Please Sign up or sign in to vote.
4.86/5 (35 votes)
9 Dec 20043 min read 164.9K   3.2K   96  
An article on ATL COM Based Addin / Plugin Framework With Dynamic Toolbars and Menus, based on VC++ Addin Architecture.
// ListSalesDlg.cpp : implementation file
//

#include "stdafx.h"
#include "resource.h"
#include "ListSalesDlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CListSalesDlg dialog


CListSalesDlg::CListSalesDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CListSalesDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(CListSalesDlg)
	m_strHeading1 = _T("");
	m_strHeading2 = _T("");
	m_strHeading3 = _T("");
	//}}AFX_DATA_INIT
}


void CListSalesDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CListSalesDlg)
	DDX_Text(pDX, IDC_EDIT_HEADING_1, m_strHeading1);
	DDX_Text(pDX, IDC_EDIT_HEADING_2, m_strHeading2);
	DDX_Text(pDX, IDC_EDIT_HEADING_3, m_strHeading3);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CListSalesDlg, CDialog)
	//{{AFX_MSG_MAP(CListSalesDlg)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CListSalesDlg message handlers

void CListSalesDlg::OnOK() 
{
	UpdateData();	
	CDialog::OnOK();
}

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
Chief Technology Officer KTS INFOTECH PVT LTD
India India
->9+ Years of Experience in IT Field.
->Basically a C++ Programmer migrating to .NET
->Have Masters degree in Physics and Computer Scince.
-> Doing his Ph.D(Part Time) in Optical Networking)
->Interests: Software product development,Networking, Robotics,Sports Physics, Learning musical instruments, Cricket.

->Resides in kerala ,the gods own country, with his mother and wife.

Home page


Comments and Discussions